Racing when mounting a loop device
Submitted by Ross Lagerwall
Assigned to gvf..@..e.bugs
Link to original bug (#730423)
Description
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.
Version: 1.21.x