[Thunar-dev] Experimental Thunar Trash tarball
Björn Martensen
bjoern.martensen at gmail.com
Thu Jul 27 19:27:37 CEST 2006
Benedikt Meurer wrote:
> Björn Martensen wrote:
>>>>> You already spotted the invalid free()'s earlier. Now you just need to
>>>>> make Thunar crash, i.e. run Thunar with
>>>>>
>>>>> export G_SLICE=always-malloc
>>>>> export MALLOC_CHECK_=2
>>>>>
>>>>> and be sure to terminate any running instance first (Thunar -q).
>>>> http://bugzilla.gnome.org/show_bug.cgi?id=348953
>>>> If I wrote anything wrong please correct it
>>> Err, post the backtrace here first. As this one looks more like a
>>> problem in Thunar (unlike bug #2028).
>> sorry. here you go..
>>
>>> Stack trace:
>>> (gdb) bt
>>> #0 0xffffe410 in __kernel_vsyscall ()
>>> #1 0xb78145a1 in raise () from /lib/libc.so.6
>>> #2 0xb7815c09 in abort () from /lib/libc.so.6
>>> #3 0xb784ead8 in malloc_printerr () from /lib/libc.so.6
>>> #4 0xb78500a5 in free () from /lib/libc.so.6
>>> #5 0xb7950bc1 in g_free () from /usr/lib/libglib-2.0.so.0
>>> #6 0xb796101c in g_slice_free1 () from /usr/lib/libglib-2.0.so.0
>>> #7 0xb7f42b52 in thunar_vfs_monitor_remove ()
>>> from /opt/xfce4/lib/libthunar-vfs-1.so.2
>>> #8 0x08077902 in thunar_folder_finalize (object=0x83ba638)
>>> at thunar-folder.c:247
>
> Thunar is build with --enable-debug=full? Because the case that the
> handle was already freed would have been detected by
> thunar_vfs_monitor_remove() then. So the only left-over option is memory
> corruption.
Yes. I used
./autogen.sh --prefix=/opt/xfce4 --enable-cairo --enable-dbus
--with-volume-manager=hal --enable-fam --disable-gnome-thumbnailers
--enable-debug=full
> What is printed on the console right before the crash?
> [New Thread -1241244768 (LWP 17336)]
> [New Thread -1274881120 (LWP 17337)]
> [New Thread -1283273824 (LWP 17338)]
> [New Thread -1224459360 (LWP 17339)]
> [New Thread -1232852064 (LWP 17340)]
> [New Thread -1249637472 (LWP 17341)]
> [New Thread -1258165344 (LWP 17342)]
> [New Thread -1291916384 (LWP 17343)]
> [Thread -1224459360 (LWP 17339) exited]
> [Thread -1249637472 (LWP 17341) exited]
> [Thread -1258165344 (LWP 17342) exited]
> [Thread -1291916384 (LWP 17343) exited]
> [Thread -1241244768 (LWP 17336) exited]
> [Thread -1274881120 (LWP 17337) exited]
> [Thread -1283273824 (LWP 17338) exited]
> [Thread -1232852064 (LWP 17340) exited]
>
> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1220499792 (LWP 17325)]
> 0xffffe410 in __kernel_vsyscall ()
> (gdb) bt
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0xb77f65a1 in raise () from /lib/libc.so.6
> #2 0xb77f7c09 in abort () from /lib/libc.so.6
> #3 0xb7830ad8 in malloc_printerr () from /lib/libc.so.6
> #4 0xb78320a5 in free () from /lib/libc.so.6
> #5 0xb7932bc1 in g_free () from /usr/lib/libglib-2.0.so.0
> #6 0xb794301c in g_slice_free1 () from /usr/lib/libglib-2.0.so.0
> #7 0xb7f24b52 in thunar_vfs_monitor_remove () from /opt/xfce4/lib/libthunar-vfs-1.so.2
> #8 0x08077902 in thunar_folder_finalize (object=0x833ff40) at thunar-folder.c:247
> #9 0xb79ff483 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
> #10 0x080b3725 in thunar_tree_model_item_reset (item=0x82c3868) at thunar-tree-model.c:1229
> #11 0x080b3983 in thunar_tree_model_node_traverse_free (node=0x82c3888, user_data=0x0) at thunar-tree-model.c:1210
> #12 0xb7935020 in g_node_traverse_post_order () from /usr/lib/libglib-2.0.so.0
> #13 0xb7934ff5 in g_node_traverse_post_order () from /usr/lib/libglib-2.0.so.0
> #14 0xb79359dc in g_node_traverse () from /usr/lib/libglib-2.0.so.0
> #15 0x080b4a6a in thunar_tree_model_finalize (object=0xffffffff) at thunar-tree-model.c:360
> #16 0xb79ff483 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
> #17 0x080b9b79 in thunar_tree_view_finalize (object=0x82c2db8) at thunar-tree-view.c:469
> #18 0xb79ff483 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
> #19 0xb79ff7c9 in g_object_run_dispose () from /usr/lib/libgobject-2.0.so.0
> #20 0xb7cd853e in gtk_object_destroy () from /usr/lib/libgtk-x11-2.0.so.0
> #21 0xb7dcfe95 in gtk_widget_destroy () from /usr/lib/libgtk-x11-2.0.so.0
> #22 0xb7be575f in gtk_bin_forall () from /usr/lib/libgtk-x11-2.0.so.0
> ---Type <return> to continue, or q <return> to quit---
and so on..
Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060727/9e53ca74/attachment.pgp>
More information about the Thunar-dev
mailing list