GNOME Bugzilla – Bug 747419
Hang when cancelling a message
Last modified: 2018-05-24 17:44:01 UTC
Created attachment 301028 [details] program to reproduce the problem Occasionally, gvfs hits a hang with cancellation and gdbus, where send_message_with_reply_cleanup() calls g_cancellable_disconnect() with the connection lock held. g_cancellable_disconnect() blocks waiting for another thread which is blocked waiting for the connection lock... Note that this bug existed before gdbus was ported to GTask.
+ Trace 234942
Thread 1 (Thread 0x7fe07e2dc700 (LWP 9169))
Attached is a reproducer which typically hits the bug after about 10000 iterations for me. Run like: ./cancel sftp://ross@192.168.1.48/usr/bin
It looks like this was reported before as bug 746176 but incorrectly marked as a duplicate of another hang.
I think bug 752536 is another one.
-- 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/glib/issues/1023.