Closed
Bug 570746
Opened 16 years ago
Closed 16 years ago
Assertion failure: rt->emptyArgumentsScope->shape == JSScope::EMPTY_ARGUMENTS_SHAPE, at js/src/jsscope.cpp:289
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
|
2.17 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
This happens during browser startup. I think I know what the problem is. Patch with jsapi-test coming.
| Assignee | ||
Comment 1•16 years ago
|
||
BEGIN_TEST(testContexts_bug570764)
{
JSRuntime *rt2 = JS_NewRuntime(8L * 1024 * 1024);
CHECK(rt2);
// Create and destroy first context.
JSContext *cx2 = JS_NewContext(rt2, 8192);
CHECK(cx2);
JS_BeginRequest(cx2);
JSObject *obj = JS_NewGlobalObject(cx2, getGlobalClass());
CHECK(obj);
jsvalRoot objr(cx2, OBJECT_TO_JSVAL(obj));
JS_DestroyContext(cx2);
// Create and destroy second context.
cx2 = JS_NewContext(rt2, 8192);
CHECK(cx2);
JS_DestroyContext(cx2);
JS_DestroyRuntime(rt2);
}
END_TEST(testContexts_bug570764)
| Assignee | ||
Comment 2•16 years ago
|
||
Assignee: general → jorendorff
Attachment #449895 -
Flags: review?(brendan)
Updated•16 years ago
|
Attachment #449895 -
Flags: review?(brendan) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 4•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•