You are not logged in.

#1 2023-11-29 00:35:16

Malambo
Member
Registered: 2013-10-08
Posts: 2

GVFS UDisks2 Volume Monitor Timeout and Segmentation Fault

I am experiencing an issue with GVFS's UDisks2 Volume Monitor on Arch Linux, leading to a segmentation fault. The main error message is: "Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: Timeout was reached (g-io-error-quark, 24)".

This leads to a delay that occurs when I try to open a file inside any software (Gimp, mousepad) for the first time in that software session. The second time it will be no delay.

-System Information:

  • OS: EndeavourOS Linux x86_64

  • Kernel Version: 6.6.2-arch1-1

  • Desktop Environment: Xfce 4.18

- What I've Tried:

    -System update with sudo pacman -Syu.
    -Reinstalling GVFS and UDisks2 via sudo pacman -S gvfs udisks2.
    -Checking the status of the UDisks2 service (systemctl status udisks2.service showed no issues).
    -Checking journalctl:

nov 28 20:33:02 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.4' (uid=1000 pid=957 comm="xfce4-session")
nov 28 20:33:06 justicialista gvfsd[888]: A connection to the bus can't be made
nov 28 20:33:06 justicialista systemd[1]: run-user-969-gvfs.mount: Deactivated successfully.
░░ The unit run-user-969-gvfs.mount has successfully entered the 'dead' state.
nov 28 20:33:06 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.22' (uid=1000 pid=1090 comm="/usr/lib/tumbler-1/tumblerd")
nov 28 20:33:06 justicialista kernel: gvfs-udisks2-vo[1105]: segfault at 0 ip 00007f3110141b52 sp 00007ffd60e18210 error 4 in libc.so.6[7f31100a5000+15a000] likely on CPU 0 (core 0, socket 0)
nov 28 20:33:07 justicialista systemd-coredump[1115]: Process 1105 (gvfs-udisks2-vo) of user 1000 dumped core.
                                                      #5  0x000055d4aeba5a12 n/a (gvfs-udisks2-volume-monitor + 0x11a12)
                                                      #6  0x000055d4aebb2b45 n/a (gvfs-udisks2-volume-monitor + 0x1eb45)
                                                      #7  0x000055d4aeba00f0 n/a (gvfs-udisks2-volume-monitor + 0xc0f0)
                                                      #10 0x000055d4aeba0195 n/a (gvfs-udisks2-volume-monitor + 0xc195)
░░ Subject: Process 1105 (gvfs-udisks2-vo) dumped core
░░ Process 1105 (gvfs-udisks2-vo) crashed and dumped core.
nov 28 20:33:07 justicialista systemd[944]: gvfs-udisks2-volume-monitor.service: Main process exited, code=dumped, status=11/SEGV
nov 28 20:33:07 justicialista systemd[944]: gvfs-udisks2-volume-monitor.service: Failed with result 'core-dump'.
nov 28 20:33:31 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.22' (uid=1000 pid=1090 comm="/usr/lib/tumbler-1/tumblerd")
nov 28 20:33:31 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.22' (uid=1000 pid=1090 comm="/usr/lib/tumbler-1/tumblerd")
nov 28 20:33:31 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.22' (uid=1000 pid=1090 comm="/usr/lib/tumbler-1/tumblerd")
nov 28 20:33:31 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.22' (uid=1000 pid=1090 comm="/usr/lib/tumbler-1/tumblerd")
nov 28 20:33:32 justicialista gvfsd-trash[3053]: GFileInfo created without standard::name
nov 28 20:33:32 justicialista gvfsd-trash[3053]: file ../glib/gio/gfileinfo.c: line 1699 (g_file_info_get_name): should not be reached
nov 28 20:36:30 justicialista dbus-daemon[965]: [session uid=1000 pid=965] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.103' (uid=1000 pid=6275 comm="/home/ecuracosta/.pyenv/versions/sysvert-3.8.10/bi")
nov 28 20:36:30 justicialista kernel: gvfs-udisks2-vo[6456]: segfault at 0 ip 00007f6452247b52 sp 00007ffef8621810 error 4 in libc.so.6[7f64521ab000+15a000] likely on CPU 11 (core 5, socket 0)
nov 28 20:36:31 justicialista systemd-coredump[6465]: Process 6456 (gvfs-udisks2-vo) of user 1000 dumped core.
                                                      #5  0x00005625bff83a12 n/a (gvfs-udisks2-volume-monitor + 0x11a12)
                                                      #6  0x00005625bff90b45 n/a (gvfs-udisks2-volume-monitor + 0x1eb45)
                                                      #7  0x00005625bff7e0f0 n/a (gvfs-udisks2-volume-monitor + 0xc0f0)
                                                      #10 0x00005625bff7e195 n/a (gvfs-udisks2-volume-monitor + 0xc195)
