Closed
Bug 601299
Opened 15 years ago
Closed 15 years ago
"Assertion failure: hasfp()" [@ JSContext::regExpStatics]
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: jruderman, Assigned: cdleary)
Details
(Keywords: assertion, testcase, Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files, 1 obsolete file)
79 bytes,
text/html
|
Details | |
1.86 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
Assertion failure: hasfp(), at js/src/jscntxtinlines.h:59
Might be a regression from bug 571355.
Reporter | ||
Comment 1•15 years ago
|
||
In an opt build, I get a null deref [@ __ZL18regexp_compile_subP9JSContextP8JSObjectjPN2js5ValueES5_].
Reporter | ||
Comment 2•15 years ago
|
||
Another way to reproduce is to paste this into xpcshell:
new new XPCSafeJSObjectWrapper(/x/)
Reporter | ||
Comment 3•15 years ago
|
||
Thet xpcshell testcase no longer does anything (XPCSafeJSObjectWrapper is not defined), but the browser testcase still hits the assertion failure.
Assignee | ||
Comment 4•15 years ago
|
||
Makes sense, fast native executed from browser as a callback. I remember deliberately not relying on cx->globalObject, but I guess you have to in these kinds of situations. Need to test before requesting review.
Assignee: general → cdleary
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•15 years ago
|
||
It works when I test it manually -- I can't figure out what the mochitest TEST_PATH is to get it run with the make target though... is there a rule of thumb for how to find that?
Attachment #485951 -
Attachment is obsolete: true
Attachment #485971 -
Flags: review?(mrbkap)
Comment 6•15 years ago
|
||
Comment on attachment 485971 [details] [diff] [review]
use JS_GetGlobalForScopeChain
If you want, you could create an internal (js_*) API to do this since I think this is the second time that we've had to use this external API in js/src. r=me either way.
Attachment #485971 -
Flags: review?(mrbkap) → review+
![]() |
||
Updated•15 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 7•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/07bc530476c5
Followup bug for cleanup is bug 607724.
Whiteboard: fixed-in-tracemonkey
Assignee | ||
Comment 8•15 years ago
|
||
Fix for bad mochitest: http://hg.mozilla.org/tracemonkey/rev/e99b3aca8eda
Comment 9•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
blocking2.0: ? → betaN+
You need to log in
before you can comment on or make changes to this bug.
Description
•