Closed
Bug 604851
Opened 14 years ago
Closed 14 years ago
Asserts about unknown wrapper types followed by crash
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
DUPLICATE
of bug 604368
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: bzbarsky, Unassigned)
References
Details
Attachments
(1 file)
38.63 KB,
text/plain
|
Details |
BUILD: Current m-c or TM build STEPS TO REPRODUCE: 1) Apply the patch from bug 602780 2) Run the browser/components/feeds/test/ mochitests EXPECTED RESULTS: pass the tests! ACTUAL RESULTS: ###!!! ASSERTION: What kind of wrapper is this?: 'IS_WRAPPER_CLASS(obj->getClass())', file /Users/bzbarsky/mozilla/tracemonkey/mozilla/js/src/xpconnect/src/nsXPConnect.cpp, line 2438 ###!!! ASSERTION: Forgot to check if this is a wrapper?: 'IS_WRAPPER_CLASS(obj->getClass())', file /Users/bzbarsky/mozilla/tracemonkey/mozilla/js/src/xpconnect/src/xpcprivate.h, line 1372 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x0000000100eb35f1 in XPCWrappedNativeScope::GetPrincipal (this=0x100959617) at xpcprivate.h:1465 1465 mScriptObjectPrincipal->GetPrincipal() : nsnull;} (gdb) p mScriptObjectPrincipal $4 = (Cannot access memory at address 0xbf010b9cb2358d48 and things are then all confused. Attachment is a more extensive debugging log, with backtraces for the asserts, info on what the objects involved are, etc. The short story is that the backtraces are what they are, and the objects are Sandbox. Applying the patch for bug 604368 to m-c doesn't help (and again, this is reproducible on TM).
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Reporter | ||
Comment 1•14 years ago
|
||
Ah, the updated patch for bug 604368 might help. I'll try to test that tomorrow.
Reporter | ||
Comment 2•14 years ago
|
||
Yeah, that makes things work.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•14 years ago
|
blocking2.0: ? → final+
You need to log in
before you can comment on or make changes to this bug.
Description
•