GNOME Bugzilla – Bug 476468
gthumb-2.8.1+ - double free or corruption on clicking Close on titlebar
Last modified: 2008-04-11 14:39:50 UTC
Steps to reproduce: run gthumb press button Close on titlebar exit corrupt Stack trace: (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): GConf-CRITICAL **: ltable_remove: assertion `node != NULL' failed (gthumb:1888): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed (gthumb:1888): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `ImageViewer' (gthumb:1888): Gdk-CRITICAL **: gdk_window_get_state: assertion `GDK_IS_WINDOW (window)' failed (gthumb:1888): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkPaned' (gthumb:1888): Gtk-CRITICAL **: gtk_paned_get_position: assertion `GTK_IS_PANED (paned)' failed (gthumb:1888): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkPaned' (gthumb:1888): Gtk-CRITICAL **: gtk_paned_get_position: assertion `GTK_IS_PANED (paned)' failed (gthumb:1888): Gdk-CRITICAL **: gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed (gthumb:1888): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkPaned' (gthumb:1888): Gtk-CRITICAL **: gtk_paned_get_position: assertion `GTK_IS_PANED (paned)' failed (gthumb:1888): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed *** glibc detected *** /usr/bin/gthumb: corrupted double-linked list: 0x0000555555b772e0 *** ======= Backtrace: ========= /lib/libc.so.6[0x2b3b54c0b760] /lib/libc.so.6[0x2b3b54c0b920] /lib/libc.so.6[0x2b3b54c0c604] /lib/libc.so.6(malloc+0x92)[0x2b3b54c0db44] /lib/libc.so.6[0x2b3b54c2e80f] /lib/libc.so.6(opendir+0x58)[0x2b3b54c2e8d9] /usr/lib64/gnome-vfs-2.0/modules/libfile.so[0x2b3b5703f703] /usr/lib/libgnomevfs-2.so.0[0x2b3b522645a7] /usr/lib/libgnomevfs-2.so.0(gnome_vfs_directory_open+0x64)[0x2b3b5226469a] /usr/lib/libgnomevfs-2.so.0(gnome_vfs_directory_list_load+0x26)[0x2b3b522651e7] /usr/lib/libgthumb.so(path_list_new+0x70)[0x2b3b511dbc9e] /usr/lib/libgthumb.so(free_cache+0x59)[0x2b3b511e174a] /usr/lib/libgthumb.so(gthumb_release+0x44)[0x2b3b51205294] /usr/bin/gthumb[0x5555555e054f] /usr/bin/gthumb(main+0x1bd)[0x5555555e0c5f] /lib/libc.so.6(__libc_start_main+0xf6)[0x2b3b54bbf34e] /usr/bin/gthumb[0x555555580479] ======= Memory map: ======== 40000000-40001000 ---p 40000000 00:00 0 40001000-40081000 rw-p 40001000 00:00 0 40081000-40082000 ---p 40081000 00:00 0 40082000-40102000 rw-p 40082000 00:00 0 40102000-40103000 ---p 40102000 00:00 0 40103000-40183000 rw-p 40103000 00:00 0 40183000-40184000 ---p 40183000 00:00 0 40184000-40204000 rw-p 40184000 00:00 0 40204000-40205000 ---p 40204000 00:00 0 40205000-40285000 rw-p 40205000 00:00 0 40285000-40286000 ---p 40285000 00:00 0 40286000-40a86000 rw-p 40286000 00:00 0 2b3b5107a000-2b3b51095000 r-xp 00000000 08:01 198304 /lib64/ld-2.5.so 2b3b51095000-2b3b510f5000 rw-s 00000000 00:08 1351450654 /SYSV00000000 (deleted) 2b3b510f5000-2b3b5111b000 r--p 00000000 08:01 330030 /usr/share/fonts/corefonts/verdanai.ttf 2b3b5111b000-2b3b51124000 r--p 00000000 08:01 99457 /usr/share/locale/ru/LC_MESSAGES/gnome-vfs-2.0.mo 2b3b51194000-2b3b51195000 r--p 0001a000 08:01 198304 /lib64/ld-2.5.so 2b3b51195000-2b3b51196000 rw-p 0001b000 08:01 198304 /lib64/ld-2.5.so 2b3b51196000-2b3b51197000 rw-p 2b3b51196000 00:00 0 2b3b51197000-2b3b51198000 r--p 00000000 08:01 2687417 /usr/lib64/locale/ru_RU.utf8/LC_IDENTIFICATION 2b3b51198000-2b3b5119f000 r--s 00000000 08:01 2637883 /usr/lib64/gconv/gconv-modules.cache 2b3b5119f000-2b3b511a0000 r--p 00000000 08:01 2687416 /usr/lib64/locale/ru_RU.utf8/LC_MEASUREMENT 2b3b511a0000-2b3b511a1000 r--p 00000000 08:01 2687415 /usr/lib64/locale/ru_RU.utf8/LC_TELEPHONE 2b3b511a1000-2b3b511a2000 r--p 00000000 08:01 2687414 /usr/lib64/locale/ru_RU.utf8/LC_ADDRESS 2b3b511a2000-2b3b511a3000 r--p 00000000 08:01 2687413 /usr/lib64/locale/ru_RU.utf8/LC_NAME 2b3b511a3000-2b3b511a4000 r--p 00000000 08:01 2687412 /usr/lib64/locale/ru_RU.utf8/LC_PAPER 2b3b511a4000-2b3b511a5000 r--p 00000000 08:01 2687411 /usr/lib64/locale/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 2b3b511a5000-2b3b511a6000 r--p 00000000 08:01 2687409 /usr/lib64/locale/ru_RU.utf8/LC_MONETARY 2b3b511a6000-2b3b5127d000 r-xp 00000000 08:01 426772 /usr/lib64/libgthumb.so 2b3b5127d000-2b3b5137d000 ---p 000d7000 08:01 426772 /usr/lib64/libgthumb.so 2b3b51382000-2b3b51383000 rw-p 2b3b51382000 00:00 0 2b3b51383000-2b3b5142b000 r-xp 00000000 08:01 115065 /usr/lib64/libgnomeui-2.so.0.1600.1 2b3b5142b000-2b3b5152a000 ---p 000a8000 08:01 115065 /usr/lib64/libgnomeui-2.so.0.1600.1 2b3b5152a000-2b3b5152e000 r--p 000a7000 08:01 115065 /usr/lib64/libgnomeui-2.so.0.1600.1 2b3b5152e000-2b3b51531000 rw-p 000ab000 08:01 115065 /usr/lib64/libgnomeui-2.so.0.1600.1 2b3b51531000-2b3b5153b000 r-xp 00000000 08:01 7750878 /usr/lib64/libSM.so.6.0.0 2b3b5153b000-2b3b5163a000 ---p 0000a000 08:01 7750878 /usr/lib64/libSM.so.6.0.0 2b3b5163a000-2b3b5163b000 r--p 00009000 08:01 7750878 /usr/lib64/libSM.so.6.0.0 2b3b5163b000-2b3b5163c000 rw-p 0000a000 08:01 7750878 /usr/lib64/libSM.so.6.0.0 2b3b5163c000-2b3b51655000 r-xp 00000000 08:01 7750949 /usr/lib64/libICE.so.6.3.0 2b3b51655000-2b3b51754000 ---p 00019000 08:01 7750949 /usr/lib64/libICE.so.6.3.0 2b3b51754000-2b3b51755000 r--p 00018000 08:01 7750949 /usr/lib64/libICE.so Other information: I have posted a bug in Gentoo bugs: https://bugs.gentoo.org/show_bug.cgi?id=190756
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
(In reply to comment #1) I re-emerge glibc glib gtk+ gnome-vfs gthumb with CFLAGS="${CFLAGS} -g -ggdb" (gdb) bt
+ Trace 167907
I've taken advantage of result of the utility ldd and re-emerge libgnome, libgnomeui, libICE, libSM, libbonoboui, libgnomecanvas, even re-emerge fluxbox, but results is same.
Created attachment 96679 [details] ldd output ldd /usr/bin/gthumb
There is no useful backtrace info there for us to work with. Version 2.8.x is very obsolete. Please upgrade to 2.10.7. Closing as obsolete. - Mike
2.10.7 is same.