Bug 162388 - DFG Worklist Worker Thread crash in CFGSimplificationPhase
Summary: DFG Worklist Worker Thread crash in CFGSimplificationPhase
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified OS X 10.11
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-22 06:44 PDT by Tero Laitinen
Modified: 2018-07-10 05:21 PDT (History)
1 user (show)

See Also:


Attachments
Stack trace of the crash (82.62 KB, text/plain)
2016-09-22 06:44 PDT, Tero Laitinen
no flags Details
test case to reproduce crash (162.26 KB, application/zip)
2016-09-22 06:44 PDT, Tero Laitinen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tero Laitinen 2016-09-22 06:44:14 PDT
Created attachment 289556 [details]
Stack trace of the crash

After a while, the browser reloads the page and says "A problem occurred with this web page, so it was reloaded.".

Browser: Release 13 (Safari 10.0, WebKit 11603.1.5)

Also crashes Safari on iOS 10.

Steps to Reproduce:
1. Unzip example.zip contents (index.html and all.js)
2. Open index.html in Safari (also available at http://www.feriko.fi/example/ )
3. Wait for a few seconds. 

Expected Results:
No crash. The JavaScript code writes "fuu" in the console indefinitely. 

Actual Results:
The browser reloads the page with the message "A problem occurred with this web page, so it was reloaded."

Notes:
The JavaScript code is obtained by compiling a Haskell code to JavaScript using ghcjs . The related issue is reported at https://github.com/ghcjs/ghcjs/issues/518

See the stack trace of the crash (crash.txt).
Comment 1 Tero Laitinen 2016-09-22 06:44:44 PDT
Created attachment 289557 [details]
test case to reproduce crash
Comment 2 stevensandberg1 2018-07-10 05:21:08 PDT
I've only skimmed the two http://www.buythesisonline.org posts, so pardon if I missed some nuances. I don't actually see a conflict between the two approaches.