After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730423 - Racing when mounting a loop device
Racing when mounting a loop device
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: udisks2 volume monitor
1.21.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2014-05-20 06:36 UTC by Ross Lagerwall
Modified: 2018-09-21 17:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ross Lagerwall 2014-05-20 06:36:05 UTC
When mounting a loop device, the monitor detects a new mount from /proc/mounts and receives a new block device from udisks (converted into a volume) at roughly the same time.

It sometimes happens that the mount sends a change signal over dbus with a reference to a volume (inside update_mounts, because gvfs_udisks2_mount_set_volume emits a changed signal) before the volume has actually been sent over dbus. When the client calls g_mount_get_volume(), it returns NULL.

See also bug 730347.
Comment 1 GNOME Infrastructure Team 2018-09-21 17:41:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/233.