[Webkit-unassigned] [Bug 79785] [Qt] WebKit with Qt5 hangs on Mac
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 12 07:13:36 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=79785
--- Comment #5 from Zeno Albisser <zeno at webkit.org> 2012-04-12 07:13:36 PST ---
Actually this issue is not really fixed in Qt.
It is a race condition in local static initialization.
Compilers on mac actually put a cxa_guard around local static initializers, unless the created type is POD.
It seems that for these cxa_guards there is only one mutex for all local statics being used process wide, instead of one mutex per definition.
This means that whenever one thread is waiting in a static initialization, for another thread to initialize another local static variable, this will lead to a deadlock.
Unfortunately such local static initializers are used in Q_GLOBAL_STATIC macro which is used frequently in Qt.
I filed a bug report about this to apple. - I hope we will see this fixed in the compiler soon.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list