Closed
Bug 722598
Opened 13 years ago
Closed 13 years ago
Crash [@ js::mjit::JITScript::destroyChunk] or "Assertion failure: i < nchunks,"
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: gkw, Assigned: bhackett1024)
References
Details
(4 keywords, Whiteboard: js-triage-needed)
Crash Data
Attachments
(2 files)
12.97 KB,
text/plain
|
Details | |
667 bytes,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
The testcase to be attached asserts js debug shell on m-c changeset 7cdb5f5d38c6 with -m and -n at Assertion failure: i < nchunks, and crashes js opt shell at js::mjit::JITScript::destroyChunk
s-s because JIT crashes seem scary.
![]() |
Reporter | |
Comment 2•13 years ago
|
||
This *might* have been caused by the chunk patch in bug 706914.
![]() |
Reporter | |
Comment 3•13 years ago
|
||
A small testcase, js opt shell 32-bit, m-c changeset feb866aec8d8, with -m, -a, -n :
function whatToTestSpidermonkeyTrunk(code) {
return {
e: true,
g: true & !code.match(/l/) && !(code.match(/=/) && "" != 1) && code.match(/f/) && (e || e.f("") == -1),
y: true & code.i && f("") == -1
}
}
whatToTest = whatToTestSpidermonkeyTrunk
function tryItOut(code) {
if (count == 0) {
gc()
}
whatToTest(code)
try {
Function(code)()
} catch (e) {}
}
count = 0
tryItOut("mjitChunkLimit(13)")
count = tryItOut("")
tryItOut("mjitChunkLimit(72)")
tryItOut("")
tryItOut("")
tryItOut("l")
tryItOut("f")
Assignee | ||
Comment 4•13 years ago
|
||
Problem with the mjitChunkLimit shell function (so not security-sensitive). Changing the chunk limit changes the chunk structure of a script which can invalidate invalidation constraints.
Assignee: general → bhackett1024
Attachment #594769 -
Flags: review?(dvander)
Assignee | ||
Updated•13 years ago
|
Group: core-security
![]() |
||
Updated•13 years ago
|
Attachment #594769 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•