WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
128347
Workaround REGRESSION(
r163195
-
r163227
): Crash beneath NSErrorUserInfoFromJSException when installing AppleInternal.mpkg
https://bugs.webkit.org/show_bug.cgi?id=128347
Summary
Workaround REGRESSION(r163195-r163227): Crash beneath NSErrorUserInfoFromJSEx...
Michael Saboff
Reported
2014-02-06 17:23:48 PST
The issue is that stack checks are failing when running on a different thread than the thread that created the VM. Disabling stack checking when we call JavaScript by creating a VM via JSGlobalContextCreate() and JSContextGroupCreate(). <
rdar://problem/15979363
>
Attachments
Patch
(4.51 KB, patch)
2014-02-06 17:32 PST
,
Michael Saboff
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2014-02-06 17:32:23 PST
Created
attachment 223409
[details]
Patch
Geoffrey Garen
Comment 2
2014-02-06 17:35:05 PST
Comment on
attachment 223409
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=223409&action=review
r=me
> Source/JavaScriptCore/ChangeLog:11 > + Added a flag to VM class called m_ignoreStackLimit that disables stack limit checks. > + We set this flag in JSContextGroupCreate() and JSGlobalContextCreateInGroup(). > + > + Disabled stack overflow tests in testapi.js since it uses these paths.
You should explain that this is a temporary work-around, which we will remove once we have a proper fix. Otherwise, someone who's not you or me will think that we've removed stack checking from JavaScriptCore, and they will be reasonably alarmed.
Michael Saboff
Comment 3
2014-02-06 17:58:37 PST
Committed
r163595
: <
http://trac.webkit.org/changeset/163595
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug