[Webkit-unassigned] [Bug 20914] [QT] JavaScriptCore segmentation fault

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 22 07:23:57 PDT 2008


------- Comment #9 from ap at webkit.org  2008-09-22 07:23 PDT -------
(In reply to comment #7)
> If I understood you correct Alexey, JSC::initializeThreading() can be called
> from non-main threads on Darwin

At the moment, the contract is that JSC::initializeThreading() should be called
from the main thread. One exception is Mac OS X JavaScriptCore API clients, and
that's because some of these shipped before we put this in place.

So, for the Qt port JSC::initializeThreading() should be called from the main
thread, even on Darwin. You are free to see this as an unfortunate limitation,
and lift it some day, of course.

I'm not sure that the workaround with calling QCoreApplication is so great -
besides our own test shell, there may be other command line apps or daemons
that want to use JSC, and creating a full QCoreApplication my be inappropriate
for some. But at least it gets us going for now.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list