Closed
Bug 563118
Opened 14 years ago
Closed 11 years ago
"Assertion failure: !(XMLArrayFindMember(&ancdecls.array, ns2, namespace_identity) != (4294967295U))," with duplicated E4X namespace
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
WONTFIX
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: js-triage-done)
var link = <link/>; var xlinkNamespace = new Namespace('xlink', 'http://www.w3.org/1999/xlink'); link.addNamespace(xlinkNamespace); link.addNamespace(xlinkNamespace); link.toXMLString(); Assertion failure: !XMLARRAY_HAS_MEMBER(&ancdecls, ns2, namespace_identity), at ../jsxml.cpp:2571
Comment 1•14 years ago
|
||
(Not the smallest) regression window: 01012003 js shell build does not assert. 01012006 js shell build asserts.
Severity: normal → critical
Keywords: regression
Updated•14 years ago
|
blocking2.0: --- → ?
Updated•14 years ago
|
blocking2.0: ? → final+
Comment 2•14 years ago
|
||
No problem in opt builds, even under valgrind, right? Seems low priority. Would be good to id the regressor. /be
Reporter | ||
Comment 3•14 years ago
|
||
No problem in opt, even under valgrind.
Comment 4•14 years ago
|
||
(In reply to comment #2) > No problem in opt builds, even under valgrind, right? > > Seems low priority. Would be good to id the regressor. > > /be A manual CVS bisect shows this is probably related to bug 309242: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fjs%2Fsrc&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-09-20+12%3A00%3A00&maxdate=2005-09-20+18%3A00%3A00&cvsroot=%2Fcvsroot
Comment 5•14 years ago
|
||
Now asserts at Assertion failure: !XMLARRAY_HAS_MEMBER(&ancdecls.array, ns2, namespace_identity), instead.
Summary: "Assertion failure: !XMLARRAY_HAS_MEMBER(&ancdecls, ns2, namespace_identity)" with duplicated E4X namespace → "Assertion failure: !XMLARRAY_HAS_MEMBER(&ancdecls.array, ns2, namespace_identity)," with duplicated E4X namespace
Comment 7•14 years ago
|
||
The assertion is harmless as it just quires inconsistency and the violated inconsistency at that point results just in incorrect toString output for e4x.
Updated•13 years ago
|
Whiteboard: js-triage-done
Comment 8•12 years ago
|
||
$ ./js-dbg-32-mozilla-central-linux -e 'options("allow_xml");' 563118.js Assertion failure: !(XMLArrayFindMember(&ancdecls.array, ns2, namespace_identity) != (4294967295U)), The assert has morphed as of mozilla-central changeset 6c60e99d9739 - this assert is likely to go away once e4x is removed in Firefox (scheduled for version 18).
Summary: "Assertion failure: !XMLARRAY_HAS_MEMBER(&ancdecls.array, ns2, namespace_identity)," with duplicated E4X namespace → "Assertion failure: !(XMLArrayFindMember(&ancdecls.array, ns2, namespace_identity) != (4294967295U))," with duplicated E4X namespace
Comment 9•11 years ago
|
||
E4X is now history thanks to bug 788293. -> WONTFIX
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Comment 10•11 years ago
|
||
Running the testcase through the js shell now throws a syntax error: 563118.js:1:0 SyntaxError: syntax error: 563118.js:1:0 var link = <link/>; 563118.js:1:0 ...........^
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•