Bug 309232
| Summary: | [JSC] Crash when PhantomNewArrayWithButterfly handles exception | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | GuY <q602706150> |
| Component: | JavaScriptCore | Assignee: | Yijia Huang <yijia_huang> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | syg, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
GuY
run args:
WebKitBuild/JSCOnly/Debug/bin/jsc test.js --useConcurrentJIT=0
```
function opt() {
const arr = Array(10);
arr[0] = 0;
function foo() { return arr; }
try {
opt()
opt()
} catch (e) {
}
}
for(let i=0;i<10000000;i++){
opt()
}
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/172350200>
Yijia Huang
Pull request: https://github.com/WebKit/WebKit/pull/60714
EWS
Committed 309377@main (0dbabc018f3f): <https://commits.webkit.org/309377@main>
Reviewed commits have been landed. Closing PR #60714 and removing active labels.