GNOME Bugzilla – Bug 670515
Deadlock when g_socket_address_get_type() is called by two threads at the same time
Last modified: 2012-02-21 13:42:26 UTC
I tried to isolate the problem in a simple test case but I haven't managed to reproduce the issue. This affected WebKit2 WebProcess when g_socket_new_from_fd() is called from one thread (g_socket_class_init() calls g_socket_address_get_type() when installing the load-adress property) and g_bus_get_sync() from another (the soup proxy resolver feature tries to connect to dconf to get proxy settings). See the bt: (gdb) thread apply all bt Hilo 4 (Thread 0xb34ecb70 (LWP 736)):
+ Trace 229698
See the original bug report for further info: https://bugs.webkit.org/show_bug.cgi?id=79036 We managed to workaround the deadlock by moving some code to make sure the GSocket is created before the proxy resolver is started.
already filed this yesterday *** This bug has been marked as a duplicate of bug 670479 ***