Closed
Bug 843811
Opened 11 years ago
Closed 11 years ago
BaselineCompiler: Land tests for various assertions/crashes
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: gkw, Assigned: gkw)
References
(Blocks 1 open bug)
Details
(4 keywords)
Crash Data
Attachments
(1 file)
1.23 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
evalcx("\ try {\ throw\"\"\ } catch (\ x if (function(){\ x\ })()\ ) {}\ ", newGlobal("")) asserts js debug shell on ionmonkey changeset 2445c6378f36 without any CLI arguments at Assertion failure: str->zone() == cx->runtime->atomsCompartment->zone(), eval("\ try {\ throw\"\"\ } catch (\ x if (function(){\ x\ })()\ ) {}\ ") asserts js debug shell at Assertion failure: size_t(dst - src) >= nelem, Function("\ try {\ throw\"\"\ } catch (\ x if (function(){\ x\ })()\ ) {}\ ")() crashes js debug shell at JS::LossyTwoByteCharsToNewLatin1CharsZ These were likely caused by: autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 121320:d0639bd4b896 user: Brian Hackett date: Thu Feb 07 12:10:50 2013 -0700 summary: Bug 838820 - Compile NAME and ALIASEDVAR related opcodes, r=djvj. Later, these were all fixed by: autoBisect shows this is probably related to the following changeset: The first good revision is: changeset: 122610:de894e57ecb2 user: Jan de Mooij date: Thu Feb 21 13:33:39 2013 +0100 summary: Bug 843429 - Fix SETALIASEDVAR clobbering stack values. r=bhackett but I'd like to have them added to the testsuite.
Assignee | ||
Comment 1•11 years ago
|
||
Thanks to Terrence for helping me out here. Tests are coming right up.
Assignee: general → gary
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #716775 -
Flags: review?(jdemooij)
Assignee | ||
Comment 3•11 years ago
|
||
I ran: python -u jit_test.py --no-slow --tbpl -t 1200 <js shell from ionmonkey tip> bug843811-1.js bug843811-2.js bug843811-3.js to ensure that they did not crash or assert.
Assignee | ||
Comment 4•11 years ago
|
||
Please feel free to land this after the review, if it looks good.
Comment 5•11 years ago
|
||
Comment on attachment 716775 [details] [diff] [review] patch v1 Review of attachment 716775 [details] [diff] [review]: ----------------------------------------------------------------- Awesome!
Attachment #716775 -
Flags: review?(jdemooij) → review+
Comment 6•11 years ago
|
||
(In reply to Gary Kwong [:gkw] from comment #4) > Please feel free to land this after the review, if it looks good. Pushed: https://hg.mozilla.org/projects/ionmonkey/rev/836ed183bb5f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•11 years ago
|
||
Tests were landed. -> VERIFIED and in-testsuite+.
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•