Crash when ejecting ext4 flashdrive
On thunar master
- Format flashdrive with ext4
- Plug in, mount via thunar
- I have no permissionm to write to the device
- unmount works fine
- eject(safely remove) via thunar --> crash:
I as well cannot write to the device in thunar 4.18.x, though that one does not crash on me during eject.
[Detaching after fork from child process 5370]
**
thunar:ERROR:thunar-file.c:4252:thunar_file_unwatch: code should not be reached
Bail out! thunar:ERROR:thunar-file.c:4252:thunar_file_unwatch: code should not be reached
Thread 1 "thunar" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
(gdb) thunar-volman: Could not detect the volume corresponding to the device.
bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007ffff6ecf1cf in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007ffff6e81472 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff6e6b4b2 in __GI_abort () at ./stdlib/abort.c:79
#4 0x00007ffff7045f18 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff70acf1e in g_assertion_message_expr () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00005555555b1c0b in thunar_file_unwatch (file=0x555555695110) at thunar-file.c:4252
#7 0x00005555555e816a in thunar_shortcut_free (shortcut=0x555555c55990, model=0x555555960b00) at thunar-shortcuts-model.c:1763
#8 0x00005555555e98e3 in thunar_shortcuts_model_remove_shortcut (shortcut=0x555555c55990, model=0x555555960b00)
at thunar-shortcuts-model.c:1301
#9 0x00007ffff7183540 in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff7196afc in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff7198501 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff719e186 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff719e243 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00005555555ab6da in thunar_device_monitor_volume_removed
(volume_monitor=<optimized out>, volume=0x555555c0be00, monitor=0x55555589da50) at thunar-device-monitor.c:419
#15 0x00007ffff7186c35 in g_cclosure_marshal_VOID__OBJECTv () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff7183749 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff71985bf in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff719e44e in g_signal_emit_by_name () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff7186c35 in g_cclosure_marshal_VOID__OBJECTv () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff7183749 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff71985bf in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff719e44e in g_signal_emit_by_name () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff4936b2f in () at /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
#24 0x00007ffff707e0d9 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff7081317 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff7081930 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff72b3b7d in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#28 0x000055555557ff24 in main (argc=2, argv=0x7fffffffe058) at main.c:86
(gdb)