! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar crashes when usb drive is auto mounted
Status:
RESOLVED: DUPLICATE

Comments

Description Robert Moskowitz 2019-07-18 19:22:50 CEST
Fedora 30, thunar 1.8.7:

When I insert a usb drive, all my running instances of thunar crash.  Here is what I see in messages from a recent crash:

Jul 15 17:06:39 lx140e kernel: usb 1-1: new high-speed USB device number 4 using ehci-pci
Jul 15 17:06:39 lx140e kernel: usb 1-1: New USB device found, idVendor=13fe, idProduct=6300, bcdDevice= 1.10
Jul 15 17:06:39 lx140e kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 15 17:06:39 lx140e kernel: usb 1-1: Product:                 
Jul 15 17:06:39 lx140e kernel: usb 1-1: Manufacturer:         
Jul 15 17:06:39 lx140e kernel: usb 1-1: SerialNumber: 070A86F358588296
Jul 15 17:06:39 lx140e kernel: usb-storage 1-1:1.0: USB Mass Storage device detected
Jul 15 17:06:39 lx140e kernel: scsi host1: usb-storage 1-1:1.0
Jul 15 17:06:39 lx140e mtp-probe[9426]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1"
Jul 15 17:06:39 lx140e mtp-probe[9426]: bus: 1, device: 4 was not an MTP device
Jul 15 17:06:40 lx140e mtp-probe[9429]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1"
Jul 15 17:06:40 lx140e mtp-probe[9429]: bus: 1, device: 4 was not an MTP device
Jul 15 17:06:40 lx140e kernel: scsi 1:0:0:0: Direct-Access                               PMAP PQ: 0 ANSI: 6
Jul 15 17:06:40 lx140e kernel: sd 1:0:0:0: Attached scsi generic sg1 type 0
Jul 15 17:06:40 lx140e kernel: sd 1:0:0:0: [sdb] 60567552 512-byte logical blocks: (31.0 GB/28.9 GiB)
Jul 15 17:06:40 lx140e kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jul 15 17:06:40 lx140e kernel: sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jul 15 17:06:40 lx140e kernel: sdb: sdb1
Jul 15 17:06:40 lx140e kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Jul 15 17:06:46 lx140e kernel: FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jul 15 17:06:46 lx140e journal[787]: Mounted /dev/sdb1 at /run/media/rgm/CDB3-746C on behalf of uid 1000
Jul 15 17:06:47 lx140e audit[1484]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=1484 comm="Thunar" exe="/usr/bin/thunar" sig=11 res=1
Jul 15 17:06:47 lx140e kernel: show_signal_msg: 4 callbacks suppressed
Jul 15 17:06:47 lx140e kernel: Thunar[1484]: segfault at 0 ip 0000558e2dcc352c sp 00007ffeb5cdaa10 error 4 in thunar[558e2dc51000+81000]
Jul 15 17:06:47 lx140e kernel: Code: 1e fa 41 56 41 55 49 89 fd 41 54 49 89 f4 55 48 89 cd 53 89 d3 e8 44 fc ff ff 4c 89 ef 48 89 c6 e8 a9 42 f9 ff 4d 8b 74 24 08 <4d> 8b 26 83 fb 02 0f 84 98 00 00 00 7f 4e 85 db 0f 84 ce 00 00 00
Jul 15 17:06:47 lx140e systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jul 15 17:06:47 lx140e systemd[1]: Started Process Core Dump (PID 9468/UID 0).
Jul 15 17:06:47 lx140e audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-9468-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 17:06:49 lx140e systemd-coredump[9469]: Process 1484 (Thunar) of user 1000 dumped core.#012#012Stack trace of thread 1484:#012#0  0x0000558e2dcc352c n/a (thunar)#012#1  0x00007ffbd84b3ff8 n/a (libgtk-3.so.0)#012#2  0x00007ffbd7d5da2e g_hash_table_foreach (libglib-2.0.so.0)#012#3  0x00007ffbd84b3ecf n/a (libgtk-3.so.0)#012#4  0x00007ffbd84b98af n/a (libgtk-3.so.0)#012#5  0x00007ffbd875a015 n/a (libgtk-3.so.0)#012#6  0x00007ffbd7e56996 n/a (libgobject-2.0.so.0)#012#7  0x00007ffbd7e731c8 g_signal_emit_valist (libgobject-2.0.so.0)#012#8  0x00007ffbd7e73973 g_signal_emit (libgobject-2.0.so.0)#012#9  0x00007ffbd84b5a63 gtk_cell_area_apply_attributes (libgtk-3.so.0)#012#10 0x00007ffbd86df038 n/a (libgtk-3.so.0)#012#11 0x00007ffbd86e6dec n/a (libgtk-3.so.0)#012#12 0x00007ffbd86e72e3 n/a (libgtk-3.so.0)#012#13 0x00007ffbd8297f1d n/a (libgdk-3.so.0)#012#14 0x00007ffbd7d6b7db n/a (libglib-2.0.so.0)#012#15 0x00007ffbd7d6eedd g_main_context_dispatch (libglib-2.0.so.0)#012#16 0x00007ffbd7d6f270 n/a (libglib-2.0.so.0)#012#17 0x00007ffbd7d6f313 g_main_context_iteration (libglib-2.0.so.0)#012#18 0x00007ffbd7f7a485 g_application_run (libgio-2.0.so.0)#012#19 0x0000558e2dc5c1bd n/a (thunar)#012#20 0x00007ffbd7b7cf33 __libc_start_main (libc.so.6)#012#21 0x0000558e2dc5c2fe n/a (thunar)#012#012Stack trace of thread 1486:#012#0  0x00007ffbd7c495c7 __poll (libc.so.6)#012#1  0x00007ffbd7d6f1de n/a (libglib-2.0.so.0)#012#2  0x00007ffbd7d6f5a3 g_main_loop_run (libglib-2.0.so.0)#012#3  0x00007ffbd7fb5d5a n/a (libgio-2.0.so.0)#012#4  0x00007ffbd7d984e2 n/a (libglib-2.0.so.0)#012#5  0x00007ffbd78905a2 start_thread (libpthread.so.0)#012#6  0x00007ffbd7c54303 __clone (libc.so.6)#012#012Stack trace of thread 1485:#012#0  0x00007ffbd7c495c7 __poll (libc.so.6)#012#1  0x00007ffbd7d6f1de n/a (libglib-2.0.so.0)#012#2  0x00007ffbd7d6f313 g_main_context_iteration (libglib-2.0.so.0)#012#3  0x00007ffbd7d6f361 n/a (libglib-2.0.so.0)#012#4  0x00007ffbd7d984e2 n/a (libglib-2.0.so.0)#012#5  0x00007ffbd78905a2 start_thread (libpthread.so.0)#012#6  0x00007ffbd7c54303 __clone (libc.so.6)
Jul 15 17:06:49 lx140e systemd[1]: systemd-coredump@0-9468-0.service: Succeeded.
Jul 15 17:06:49 lx140e audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-9468-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 17:06:53 lx140e abrt-notification[9513]: Process 1484 (thunar) crashed in ??()
Comment 1 alexxcons editbugs 2019-07-19 15:12:56 CEST
Thanks for reporting!

The kernel log is does not help that much here. 
Could you please provide a stacktrace of thunar including debug symbols ?
You can find a "how to" for fedora here: https://fedoraproject.org/wiki/StackTraces
Comment 2 fuank 2019-09-18 15:44:59 CEST
Might be a duplicate of this: https://bugzilla.xfce.org/show_bug.cgi?id=15972
Comment 3 Theo Linkspfeifer editbugs 2020-03-08 14:48:02 CET

*** This bug has been marked as a duplicate of bug 15172 ***

Bug #15723

Reported by:
Robert Moskowitz
Reported on: 2019-07-18
Last modified on: 2020-03-08

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information