[Thunar-dev] Experimental Thunar Trash tarball

Björn Martensen bjoern.martensen at gmail.com
Wed Jul 26 18:57:40 CEST 2006


Benedikt Meurer wrote:
> Björn Martensen wrote:
>> When I have a folder in the trash bin and switch into the folder, go
>> back to trash, switch into the folder again, go back again (and so on)
>> thunar crashes the 6th time i try to go back. it's always at the 6th back.
> 
> Backtrace?

(gdb) bt
#0  0xb79758d7 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1  0xb7975aa5 in g_slice_alloc0 () from /usr/lib/libglib-2.0.so.0
#2  0xb795c402 in g_list_alloc () from /usr/lib/libglib-2.0.so.0
#3  0xb7a352be in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#4  0xb7e01e1e in gtk_widget_set_sensitive () from
/usr/lib/libgtk-x11-2.0.so.0
#5  0xb7c0c56e in _gtk_action_sync_sensitive () from
/usr/lib/libgtk-x11-2.0.so.0
#6  0xb7c0c5ea in gtk_action_set_sensitive () from
/usr/lib/libgtk-x11-2.0.so.0
#7  0x080a8dae in thunar_standard_view_selection_changed
(standard_view=0x82aa088) at thunar-standard-view.c:3322
#8  0xb7a3ca8b in g_cclosure_marshal_VOID__PARAM () from
/usr/lib/libgobject-2.0.so.0
#9  0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0xb7a40439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#11 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#12 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0xb7a3461f in g_object_dispatch_properties_changed () from
/usr/lib/libgobject-2.0.so.0
#14 0xb7a30eef in g_object_notify_dispatcher () from
/usr/lib/libgobject-2.0.so.0
#15 0xb7a35012 in g_object_thaw_notify () from /usr/lib/libgobject-2.0.so.0
#16 0x0807edb7 in thunar_list_model_set_folder (store=0x2,
folder=0x8309920) at thunar-list-model.c:1849
#17 0x080aec99 in thunar_standard_view_set_current_directory
(navigator=0x82aa088, current_directory=0x82a1848) at
thunar-standard-view.c:1169
#18 0xb7a365e9 in g_object_set_property () from /usr/lib/libgobject-2.0.so.0
#19 0xb7f0168f in exo_bind_properties_transfer () from
/opt/xfce4/lib/libexo-0.3.so.0
#20 0xb7f01713 in exo_bind_properties_notify () from
/opt/xfce4/lib/libexo-0.3.so.0
#21 0xb7a3ca8b in g_cclosure_marshal_VOID__PARAM () from
/usr/lib/libgobject-2.0.so.0
#22 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#23 0xb7a40439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#24 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#25 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#26 0xb7a3461f in g_object_dispatch_properties_changed () from
/usr/lib/libgobject-2.0.so.0
#27 0xb7a30eef in g_object_notify_dispatcher () from
/usr/lib/libgobject-2.0.so.0
#28 0xb7a35312 in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#29 0x080babdd in thunar_window_set_current_directory (window=0x8132020,
current_directory=0x82a1848) at thunar-window.c:2212
#30 0xb7a3c87b in g_cclosure_marshal_VOID__OBJECT () from
/usr/lib/libgobject-2.0.so.0
#31 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#32 0xb7a40439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#33 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#34 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#35 0x080887a1 in thunar_navigator_change_directory
(navigator=0x81230f0, directory=0x82a1848) at thunar-navigator.c:207
#36 0xb7a3d36b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#37 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#38 0xb7a40439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#39 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#40 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#41 0xb7c0bcd3 in _gtk_action_emit_activate () from
/usr/lib/libgtk-x11-2.0.so.0
#42 0xb7c0cb28 in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb7a3d36b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#44 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#45 0xb7a40439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#46 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#47 0xb7a446ae in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#48 0xb7db5b67 in button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#49 0xb7a3d36b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#50 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#51 0xb7a40439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#52 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#53 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#54 0xb7c1d391 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#55 0xb7c1efec in gtk_real_button_released () from
/usr/lib/libgtk-x11-2.0.so.0
#56 0xb7a3d36b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#57 0xb7a2e6d9 in g_type_class_meta_marshal () from
/usr/lib/libgobject-2.0.so.0
#58 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#59 0xb7a408b6 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#60 0xb7a418f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#61 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#62 0xb7c1d421 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#63 0xb7c1d481 in gtk_button_button_release () from
/usr/lib/libgtk-x11-2.0.so.0
#64 0xb7ceaf92 in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#65 0xb7a2e6d9 in g_type_class_meta_marshal () from
/usr/lib/libgobject-2.0.so.0
#66 0xb7a3011b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#67 0xb7a40a6d in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#68 0xb7a416d8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#69 0xb7a41aa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#70 0xb7dfb524 in gtk_widget_event_internal () from
/usr/lib/libgtk-x11-2.0.so.0
#71 0xb7ce43d3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#72 0xb7ce55b7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#73 0xb7b6aa4a in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#74 0xb795e7e1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#75 0xb796183f in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#76 0xb7961bf7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#77 0xb7ce5a31 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#78 0x0805e3c0 in main (argc=137546296, argv=0x1) at main.c:239

