Closed Bug 637397 Opened 13 years ago Closed 13 years ago

JM: Assertion failure: cx->compartment->debugMode, at ../methodjit/Retcon.cpp:205

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Unassigned)

References

Details

(Keywords: assertion, crash, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

--
o1 = newGlobal('new-compartment');
o2 = o1.untrap;
o2();
--
$ ./js -a -m -d test.js
Assertion failure: cx->compartment->debugMode, at ../methodjit/Retcon.cpp:205

NULL pointer crash in release builds, but requires debug mode.
Attached patch fixSplinter Review
Ah, just a shell bug; -d doesn't set debugMode for the runtime so new compartments don't inherit the flag.
Attachment #515694 - Flags: review?(sphink)
Attachment #515694 - Flags: review?(sphink) → review+
No approval? Not blocking?
Not part of the browser.
k, thanks.
http://hg.mozilla.org/mozilla-central/rev/c804473c7e9a
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: