Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63899 - [gvfs] gvfs-udisks2-volume-monitor crashes with gvfs-1.42.0-1

Attached to Project: Arch Linux
Opened by Sree Harsha Totakura (tsh) - Monday, 23 September 2019, 22:34 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 05 May 2020, 09:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
gvfs-udisks2-volume-monitor crashes with gvfs-1.42.0-1 when pcmanfm is started. I suspect as a result of this pcmanfm hangs for a while when starting.


Additional info:
* These packages are installed: gvfs-1.42.0-1, gvfs-mtp-1.42.0-1, gvfs-smb-1.42.0-1
* Downgrading the above packages to 1.40.2-1 temporarily fixes the problem
* Stacktrace of the crash as captured by systemd-coredumpd is appended below
* Couldn't find any upstream bug reports at the moment

Steps to reproduce:
1. Start pcmanfm
2. pcmanfm hangs for a while
3. journalctl shows a stacktrace of the crash:

systemd-coredump[1580]: Process 1575 (gvfs-udisks2-vo) of user 1000 dumped core.

Stack trace of thread 1575:
#0 0x00007f6e1514f176 n/a (libglib-2.0.so.0)
#1 0x00007f6e15143f17 g_log_default_handler (libglib-2.0.so.0)
#2 0x00007f6e1514f3ad g_logv (libglib-2.0.so.0)
#3 0x00007f6e1514f5b0 g_log (libglib-2.0.so.0)
#4 0x00007f6e152f25bf n/a (libgio-2.0.so.0)
#5 0x00007f6e152f4ba3 g_settings_get_value (libgio-2.0.so.0)
#6 0x00007f6e152f4c8d g_settings_get_boolean (libgio-2.0.so.0)
#7 0x000055c021c2c4f5 n/a (gvfs-udisks2-volume-monitor)
#8 0x00007f6e1522a340 g_type_create_instance (libgobject-2.0.so.0)
#9 0x00007f6e15245fb9 n/a (libgobject-2.0.so.0)
#10 0x000055c021c298a2 n/a (gvfs-udisks2-volume-monitor)
#11 0x00007f6e15246edf n/a (libgobject-2.0.so.0)
#12 0x00007f6e15247b95 g_object_new_with_properties (libgobject-2.0.so.0)
#13 0x00007f6e15247c92 g_object_new (libgobject-2.0.so.0)
#14 0x000055c021c286fa n/a (gvfs-udisks2-volume-monitor)
#15 0x000055c021c1f0f5 n/a (gvfs-udisks2-volume-monitor)
#16 0x00007f6e15442ee3 __libc_start_main (libc.so.6)
#17 0x000055c021c1f19e n/a (gvfs-udisks2-volume-monitor)

Stack trace of thread 1576:
#0 0x00007f6e1550d667 __poll (libc.so.6)
#1 0x00007f6e15157130 n/a (libglib-2.0.so.0)
#2 0x00007f6e15157201 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f6e15157252 n/a (libglib-2.0.so.0)
#4 0x00007f6e15133bc1 n/a (libglib-2.0.so.0)
#5 0x00007f6e14c6157f start_thread (libpthread.so.0)
#6 0x00007f6e155180e3 __clone (libc.so.6)

Stack trace of thread 1577:
#0 0x00007f6e1550d667 __poll (libc.so.6)
#1 0x00007f6e15157130 n/a (libglib-2.0.so.0)
#2 0x00007f6e151580d3 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f6e152c5b18 n/a (libgio-2.0.so.0)
#4 0x00007f6e15133bc1 n/a (libglib-2.0.so.0)
#5 0x00007f6e14c6157f start_thread (libpthread.so.0)
#6 0x00007f6e155180e3 __clone (libc.so.6)

