[Fontconfig] fontconfig 2.4 brance, gnome-terminal crashes

sunmoon1997 sunmoon1997 at gmail.com
Fri Oct 14 23:19:28 EST 2005

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontconfig-2.3.91.patch
Type: text/x-patch
Size: 7921 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051014/281fd1fa/fontconfig-2.3.91.bin

More information about the Fontconfig mailing list