Closed Bug 647694 Opened 15 years ago Closed 15 years ago

TI: Crash [@ js::mjit::EnterMethodJIT] or [@ js::mjit::ic::GetGlobalName] with ArrayBuffer, eval, try...catch

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 646267

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: crash, testcase)

Crash Data

function z(f) { try { f() } catch(r) { if (e) {} } } function g(code) { var f = eval("(function(){" + code + "})") z(f) } g() g() g() g("\ this.bb::h=ArrayBuffer();\ function bb(){let(n)*}\ ") crashes js debug shell on JM changeset a58525f1f4be with -m, -a and -n at js::mjit::EnterMethodJIT
Tested on 64-bit.
function h(code) { try { f = g2("(function(){" + code + "})") } catch(r) {} { g(f, code) } } function g2(s) { return eval(s) } function g() { try { f() if (a) {} } catch(r) { g() } } a = 0 for (var x in 0) {} h("") h("") h("{b=x}"); h("this.b::b=Math") is a 32-bit testcase that crashes similarly in debug but also crashes at js::mjit::ic::GetGlobalName in opt.
Summary: TI: Crash [@ js::mjit::EnterMethodJIT] with ArrayBuffer, eval, try...catch → TI: Crash [@ js::mjit::EnterMethodJIT] or [@ js::mjit::ic::GetGlobalName] with ArrayBuffer, eval, try...catch
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ js::mjit::EnterMethodJIT] [@ js::mjit::ic::GetGlobalName]
A testcase for this bug was already added in the original bug (bug 646267).
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.