Program received signal SIGABRT, Aborted.
[Switching to Thread -1297544272 (LWP 2694)]
0xffffe410 in __kernel_vsyscall ()
The full backtrace is as follows:
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73519a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb73532b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb734af51 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0xb6ebd895 in _cairo_ft_unscaled_font_set_scale (unscaled=0x8a2bf38,
scale=<value optimized out>) at cairo-ft-font.c:683
#5 0xb6ebf102 in cairo_ft_scaled_font_lock_face (abstract_font=0x830a638)
at cairo-ft-font.c:2426
#6 0xb6f91260 in pango_cairo_fc_font_get_type ()
from /usr/lib/libpangocairo-1.0.so.0
#7 0xb6c183cc in pango_fc_font_lock_face () from /usr/lib/libpangoft2-1.0.so.0
#8 0xb6a8e018 in ?? () from /usr/lib/pango/1.5.0/modules/pango-basic-fc.so
#9 0x0830a800 in ?? ()
#10 0x00000430 in ?? ()
#11 0xb7455320 in __malloc_initialize_hook () from /lib/tls/i686/cmov/libc.so.6
#12 0xb2a8fde0 in ?? ()
#13 0xb74477ed in in6addr_any () from /lib/tls/i686/cmov/libc.so.6
#14 0xb6d6d234 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0xb2a8fdd8 in ?? ()
#16 0xb7455358 in __malloc_initialize_hook () from /lib/tls/i686/cmov/libc.so.6
#17 0x081135e0 in ?? ()
#18 0x00000008 in ?? ()
#19 0xb738ba64 in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
#20 0xb6f0cfb3 in pango_engine_shape_get_type ()
from /usr/lib/libpango-1.0.so.0
#21 0xb6f1c2b4 in pango_shape () from /usr/lib/libpango-1.0.so.0
#22 0xb6f0fe6f in pango_layout_line_index_to_x ()
from /usr/lib/libpango-1.0.so.0
#23 0xb6f12fbb in pango_layout_iter_get_char_extents ()
from /usr/lib/libpango-1.0.so.0
#24 0xb6f13515 in pango_layout_iter_get_char_extents ()
from /usr/lib/libpango-1.0.so.0
#25 0xb6f13e6c in pango_layout_iter_get_char_extents ()
from /usr/lib/libpango-1.0.so.0
#26 0xb6f14cfa in pango_layout_get_pixel_size ()
from /usr/lib/libpango-1.0.so.0
#27 0xb77ae4c9 in wxWindowDC::GetCharHeight ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#28 0xb78e9462 in wxGenericTreeCtrl::CalculateLineHeight ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb78e96d1 in wxGenericTreeCtrl::SetImageList ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#30 0xb3adbf62 in ClassBrowserBuilderThread::BuildTree (this=0x8640f88)
at classbrowserbuilderthread.cpp:97
#31 0xb3adc173 in ClassBrowserBuilderThread::Entry (this=0x8640f88)
at classbrowserbuilderthread.cpp:85
---Type <return> to continue, or q <return> to quit---
#32 0xb7632bf0 in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_baseu-2.6.so.0
#33 0xb7632c63 in wxPthreadStart () from /usr/lib/libwx_baseu-2.6.so.0
#34 0xb7562341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#35 0xb73f24ee in clone () from /lib/tls/i686/cmov/libc.so.6
I have compiled and installed libcairo 1.2.4 from source. I have verified that
the host application, Code::Blocks, is using the library with...
kip@kip-laptop:~$ ldd /usr/local/ bin/codeblocks | grep -i cairo
libpangocairo- 1.0.so. 0 => /usr/lib/ libpangocairo- 1.0.so. 0 (0xb6ef1000)
libcairo. so.2 => /usr/local/ lib/libcairo. so.2 (0xb6e01000)
Executing codeblocks from gdb gives me...
(gdb) run bin/codeblocks font.c: 683: _cairo_ ft_unscaled_ font_set_ scale: Assertion font.c: 683: _cairo_ ft_unscaled_ font_set_ scale: Assertion
Starting program: /usr/local/
[Thread debugging using libthread_db enabled]
[New Thread -1229293888 (LWP 2548)]
[New Thread -1244337232 (LWP 2683)]
[New Thread -1252729936 (LWP 2684)]
[New Thread -1261122640 (LWP 2685)]
[New Thread -1269515344 (LWP 2686)]
[New Thread -1280705616 (LWP 2687)]
[New Thread -1297544272 (LWP 2694)]
codeblocks: cairo-ft-
`error == 0' failed.
codeblocks: cairo-ft-
`error == 0' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1297544272 (LWP 2694)]
0xffffe410 in __kernel_vsyscall ()
The full backtrace is as follows:
#0 0xffffe410 in __kernel_vsyscall () i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 ft_unscaled_ font_set_ scale (unscaled= 0x8a2bf38, scaled_ font_lock_ face (abstract_ font=0x830a638) font.c: 2426 fc_font_ get_type () libpangocairo- 1.0.so. 0 font_lock_ face () from /usr/lib/ libpangoft2- 1.0.so. 0 pango/1. 5.0/modules/ pango-basic- fc.so initialize_ hook () from /lib/tls/ i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 libglib- 2.0.so. 0 initialize_ hook () from /lib/tls/ i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 shape_get_ type () libpango- 1.0.so. 0 libpango- 1.0.so. 0 line_index_ to_x () libpango- 1.0.so. 0 iter_get_ char_extents () libpango- 1.0.so. 0 iter_get_ char_extents () libpango- 1.0.so. 0 iter_get_ char_extents () libpango- 1.0.so. 0 get_pixel_ size () libpango- 1.0.so. 0 :GetCharHeight () libwx_gtk2u_ core-2. 6.so.0 rl::CalculateLi neHeight () libwx_gtk2u_ core-2. 6.so.0 rl::SetImageLis t () libwx_gtk2u_ core-2. 6.so.0 lderThread: :BuildTree (this=0x8640f88) lderthread. cpp:97 lderThread: :Entry (this=0x8640f88) lderthread. cpp:85 l::PthreadStart () libwx_baseu- 2.6.so. 0 libwx_baseu- 2.6.so. 0 i686/cmov/ libpthread. so.0 i686/cmov/ libc.so. 6
#1 0xb73519a1 in raise () from /lib/tls/
#2 0xb73532b9 in abort () from /lib/tls/
#3 0xb734af51 in __assert_fail () from /lib/tls/
#4 0xb6ebd895 in _cairo_
scale=<value optimized out>) at cairo-ft-font.c:683
#5 0xb6ebf102 in cairo_ft_
at cairo-ft-
#6 0xb6f91260 in pango_cairo_
from /usr/lib/
#7 0xb6c183cc in pango_fc_
#8 0xb6a8e018 in ?? () from /usr/lib/
#9 0x0830a800 in ?? ()
#10 0x00000430 in ?? ()
#11 0xb7455320 in __malloc_
#12 0xb2a8fde0 in ?? ()
#13 0xb74477ed in in6addr_any () from /lib/tls/
#14 0xb6d6d234 in ?? () from /usr/lib/
#15 0xb2a8fdd8 in ?? ()
#16 0xb7455358 in __malloc_
#17 0x081135e0 in ?? ()
#18 0x00000008 in ?? ()
#19 0xb738ba64 in malloc_usable_size () from /lib/tls/
---Type <return> to continue, or q <return> to quit---
#20 0xb6f0cfb3 in pango_engine_
from /usr/lib/
#21 0xb6f1c2b4 in pango_shape () from /usr/lib/
#22 0xb6f0fe6f in pango_layout_
from /usr/lib/
#23 0xb6f12fbb in pango_layout_
from /usr/lib/
#24 0xb6f13515 in pango_layout_
from /usr/lib/
#25 0xb6f13e6c in pango_layout_
from /usr/lib/
#26 0xb6f14cfa in pango_layout_
from /usr/lib/
#27 0xb77ae4c9 in wxWindowDC:
from /usr/lib/
#28 0xb78e9462 in wxGenericTreeCt
from /usr/lib/
#29 0xb78e96d1 in wxGenericTreeCt
from /usr/lib/
#30 0xb3adbf62 in ClassBrowserBui
at classbrowserbui
#31 0xb3adc173 in ClassBrowserBui
at classbrowserbui
---Type <return> to continue, or q <return> to quit---
#32 0xb7632bf0 in wxThreadInterna
from /usr/lib/
#33 0xb7632c63 in wxPthreadStart () from /usr/lib/
#34 0xb7562341 in start_thread () from /lib/tls/
#35 0xb73f24ee in clone () from /lib/tls/