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 662808 - Race condition in dbus name owning
Race condition in dbus name owning
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 637220 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-26 21:49 UTC by Michal Hruby
Modified: 2017-12-13 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (597 bytes, text/plain)
2011-10-26 21:49 UTC, Michal Hruby
Details

Description Michal Hruby 2011-10-26 21:49:13 UTC
Created attachment 200065 [details]
Test case

If g_bus_name_unown is called at a wrong moment (see attached test case) produces a critical inside gio.
Comment 1 David Zeuthen (not reading bugmail) 2011-10-27 14:36:47 UTC
Alright, I was able to reproduce this problem. I've fixed the problem and added a test-case as well. Please check git master and reopen if the fix doesn't work for you. Thanks.

http://git.gnome.org/browse/glib/commit/?id=1fc897352e2bd8c52f33517088213ee4b0024932
Comment 2 Philip Withnall 2017-12-13 13:47:57 UTC
*** Bug 637220 has been marked as a duplicate of this bug. ***