Bug 168259 - asyncDisassembly crashes on iOS
Summary: asyncDisassembly crashes on iOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-13 15:23 PST by Michael Saboff
Modified: 2017-02-13 17:10 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.94 KB, patch)
2017-02-13 15:30 PST, Michael Saboff
fpizlo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2017-02-13 15:23:56 PST
It crashes with Bus Error right after emitting the jitWrite thunk.

Looks like this is due to the mapping of the jitWrite thunk pages being changed to execute only immediately after generating and linking the code.  With async disassembly, we can't read the code to disassemble.

<rdar://problem/30124488>
Comment 1 Michael Saboff 2017-02-13 15:30:24 PST
Created attachment 301401 [details]
Patch
Comment 2 Michael Saboff 2017-02-13 17:10:31 PST
Committed r212262: <http://trac.webkit.org/changeset/212262>