Thunar doesn't crash when I switch back and forth a folder in the normal
 directories but only when doing this with a folder in trash.
I have two other segfaults where I got backtraces and both of them also
are cause by g_slice_alloc. They both occur when I use the treeview in
the sidepane and expand or collapse the tree.




Here is the bt I get when I expand the "Locations" part:
(gdb) bt
#0  0xb79a3679 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1  0xb79a3aa5 in g_slice_alloc0 () from /usr/lib/libglib-2.0.so.0
#2  0xb7997062 in g_node_new () from /usr/lib/libglib-2.0.so.0
#3  0x080b46e1 in thunar_tree_model_item_files_added (item=0x8362740,
    files=0x8390180, folder=0x8318030) at thunar-tree-model.c:1349
#4  0xb7a6a92b in g_cclosure_marshal_VOID__POINTER ()
   from /usr/lib/libgobject-2.0.so.0
#5  0xb7a5e11b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb7a6e439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#7  0xb7a6f8f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb7a6faa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0x080768d3 in thunar_folder_finished (job=0x8379218, folder=0x8318030)
    at thunar-folder.c:429
#10 0xb7a6b36b in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#11 0xb7a5e11b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb7a6e439 in signal_emit_unlocked_R () from
/usr/lib/libgobject-2.0.so.0
#13 0xb7a6f8f9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb7a6faa9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb7f77fed in thunar_vfs_job_source_dispatch ()
   from /opt/xfce4/lib/libthunar-vfs-1.so.2
#16 0xb798c7e1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb798f83f in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#18 0xb798fbf7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb7d13a31 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x0805e3c0 in main (argc=137553680, argv=0x1) at main.c:239





And this one happens when I collapse the "Trash" part in the tree:
(gdb) bt
#0  0xb79018d7 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1  0xb7901aa5 in g_slice_alloc0 () from /usr/lib/libglib-2.0.so.0
#2  0xb79dbf1f in g_type_create_instance () from
/usr/lib/libgobject-2.0.so.0
#3  0xb79c31d2 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#4  0xb79c16a8 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5  0xb79c2177 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6  0xb79c2330 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7  0xb7b00aad in gdk_pixmap_new () from /usr/lib/libgdk-x11-2.0.so.0
#8  0xb7ae109e in gdk_window_begin_paint_region ()
   from /usr/lib/libgdk-x11-2.0.so.0
#9  0xb7c717b0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7ae1490 in gdk_window_process_updates_internal ()
   from /usr/lib/libgdk-x11-2.0.so.0
#11 0xb7ae16cf in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#12 0xb7ae1755 in gdk_window_update_idle () from
/usr/lib/libgdk-x11-2.0.so.0
#13 0xb78e8a61 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb78ea7e1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb78ed83f in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#16 0xb78edbf7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb7c71a31 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x0805e3c0 in main (argc=137658368, argv=0x1) at main.c:239

With the part of my home dir I didn't have any problems yet.
Usually I use the bookmarks in the sidepane but that is not really a
solution to those crashes ;)

glib is 2.12.1


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/20060726/8eb1aad3/attachment.pgp>


More information about the Thunar-dev mailing list