Skip to content

Segmentation fault whenever dialogue appears for more than ~1 second

Submitted by Victor Engmark

Assigned to Xfce Bug Triage

Link to original bug (#14281)

Description

Every time I copy, move or delete lots of files Thunar segfaults at the end of the operation.

This is easily reproducible (just did it twice in a row, moving files back and forth):

  1. cd -- "$(mktemp --directory)"
  2. mkdir foo
  3. Create lots of files, for example with touch {0..299}
  4. Open the directory in Thunar
  5. Mark all the files (not the directory)
  6. Press Ctrl-x
  7. Navigate to the "foo" directory
  8. Press Ctrl-v

Actual behaviour: Copies all the files and then crashes.

Expected behaviour: Shouldn't crash :)

Backtrace:

Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x00007f54821896d6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
[Current thread is 1 (Thread 0x7f548356d980 (LWP 871))]
(gdb) bt
#0  0x00007f54821896d6 in  () at /usr/lib/libgtk-x11-2.0.so.0
#1  0x00007f5481c6ae1f in  () at /usr/lib/libgdk-x11-2.0.so.0
#2  0x00007f5481c6c180 in  () at /usr/lib/libgdk-x11-2.0.so.0
#3  0x00007f5481c6dc8a in  () at /usr/lib/libgdk-x11-2.0.so.0
#4  0x00007f5481c6dd2f in  () at /usr/lib/libgdk-x11-2.0.so.0
#5  0x00007f54800f3e38 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#6  0x00007f54800f4081 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007f54800f43b2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#8  0x00007f5481ff3df3 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#9  0x000055f9a94eaf60 in  ()
#10 0x00007f547faf4f4a in __libc_start_main () at /usr/lib/libc.so.6
#11 0x000055f9a94eb0ba in  ()

Version: 1.6.14