Keith Packard
2005-Nov-21 08:51 UTC
[Fontconfig] fontconfig 2.4 brance, gnome-terminal crashes
On Sat, 2005-10-15 at 16:41 +0800, sunmoon1997 wrote:> 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.:)Have you tried running under valgrind to see if it can help locate the corruption? -keith -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051015/a3ad1729/attachment.pgp
sunmoon1997
2005-Nov-21 08:51 UTC
[Fontconfig] Re: fontconfig 2.4 brance, gnome-terminal crashes
gnome-terminal runs now with setting env var VTE_USE_XFT to 0. sunmoon1997 wrote:> hi, > 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 *** > [snip...] > (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. > > > > >
sunmoon1997
2005-Nov-21 08:51 UTC
[Fontconfig] fontconfig 2.4 brance, gnome-terminal crashes
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. > >pat > >sunmoon1997 wrote: > > >>hi, >>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 *** >>[snip...] >>(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. >> >> >> >> >> >> >>
sunmoon1997
2005-Nov-21 08:51 UTC
[Fontconfig] fontconfig 2.4 brance, gnome-terminal crashes
hi, 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 *** [snip...] (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