Intermittent Windows mochitest-2 TEST-UNEXPECTED-FAIL | Shutdown | application timed out after 330 seconds with no output (Assertion failure: !JSRuntime::hasLiveRuntimes() (forgot to destroy a runtime before shutting down), at js/src/jsapi.cpp:710)

RESOLVED FIXED in Firefox 25

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: RyanVM, Assigned: Waldo)

Tracking

({assertion, memory-leak})

Trunk
mozilla25
x86
Windows 7
assertion, memory-leak
Points:
---

Firefox Tracking Flags

(firefox24 unaffected, firefox25 fixed)

Details

(Reporter)

Description

5 years ago
https://tbpl.mozilla.org/php/getParsedLog.php?id=26032777&tree=Mozilla-Inbound

Windows 7 32-bit mozilla-inbound debug test mochitest-2 on 2013-08-01 11:26:37 PDT for push fc6a6ed70338
slave: t-w732-ix-026

11:44:05     INFO -  [Parent 3364] WARNING: NS_ENSURE_TRUE(mDB) failed: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/netwerk/cache/nsDiskCacheDeviceSQL.cpp, line 1395
11:44:05     INFO -  [Parent 3364] 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
11:44:05     INFO -  [Parent 3364] WARNING: nsExceptionService ignoring thread destruction after shutdown: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/base/nsExceptionService.cpp, line 168
11:44:05     INFO -  --DOCSHELL 08A992C8 == 0 [id = 6]
11:44:06     INFO -  --DOMWINDOW == 367 (0C8BCBE8) [serial = 11] [outer = 0940E830] [url = about:blank]
11:44:06     INFO -  --DOMWINDOW == 366 (098A3A20) [serial = 10] [outer = 0565AF38] [url = about:blank]
11:44:06     INFO -  --DOMWINDOW == 365 (0940E830) [serial = 7] [outer = 00000000] [url = about:blank]
11:44:06     INFO -  --DOMWINDOW == 364 (0565AF38) [serial = 6] [outer = 00000000] [url = about:blank]
11:44:18     INFO -  [Parent 3364] ###!!! ASSERTION: Ran out of memory while building cycle collector graph: 'false', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/base/nsCycleCollector.cpp, line 2410
11:44:19     INFO -  nsCycleCollector::BeginCollection(ccType,nsICycleCollectorListener *) [xpcom/base/nsCycleCollector.cpp:3054]
11:44:19     INFO -  nsCycleCollector::ShutdownCollect(nsICycleCollectorListener *) [xpcom/base/nsCycleCollector.cpp:2968]
11:44:19     INFO -  nsCycleCollector::Shutdown() [xpcom/base/nsCycleCollector.cpp:3118]
11:44:19     INFO -  nsCycleCollector_shutdown() [xpcom/base/nsCycleCollector.cpp:3430]
11:44:19     INFO -  mozilla::ShutdownXPCOM(nsIServiceManager *) [xpcom/build/nsXPComInit.cpp:754]
11:44:19     INFO -  ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1130]
11:44:19     INFO -  XREMain::XRE_main(int,char * * const,nsXREAppData const *) [toolkit/xre/nsAppRunner.cpp:3951]
11:44:19     INFO -  XRE_main [toolkit/xre/nsAppRunner.cpp:4139]
11:44:19     INFO -  do_main [browser/app/nsBrowserApp.cpp:275]
11:44:19     INFO -  NS_internal_main(int,char * *) [browser/app/nsBrowserApp.cpp:635]
11:44:19     INFO -  wmain [toolkit/xre/nsWindowsWMain.cpp:112]
11:44:19     INFO -  __tmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:552]
11:44:19     INFO -  wmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:371]
11:44:19     INFO -  kernel32 + 0x53c45
11:44:19     INFO -  ntdll + 0x637f5
11:44:19     INFO -  ntdll + 0x637c8
11:44:19     INFO -  [Parent 3364] ###!!! ASSERTION: Ran out of memory in ScanRoots: 'false', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/base/nsCycleCollector.cpp, line 2544
11:44:21     INFO -  nsCycleCollector::BeginCollection(ccType,nsICycleCollectorListener *) [xpcom/base/nsCycleCollector.cpp:3057]
11:44:21     INFO -  nsCycleCollector::ShutdownCollect(nsICycleCollectorListener *) [xpcom/base/nsCycleCollector.cpp:2968]
11:44:21     INFO -  nsCycleCollector::Shutdown() [xpcom/base/nsCycleCollector.cpp:3118]
11:44:21     INFO -  nsCycleCollector_shutdown() [xpcom/base/nsCycleCollector.cpp:3430]
11:44:21     INFO -  mozilla::ShutdownXPCOM(nsIServiceManager *) [xpcom/build/nsXPComInit.cpp:754]
11:44:21     INFO -  ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1130]
11:44:21     INFO -  XREMain::XRE_main(int,char * * const,nsXREAppData const *) [toolkit/xre/nsAppRunner.cpp:3951]
11:44:21     INFO -  XRE_main [toolkit/xre/nsAppRunner.cpp:4139]
11:44:21     INFO -  do_main [browser/app/nsBrowserApp.cpp:275]
11:44:21     INFO -  NS_internal_main(int,char * *) [browser/app/nsBrowserApp.cpp:635]
11:44:21     INFO -  wmain [toolkit/xre/nsWindowsWMain.cpp:112]
11:44:21     INFO -  __tmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:552]
11:44:21     INFO -  wmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:371]
11:44:21     INFO -  kernel32 + 0x53c45
11:44:21     INFO -  ntdll + 0x637f5
11:44:21     INFO -  ntdll + 0x637c8
11:44:21     INFO -  [Parent 3364] WARNING: not an nsIRDFRemoteDataSource: 'remote != nullptr', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/rdf/datasource/src/nsLocalStore.cpp, line 279
11:44:22     INFO -  [Parent 3364] ###!!! ASSERTION: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/base/nsCycleCollector.cpp, line 2960
11:44:23     INFO -  nsCycleCollector::Shutdown() [xpcom/base/nsCycleCollector.cpp:3118]
11:44:23     INFO -  nsCycleCollector_shutdown() [xpcom/base/nsCycleCollector.cpp:3430]
11:44:23     INFO -  mozilla::ShutdownXPCOM(nsIServiceManager *) [xpcom/build/nsXPComInit.cpp:754]
11:44:23     INFO -  ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1130]
11:44:23     INFO -  XREMain::XRE_main(int,char * * const,nsXREAppData const *) [toolkit/xre/nsAppRunner.cpp:3951]
11:44:23     INFO -  XRE_main [toolkit/xre/nsAppRunner.cpp:4139]
11:44:23     INFO -  do_main [browser/app/nsBrowserApp.cpp:275]
11:44:23     INFO -  NS_internal_main(int,char * *) [browser/app/nsBrowserApp.cpp:635]
11:44:23     INFO -  wmain [toolkit/xre/nsWindowsWMain.cpp:112]
11:44:23     INFO -  __tmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:552]
11:44:23     INFO -  wmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:371]
11:44:23     INFO -  kernel32 + 0x53c45
11:44:23     INFO -  ntdll + 0x637f5
11:44:23     INFO -  ntdll + 0x637c8
11:44:23     INFO -  [Parent 3364] WARNING: not an nsIRDFRemoteDataSource: 'remote != nullptr', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/rdf/datasource/src/nsLocalStore.cpp, line 279
11:44:23     INFO -  [Parent 3364] WARNING: not an nsIRDFRemoteDataSource: 'remote != nullptr', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/rdf/datasource/src/nsLocalStore.cpp, line 279
11:44:23     INFO -  [Parent 3364] ###!!! ASSERTION: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/base/nsCycleCollector.cpp, line 2960
11:44:23     INFO -  nsCycleCollector::Shutdown() [xpcom/base/nsCycleCollector.cpp:3118]
11:44:23     INFO -  nsCycleCollector_shutdown() [xpcom/base/nsCycleCollector.cpp:3430]
11:44:23     INFO -  mozilla::ShutdownXPCOM(nsIServiceManager *) [xpcom/build/nsXPComInit.cpp:754]
11:44:23     INFO -  ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1130]
11:44:23     INFO -  XREMain::XRE_main(int,char * * const,nsXREAppData const *) [toolkit/xre/nsAppRunner.cpp:3951]
11:44:23     INFO -  XRE_main [toolkit/xre/nsAppRunner.cpp:4139]
11:44:23     INFO -  do_main [browser/app/nsBrowserApp.cpp:275]
11:44:23     INFO -  NS_internal_main(int,char * *) [browser/app/nsBrowserApp.cpp:635]
11:44:23     INFO -  wmain [toolkit/xre/nsWindowsWMain.cpp:112]
11:44:23     INFO -  __tmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:552]
11:44:23     INFO -  wmainCRTStartup [f:/dd/vctools/crt_bld/self_x86/crt/src/crtexe.c:371]
11:44:23     INFO -  kernel32 + 0x53c45
11:44:23     INFO -  ntdll + 0x637f5
11:44:23     INFO -  ntdll + 0x637c8
11:44:23     INFO -  [Parent 3364] WARNING: Leaking the RDF Service.: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/rdf/build/nsRDFModule.cpp, line 165
11:44:23     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
11:44:25     INFO -  Hit MOZ_CRASH() at e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/xpcom/build/mozPoisonWriteBase.cpp:172
11:49:55  WARNING -  TEST-UNEXPECTED-FAIL | Shutdown | application timed out after 330 seconds with no output
11:49:55     INFO -  args: ['C:\\slave\\test\\build\\tests\\bin\\screenshot.exe', 'c:\\users\\cltbld\\appdata\\local\\temp\\mozilla-test-fail_sejfvl']
11:49:55     INFO -  SCREENSHOT: <see log>
12:06:36    ERROR - timed out after 1000 seconds of no output
12:06:36    ERROR - Return code: 572
(Reporter)

Updated

5 years ago
Summary: Intermittent Windows mochitest-2 Shutdown | application timed out after 330 seconds with no output (Assertion failure: !JSRuntime::hasLiveRuntimes() (forgot to destroy a runtime before shutting down), at js/src/jsapi.cpp:710) → Intermittent Windows mochitest-2 TEST-UNEXPECTED-FAIL | Shutdown | application timed out after 330 seconds with no output (Assertion failure: !JSRuntime::hasLiveRuntimes() (forgot to destroy a runtime before shutting down), at js/src/jsapi.cpp:710)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
The last one is an OOM during test_Range-selectNode.
Comment hidden (Treeherder Robot)
Despite the confusing assertion, I think this is really just a shutdown leak.
Keywords: mlk
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Depends on: 899270
(Assignee)

Comment 9

5 years ago
Turned into a fprintf(stderr, ...) in a followup push in bug 896124.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Reporter)

Updated

5 years ago
Assignee: nobody → jwalden+bmo
status-firefox24: --- → unaffected
status-firefox25: --- → fixed
Target Milestone: --- → mozilla25
Comment hidden (Treeherder Robot)
(Reporter)

Updated

5 years ago
Keywords: intermittent-failure
You need to log in before you can comment on or make changes to this bug.