Stack trace of thread 1578:
#0 0x00007f6e1550d667 __poll (libc.so.6)
#1 0x00007f6e15157130 n/a (libglib-2.0.so.0)
#2 0x00007f6e15157201 g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f6e15617e5e n/a (libdconfsettings.so)
#4 0x00007f6e15133bc1 n/a (libglib-2.0.so.0)
#5 0x00007f6e14c6157f start_thread (libpthread.so.0)
#6 0x00007f6e155180e3 __clone (libc.so.6)
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 05 May 2020, 09:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  gvfs contains a versioned dependency on gsettings-desktop-schemas 3.34 which contains the missing setting.
Comment by Ufo (Ufo28) - Wednesday, 25 September 2019, 10:53 GMT
сен 25 12:42:27 UFO-WORK-PC dbus-daemon[892]: [session uid=1000 pid=892] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.73' (uid=1000 pid=5230 comm="pluma ")
сен 25 12:42:27 UFO-WORK-PC systemd[850]: Starting Virtual filesystem service - disk device monitor...
-- Subject: Начинается запуск юнита UNIT
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Начат процесс запуска юнита UNIT.
сен 25 12:42:27 UFO-WORK-PC audit[5237]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=5237 comm="gvfs-udisks2-vo" exe="/usr/lib/gvfs-udisks2-volume-monitor" sig=5 res=1
сен 25 12:42:27 UFO-WORK-PC gvfs-udisks2-vo[5237]: Settings schema 'org.gnome.desktop.lockdown' does not contain a key named 'mount-removable-storage-devices-as-read-only'
сен 25 12:42:27 UFO-WORK-PC kernel: traps: gvfs-udisks2-vo[5237] trap int3 ip:7fe4413e9176 sp:7ffd66179c10 error:0 in libglib-2.0.so.0.6200.0[7fe4413a1000+81000]
сен 25 12:42:27 UFO-WORK-PC kernel: audit: type=1701 audit(1569404547.675:121): auid=1000 uid=1000 gid=1000 ses=3 pid=5237 comm="gvfs-udisks2-vo" exe="/usr/lib/gvfs-udisks2-volume-monitor" sig=5 res=1
сен 25 12:42:27 UFO-WORK-PC systemd[1]: Started Process Core Dump (PID 5241/UID 0).
-- Subject: Запуск юнита systemd-coredump@1-5241-0.service завершен
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Процесс запуска юнита systemd-coredump@1-5241-0.service был завершен.
--
-- Результат: done.
сен 25 12:42:27 UFO-WORK-PC audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-5241-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
сен 25 12:42:27 UFO-WORK-PC kernel: audit: type=1130 audit(1569404547.684:122): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-5241-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
сен 25 12:42:27 UFO-WORK-PC systemd[850]: gvfs-udisks2-volume-monitor.service: Main process exited, code=dumped, status=5/TRAP
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit UNIT has exited.
--
-- The process' exit code is 'dumped' and its exit status is 5.
сен 25 12:42:27 UFO-WORK-PC systemd[850]: gvfs-udisks2-volume-monitor.service: Failed with result 'core-dump'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit UNIT has entered the 'failed' state with result 'core-dump'.
сен 25 12:42:27 UFO-WORK-PC systemd[850]: Failed to start Virtual filesystem service - disk device monitor.
-- Subject: Ошибка юнита UNIT
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Произошел сбой юнита UNIT.
--
-- Результат: failed.
сен 25 12:42:27 UFO-WORK-PC systemd-coredump[5242]: Process 5237 (gvfs-udisks2-vo) of user 1000 dumped core.

Stack trace of thread 5237:
#0 0x00007fe4413e9176 n/a (libglib-2.0.so.0)
#1 0x00007fe4413ddf17 g_log_default_handler (libglib-2.0.so.0)
#2 0x00007fe4413e93ad g_logv (libglib-2.0.so.0)
#3 0x00007fe4413e95b0 g_log (libglib-2.0.so.0)
#4 0x00007fe44158c5bf n/a (libgio-2.0.so.0)
#5 0x00007fe44158eba3 g_settings_get_value (libgio-2.0.so.0)
#6 0x00007fe44158ec8d g_settings_get_boolean (libgio-2.0.so.0)
#7 0x000055d7041f04f5 n/a (gvfs-udisks2-volume-monitor)
#8 0x00007fe4414c4340 g_type_create_instance (libgobject-2.0.so.0)
#9 0x00007fe4414dffb9 n/a (libgobject-2.0.so.0)
#10 0x000055d7041ed8a2 n/a (gvfs-udisks2-volume-monitor)
#11 0x00007fe4414e0edf n/a (libgobject-2.0.so.0)
#12 0x00007fe4414e1b95 g_object_new_with_properties (libgobject-2.0.so.0)
#13 0x00007fe4414e1c92 g_object_new (libgobject-2.0.so.0)
#14 0x000055d7041ec6fa n/a (gvfs-udisks2-volume-monitor)
#15 0x000055d7041e30f5 n/a (gvfs-udisks2-volume-monitor)
#16 0x00007fe4416dcee3 __libc_start_main (libc.so.6)
#17 0x000055d7041e319e n/a (gvfs-udisks2-volume-monitor)

Stack trace of thread 5240:
#0 0x00007fe4417b20d5 __clone (libc.so.6)
#1 0x0000000000000010 n/a (n/a)
-- Subject: Процесс 5237 (gvfs-udisks2-vo) сбросил дамп памяти
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
--
-- Процесс 5237 (gvfs-udisks2-vo) завершился из-за критической ошибки.
-- Записан дамп памяти.
--
-- Вероятно, это произошло из-за ошибки, допущенной в коде программы.
-- Рекомендуется сообщить её разработчикам о возникшей проблеме.
сен 25 12:42:27 UFO-WORK-PC systemd[1]: systemd-coredump@1-5241-0.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit systemd-coredump@1-5241-0.service has successfully entered the 'dead' state.
сен 25 12:42:27 UFO-WORK-PC audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-5241-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
сен 25 12:42:27 UFO-WORK-PC kernel: audit: type=1131 audit(1569404547.978:123): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-5241-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Comment by Que Quotion (quequotion) - Tuesday, 29 October 2019, 06:41 GMT
This may have something to do with gsettings-desktop-schemas{,-ubuntu}.

I have the ubuntu version installed (3.27.90-1), /usr/lib/gvfs-udisks2-volume-monitor fails with:

Settings schema 'org.gnome.desktop.lockdown' does not contain a key named 'mount-removable-storage-devices-as-read-only'

I cannot trivially switch to the vanilla gnome version (3.34.0-1) (ubuntu version is a dependency of gnome-settings-daemon-elementary, which is a dependency of my desktop environment), but I may try to work something out later (repackage an upgraded gsettings-desktop-schemas-ubuntu?).
Comment by Mario Carballo (afk_mario) - Wednesday, 08 January 2020, 04:12 GMT
Same happens using Thunar

Loading...