[Xfce-bugs] [Bug 11983] Crash when moving files by drag and drop

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jul 1 16:27:45 CEST 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11983

--- Comment #12 from Harald Judt <hjudt at xfce.org> ---
I am attaching a gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x000000000043691a in thunar_file_info_reload (file=file at entry=0x7fffe0013580, 
    cancellable=cancellable at entry=0x0) at thunar-file.c:975
975     thunar-file.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x000000000043691a in thunar_file_info_reload
(file=file at entry=0x7fffe0013580, 
    cancellable=cancellable at entry=0x0) at thunar-file.c:975
#1  0x0000000000436d81 in thunar_file_load (file=file at entry=0x7fffe0013580,
error=error at entry=0x0, 
    cancellable=0x0) at thunar-file.c:1177
#2  0x0000000000438a7b in thunar_file_get (gfile=gfile at entry=0x0,
error=error at entry=0x0) at thunar-file.c:1236
#3  0x000000000043a1a7 in thunar_folder_monitor (monitor=<optimized out>,
event_file=0xf57580, other_file=0x0, 
    event_type=G_FILE_MONITOR_EVENT_MOVED, user_data=<optimized out>) at
thunar-folder.c:776
#4  0x00007ffff0395f9e in ffi_call_unix64 ()
    at
/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/unix64.S:76
#5  0x00007ffff0395a08 in ffi_call (cif=cif at entry=0x7fffffffcde0, fn=0x439fc0
<thunar_folder_monitor>, 
    rvalue=0x7fffffffcd00, avalue=avalue at entry=0x7fffffffcc60)
    at
/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/ffi64.c:525
#6  0x00007ffff4e4c295 in g_cclosure_marshal_generic_va (closure=0xddba80,
return_value=0x0, 
    instance=0xf794b0, args_list=<optimized out>, marshal_data=0x0, n_params=3,
param_types=0x71fd00)
    at
/var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/gobject/gclosure.c:1594
#7  0x00007ffff4e4b827 in _g_closure_invoke_va (closure=closure at entry=0xddba80, 
    return_value=return_value at entry=0x0, instance=instance at entry=0xf794b0,
args=args at entry=0x7fffffffd028, 
    n_params=3, param_types=0x71fd00)
    at
/var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/gobject/gclosure.c:864
#8  0x00007ffff4e64748 in g_signal_emit_valist (instance=0xf794b0,
signal_id=<optimized out>, detail=0, 
    var_args=var_args at entry=0x7fffffffd028)
    at
/var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/gobject/gsignal.c:3246
#9  0x00007ffff4e6539a in g_signal_emit (instance=<optimized out>,
signal_id=<optimized out>, 
    detail=detail at entry=0) at
/var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/gobject/gsignal.c:3393
#10 0x00007ffff50e609b in g_file_monitor_emit_event (monitor=<optimized out>,
child=<optimized out>, 
    other_file=<optimized out>, event_type=<optimized out>)
    at
/var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/gio/gfilemonitor.c:275
#11 0x00007ffff518abb9 in g_file_monitor_source_dispatch (source=0xed5a20,
callback=<optimized out>, 
    user_data=<optimized out>)
    at
/var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/gio/glocalfilemonitor.c:546
#12 0x00007ffff4b4c914 in g_main_dispatch (context=0x6f69d0)
    at /var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/glib/gmain.c:3122
#13 g_main_context_dispatch (context=context at entry=0x6f69d0)
    at /var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/glib/gmain.c:3737
#14 0x00007ffff4b4cb68 in g_main_context_iterate (context=0x6f69d0,
block=block at entry=1, 
    dispatch=dispatch at entry=1, self=<optimized out>)
    at /var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/glib/gmain.c:3808
#15 0x00007ffff4b4ce2a in g_main_loop_run (loop=0xdaf1a0)
    at /var/tmp/portage/dev-libs/glib-2.45.3/work/glib-2.45.3/glib/gmain.c:4002
#16 0x00007ffff6a2ef17 in IA__gtk_main ()
    at
/var/tmp/portage/x11-libs/gtk+-2.24.28-r1/work/gtk+-2.24.28/gtk/gtkmain.c:1268
#17 0x000000000041ff2b in main (argc=1, argv=0x7fffffffd428) at main.c:312

Like cavalier recommended on IRC #xfce-dev, I will try to protect against the
other_file == NULL cases. Maybe that fixes it. I'll upload a patch later.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list