[Fontconfig] fontconfig 2.4 brance, gnome-terminal crashes

sunmoon1997 sunmoon1997 at gmail.com
Sat Oct 15 18:41:30 EST 2005

ok, I have tried fontconfg cvs without my patch, but it didn't help.
Later I found that I misspelled hinting as hint in my fonts.conf.
It's no problem now after changing hint to hinting.:)
Patrick Lam wrote:

>Please try this without your patch and tell me what happens.
>sunmoon1997 wrote:
>>Today I tried fontconfig 2.4 brance, and applied my patch(see
>>attachment). Most of apps run fine, but gnome-terminal crashed.
>>(gdb) r
>>Starting program: /usr/bin/gnome-terminal
>>(no debugging symbols found)
>>[Thread debugging using libthread_db enabled]
>>[New Thread -1225836880 (LWP 6709)]
>>*** glibc detected *** /usr/bin/gnome-terminal: corrupted double-linked
>>list: 0x08151030 ***
>>(gdb) bt
>>#0 0xffffe410 in __kernel_vsyscall ()
>>#1 0xb701549d in raise () from /lib/libc.so.6
>>#2 0xb7016ab3 in abort () from /lib/libc.so.6
>>#3 0xb704850b in __fsetlocking () from /lib/libc.so.6
>>#4 0xb704de7c in malloc_usable_size () from /lib/libc.so.6
>>#5 0xb704e013 in malloc_usable_size () from /lib/libc.so.6
>>#6 0xb704ebbb in free () from /lib/libc.so.6
>>#7 0xb70500ad in malloc () from /lib/libc.so.6
>>#8 0xb6fd957e in XcursorImageCreate () from /usr/lib/libXcursor.so.1
>>#9 0xb6fd9e0b in XcursorCommentsDestroy () from /usr/lib/libXcursor.so.1
>>#10 0xb6fd9f93 in XcursorXcFileLoadImages () from /usr/lib/libXcursor.so.1
>>#11 0xb6fda90a in XcursorFileLoadImages () from /usr/lib/libXcursor.so.1
>>#12 0xb6fdb5eb in XcursorLibraryLoadImages () from /usr/lib/libXcursor.so.1
>>#13 0xb6fdb80e in XcursorShapeLoadImages () from /usr/lib/libXcursor.so.1
>>#14 0xb6fdb989 in XcursorTryShapeCursor () from /usr/lib/libXcursor.so.1
>>#15 0xb774d067 in XCreateGlyphCursor () from /usr/lib/libX11.so.6
>>#16 0xb774d4e3 in XCreateFontCursor () from /usr/lib/libX11.so.6
>>#17 0xb78ee478 in gdk_cursor_new_for_display ()
>>Obviously memory got corrupted, but I don't know who cause this, vte,
>>pango, fontconfig or my patch, I'll try remove my patch and see what
>>happens tomorrow.
>>ps. It seems fontconfig runs faster now.

More information about the Fontconfig mailing list