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 670479 - type registration deadlock
type registration deadlock
Status: RESOLVED DUPLICATE of bug 674885
Product: glib
Classification: Platform
Component: gobject
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 670515 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-20 18:39 UTC by Dan Winship
Modified: 2012-07-30 12:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Winship 2012-02-20 18:39:10 UTC
from https://bugs.webkit.org/show_bug.cgi?id=79036



Thread 1 acquires class_init_rec_mutex in the g_type_class_ref() call (frame #9) and is still holding it when it calls g_socket_address_get_type(). But thread 3 called g_socket_address_get_type() first, so thread 1 blocks on its g_once_init_enter(). Then thread 3 blocks trying to acquire class_init_rec_mutex so it can finish registering GSocketAddress, and now we're deadlocked.
Comment 1 Dan Winship 2012-02-21 13:42:26 UTC
*** Bug 670515 has been marked as a duplicate of this bug. ***
Comment 2 Dan Winship 2012-02-25 19:16:23 UTC

*** This bug has been marked as a duplicate of bug 627724 ***
Comment 3 Dan Winship 2012-02-25 19:29:48 UTC
or not
Comment 4 Dan Winship 2012-07-30 12:17:31 UTC

*** This bug has been marked as a duplicate of bug 674885 ***