░░ Subject: Process 6456 (gvfs-udisks2-vo) dumped core
░░ Process 6456 (gvfs-udisks2-vo) crashed and dumped core.
nov 28 20:36:31 justicialista systemd[944]: gvfs-udisks2-volume-monitor.service: Main process exited, code=dumped, status=11/SEGV
nov 28 20:36:31 justicialista systemd[944]: gvfs-udisks2-volume-monitor.service: Failed with result 'core-dump'.

    -Investigated coredumpctl output for the gvfs-udisks2-volume-monitor process:

           PID: 615184 (gvfs-udisks2-vo)
           UID: 1000 (ecuracosta)
           GID: 1000 (ecuracosta)
        Signal: 11 (SEGV)
     Timestamp: Tue 2023-11-28 20:27:16 -03 (40min ago)
  Command Line: /usr/lib/gvfs-udisks2-volume-monitor
    Executable: /usr/lib/gvfs-udisks2-volume-monitor
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (ecuracosta)
       Boot ID: 5b843bcb6ded45418c5718e948105c37
    Machine ID: 1dd15788ed2c41b0b977b46049836285
      Hostname: justicialista
       Storage: /var/lib/systemd/coredump/core.gvfs-udisks2-vo.1000.5b843bcb6ded45418c5718e948105c37.615184.1701214036000000.zst (present)
  Size on Disk: 492.7K
       Message: Process 615184 (gvfs-udisks2-vo) of user 1000 dumped core.
                
                Stack trace of thread 615184:
                #0  0x00007f4cde6cab52 __wcsxfrm_l (libc.so.6 + 0xc2b52)
                #1  0x00007f4cdeb0b74f g_utf8_collate_key (libglib-2.0.so.0 + 0x9574f)
                #2  0x00007f4cdecf401c n/a (libgio-2.0.so.0 + 0xd001c)
                #3  0x00007f4cdecf4311 n/a (libgio-2.0.so.0 + 0xd0311)
                #4  0x00007f4cdecf4544 g_content_type_guess_for_tree (libgio-2.0.so.0 + 0xd0544)
                #5  0x000055ad2deafa12 n/a (gvfs-udisks2-volume-monitor + 0x11a12)
                #6  0x000055ad2debcb45 n/a (gvfs-udisks2-volume-monitor + 0x1eb45)
                #7  0x000055ad2deaa0f0 n/a (gvfs-udisks2-volume-monitor + 0xc0f0)
                #8  0x00007f4cde62fcd0 n/a (libc.so.6 + 0x27cd0)
                #9  0x00007f4cde62fd8a __libc_start_main (libc.so.6 + 0x27d8a)
                #10 0x000055ad2deaa195 n/a (gvfs-udisks2-volume-monitor + 0xc195)

                Stack trace of thread 615189:
                #0  0x00007f4cde71673d syscall (libc.so.6 + 0x10e73d)
                #1  0x00007f4cdeb29c93 g_cond_wait_until (libglib-2.0.so.0 + 0xb3c93)
                #2  0x00007f4cdea9b185 n/a (libglib-2.0.so.0 + 0x25185)
                #3  0x00007f4cdeb0452b n/a (libglib-2.0.so.0 + 0x8e52b)
                #4  0x00007f4cdeb019f5 n/a (libglib-2.0.so.0 + 0x8b9f5)
                #5  0x00007f4cde6949eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007f4cde7187cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 615186:
                #0  0x00007f4cde70af6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007f4cdeb2e276 n/a (libglib-2.0.so.0 + 0xb8276)
                #2  0x00007f4cdeace162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #3  0x00007f4cdeace1b2 n/a (libglib-2.0.so.0 + 0x581b2)
                #4  0x00007f4cdeb019f5 n/a (libglib-2.0.so.0 + 0x8b9f5)
                #5  0x00007f4cde6949eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007f4cde7187cc n/a (libc.so.6 + 0x1107cc)
                ELF object binary architecture: AMD x86-64

I was trying to solve this with no succeed, any help is welcome.

Thanks in advance!

Last edited by Malambo (2023-12-02 05:37:15)

Offline

Board footer

Powered by FluxBB