Closed
Bug 900077
Opened 11 years ago
Closed 10 years ago
Intermittent test_bug567184.js | test failed (with xpcshell return code: -2147483645) or Test timed out after "Assertion failure: !JSRuntime::hasLiveRuntimes() (forgot to destroy a runtime before shutting down)"
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: RyanVM, Unassigned)
References
Details
(Keywords: crash, intermittent-failure, memory-leak)
https://tbpl.mozilla.org/php/getParsedLog.php?id=25940547&tree=Mozilla-Inbound
WINNT 6.2 mozilla-inbound debug test xpcshell on 2013-07-30 17:16:29 PDT for push c2b375f3a909
slave: t-w864-ix-051
18:05:59 WARNING - TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\xpcshell\tests\toolkit\mozapps\extensions\test\xpcshell-unpack\test_bug567184.js | test failed (with xpcshell return code: -2147483645), see following log:
18:05:59 INFO - >>>>>>>
...
18:05:59 INFO - TEST-PASS | C:/slave/test/build/tests/xpcshell/tests/toolkit/mozapps/extensions/test/xpcshell-unpack/test_bug567184.js | [check_test_1/</< : 48] false == false
18:05:59 INFO - TEST-INFO | (xpcshell/head.js) | test finished (1)
18:05:59 INFO - TEST-INFO | (xpcshell/head.js) | exiting test
18:05:59 INFO - *** LOG addons.manager: shutdown
18:05:59 INFO - *** LOG addons.xpi: shutdown
18:05:59 INFO - *** LOG addons.xpi-utils: shutdown
18:05:59 INFO - *** LOG addons.xpi-utils: Database closed
18:05:59 INFO - System JS : WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:524
18:05:59 INFO - function XPIDB_openConnection does not always return a value
18:05:59 INFO - System JS : ERROR (null):0
18:05:59 INFO - uncaught exception: 2147500037
18:05:59 INFO - System JS : ERROR (null):0
18:05:59 INFO - uncaught exception: 2147500037
18:05:59 INFO - WARNING: cannot post event if not initialized: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/netwerk/protocol/http/nsHttpConnectionMgr.cpp, line 176
18:05:59 INFO - TEST-PASS | (xpcshell/head.js) | 18 (+ 0) check(s) passed
18:05:59 INFO - TEST-INFO | (xpcshell/head.js) | 0 check(s) todo
18:05:59 INFO - WARNING: NS_ENSURE_TRUE(mThread != PR_GetCurrentThread()) failed: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/threads/nsThread.cpp, line 435
18:05:59 INFO - WARNING: nsExceptionService ignoring thread destruction after shutdown: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/base/nsExceptionService.cpp, line 168
18:05:59 INFO - WARNING: Leaking the RDF Service.: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/rdf/build/nsRDFModule.cpp, line 165
18:05:59 INFO - Assertion failure: !JSRuntime::hasLiveRuntimes() (forgot to destroy a runtime before shutting down), at e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/js/src/jsapi.cpp:710
18:05:59 INFO - <<<<<<<
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
I've also been getting this crash every now and then when running my tests for bug 762593 locally.
Comment 3•11 years ago
|
||
I'm running Mac OSX 10.8.3
Updated•11 years ago
|
OS: Windows 7 → All
Comment 4•11 years ago
|
||
Despite the confusing assertion, this is a shutdown memory leak, I think.
Keywords: mlk
Comment 5•11 years ago
|
||
This might be related to bug 900026
Comment 6•11 years ago
|
||
And here is a stack trace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
JS_ShutDown () at /Users/ialagenchev/mozilla-central/js/src/jsapi.cpp:709
(gdb) bt
#0 JS_ShutDown () at /Users/ialagenchev/mozilla-central/js/src/jsapi.cpp:709
#1 0x00000001046d152e in mozilla::ShutdownXPCOM (servMgr=0x0) at /Users/ialagenchev/mozilla-central/xpcom/build/nsXPComInit.cpp:776
#2 0x00000001046d0e15 in NS_ShutdownXPCOM (servMgr=0x1006a8338) at /Users/ialagenchev/mozilla-central/xpcom/build/nsXPComInit.cpp:615
#3 0x0000000101569500 in ScopedXPCOMStartup::~ScopedXPCOMStartup (this=0x10060c458) at /Users/ialagenchev/mozilla-central/toolkit/xre/
nsAppRunner.cpp:1130
#4 0x0000000101569415 in ScopedXPCOMStartup::~ScopedXPCOMStartup (this=0x10060c458) at /Users/ialagenchev/mozilla-central/toolkit/xre/
nsAppRunner.cpp:1111
#5 0x0000000101572e1a in XREMain::XRE_main (this=0x7fff5fbfec90, argc=6, argv=0x7fff5fbff598, aAppData=0x7fff5fbfef28) at /Users/ialag
enchev/mozilla-central/toolkit/xre/nsAppRunner.cpp:3951
#6 0x000000010157321d in XRE_main (argc=6, argv=0x7fff5fbff598, aAppData=0x7fff5fbfef28, aFlags=0) at /Users/ialagenchev/mozilla-centr
al/toolkit/xre/nsAppRunner.cpp:4128
#7 0x00000001000022b7 in do_main (argc=6, argv=0x7fff5fbff598, xreDirectory=0x10062f500) at /Users/ialagenchev/mozilla-central/browser
/app/nsBrowserApp.cpp:275
#8 0x00000001000017f1 in main (argc=6, argv=0x7fff5fbff598) at /Users/ialagenchev/mozilla-central/browser/app/nsBrowserApp.cpp:635
Comment 7•11 years ago
|
||
This appears to be an issue with the browser chrome testing harness. As per mccr8's suggestion, I commented all files in my makefile, except the ones that interest me. If I then run the mochitest-browser command on all tests in the directory(which will be only the ones that were left uncommented) then the tests pass. If I run my tests individually, I get the above Assertion failure. It's weird because the OP reported the error on tbpl.
Comment 8•11 years ago
|
||
This is unrelated to the problem you were having.
Comment 9•11 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #8)
> This is unrelated to the problem you were having.
If that's the case, then we need a new bug to track my failures, if there isn't a duplicate already.
Comment 10•10 years ago
|
||
Intermittent failure not seen for >3 months; filter on mass-intermittent-wfm-20140812.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•