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 687805 - main: Instantiate GsmSystem before grabbing bus name
main: Instantiate GsmSystem before grabbing bus name
Status: RESOLVED DUPLICATE of bug 687804
Product: gnome-session
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-06 21:00 UTC by Colin Walters
Modified: 2012-11-06 21:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main: Instantiate GsmSystem before grabbing bus name (1.87 KB, patch)
2012-11-06 21:00 UTC, Colin Walters
none Details | Review

Description Colin Walters 2012-11-06 21:00:54 UTC
This closes a race condition on startup where the synchronous GDBus
calls in GsmSystem spin the main context before we're ready to service
regular dbus-glib API calls such as gnome-settings-daemon retrieving
the SessionName property.
Comment 1 Colin Walters 2012-11-06 21:00:56 UTC
Created attachment 228309 [details] [review]
main: Instantiate GsmSystem before grabbing bus name
Comment 2 Ray Strode [halfline] 2012-11-06 21:01:48 UTC
*** This bug has been marked as a duplicate of bug 687804 ***