Closed Bug 732314 Opened 13 years ago Closed 12 years ago

Intermittent example\unit\test_get_idle.js | test failed (with xpcshell return code: -2147483645) from ###!!! ASSERTION: Shutdown was not observed!: 'shutdownObserved'

Categories

(Toolkit :: Storage, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

Yeah, pretty awesome, failing an example test. https://tbpl.mozilla.org/php/getParsedLog.php?id=9754771&tree=Mozilla-Inbound Rev3 WINNT 5.1 mozilla-inbound debug test xpcshell on 2012-03-01 13:40:09 PST for push 51bff179fa81 https://tbpl.mozilla.org/php/getParsedLog.php?id=9759375&tree=Mozilla-Inbound Rev3 WINNT 5.1 mozilla-inbound debug test xpcshell on 2012-03-01 16:54:49 PST for push 46a1c807df2b TEST-INFO | c:\talos-slave\test\build\xpcshell\tests\testing\xpcshell\example\unit\test_get_idle.js | running test ... TEST-UNEXPECTED-FAIL | c:\talos-slave\test\build\xpcshell\tests\testing\xpcshell\example\unit\test_get_idle.js | test failed (with xpcshell return code: -2147483645), see following log: >>>>>>> ### XPCOM_MEM_LEAK_LOG defined -- logging leaks to c:\docume~1\cltbld\locals~1\temp\tmpslh-n4\runxpcshelltests_leaks.log WARNING: CheckLinkStatus called on main thread! No check performed. Assuming link is up, status is unknown.: file e:/builds/moz2_slave/m-in-w32-dbg/build/netwerk/system/win32/nsNotifyAddrListener.cpp, line 414 TEST-INFO | (xpcshell/head.js) | test 1 pending Init the fake idle service and check its identity. TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/testing/xpcshell/example/unit/test_get_idle.js | [run_test : 15] 0 == 0 Init the real idle service and check its identity. TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 1 (+ 0) check(s) passed TEST-INFO | (xpcshell/head.js) | 0 check(s) todo WARNING: nsExceptionService ignoring thread destruction after shutdown: file e:/builds/moz2_slave/m-in-w32-dbg/build/xpcom/base/nsExceptionService.cpp, line 199 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file e:/builds/moz2_slave/m-in-w32-dbg/build/toolkit/components/places/Database.cpp, line 503 WARNING: NS_ENSURE_TRUE(mDB) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/toolkit/components/places/nsNavHistory.cpp, line 341 uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: resource://gre/modules/XPCOMUtils.jsm :: XPCU_serviceLambda :: line 232" data: no] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file e:/builds/moz2_slave/m-in-w32-dbg/build/toolkit/components/places/Database.cpp, line 503 WARNING: NS_ENSURE_TRUE(mDB) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/toolkit/components/places/nsNavHistory.cpp, line 341 ###!!! ASSERTION: Shutdown was not observed!: 'shutdownObserved', file e:/builds/moz2_slave/m-in-w32-dbg/build/storage/src/mozStorageService.cpp, line 474 nsStringStats => mAllocCount: 1957 => mReallocCount: 174 => mFreeCount: 783 -- LEAKED 1174 !!! => mShareCount: 7525 => mAdoptCount: 92 => mAdoptFreeCount: 90 -- LEAKED 2 !!! xul!XRE_TelemetryAccumulate+0x000000000000209A xul!XRE_GetFileFromPath+0x000000000001471F xul!JSD_GetValueForObject+0x000000000026112F xul!NS_GetComponentRegistrar_P+0x0000000000000498 xul!JSD_GetValueForObject+0x00000000002663C5 xul!NS_GetComponentRegistrar_P+0x0000000000000A33 xul!NS_GetComponentRegistrar_P+0x00000000000020C5 0x00000000004072F5 0x000000000040C70F 0x000000000040C53F kernel32!RegisterWaitForInputIdle+0x0000000000000049 ###!!! ASSERTION: Shutdown was not observed!: 'shutdownObserved', file e:/builds/moz2_slave/m-in-w32-dbg/build/storage/src/mozStorageService.cpp, line 474 <<<<<<< Downloading symbols from: http://stage.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win32-debug/1330631024/firefox-13.0a1.en-US.win32.crashreporter-symbols.zip PROCESS-CRASH | c:\talos-slave\test\build\xpcshell\tests\testing\xpcshell\example\unit\test_get_idle.js | application crashed (minidump found) Crash dump filename: c:\talos-slave\test\build\xpcshell\tests\testing\xpcshell\example\unit\753ca8b7-3542-4b93-8d28-24ebbbd57c6c.dmp Operating system: Windows NT 5.1.2600 Service Pack 2 CPU: x86 GenuineIntel family 6 model 23 stepping 10 2 CPUs Crash reason: EXCEPTION_BREAKPOINT Crash address: 0x2531295 Thread 0 (crashed) 0 mozalloc.dll!mozalloc_abort(char const * const) [mozalloc_abort.cpp:51bff179fa81 : 79 + 0x0] eip = 0x02531295 esp = 0x0012f950 ebp = 0x0012f958 ebx = 0x00000040 esi = 0x10261440 edi = 0x10260670 eax = 0x00000000 ecx = 0x93c3bd02 edx = 0x10361f48 efl = 0x00000206 Found by: given as instruction pointer in context 1 xul.dll!NS_DebugBreak_P [nsDebugImpl.cpp:51bff179fa81 : 375 + 0xc] eip = 0x011084ee esp = 0x0012f960 ebp = 0x0012fd7c Found by: call frame info 2 xul.dll!mozilla::storage::Service::~Service() [mozStorageService.cpp:51bff179fa81 : 474 + 0x18] eip = 0x00e0b0db esp = 0x0012fd84 ebp = 0x0012fdac Found by: call frame info 3 xul.dll!mozilla::storage::Service::`scalar deleting destructor'(unsigned int) + 0xa eip = 0x00e0b2fb esp = 0x0012fda8 ebp = 0x0012fdac Found by: stack scanning 4 xul.dll!mozilla::storage::Service::Release() [mozStorageService.cpp:51bff179fa81 : 377 + 0x58] eip = 0x00e091ab esp = 0x0012fdb4 ebp = 0x0012fdc4 Found by: call frame info 5 xul.dll!nsCOMPtr_base::assign_assuming_AddRef(nsISupports *) [nsCOMPtr.h:51bff179fa81 : 469 + 0x7] eip = 0x0044cc22 esp = 0x0012fdcc ebp = 0x0012fdd8 Found by: call frame info 6 xul.dll!nsCOMPtr_base::assign_with_AddRef(nsISupports *) [nsCOMPtr.cpp:51bff179fa81 : 89 + 0x7] eip = 0x010be946 esp = 0x0012fde0 ebp = 0x0012fdf8 Found by: call frame info 7 xul.dll!FreeFactoryEntries [nsComponentManager.cpp:51bff179fa81 : 1088 + 0x9] eip = 0x010f939e esp = 0x0012fdf0 ebp = 0x0012fdf8 Found by: stack scanning 8 xul.dll!nsBaseHashtable<nsIDHashKey,nsFactoryEntry *,nsFactoryEntry *>::s_EnumReadStub(PLDHashTable *,PLDHashEntryHdr *,unsigned int,void *) [nsBaseHashtable.h:51bff179fa81 : 395 + 0x12] eip = 0x010f77c0 esp = 0x0012fe00 ebp = 0x0012fe10 Found by: call frame info 9 xul.dll!PL_DHashTableEnumerate [pldhash.cpp:51bff179fa81 : 754 + 0xa] eip = 0x010c3bdc esp = 0x0012fe18 ebp = 0x0012fe44 Found by: call frame info 10 xul.dll!nsBaseHashtable<nsIDHashKey,nsFactoryEntry *,nsFactoryEntry *>::EnumerateRead(PLDHashOperator (*)(nsID const &,nsFactoryEntry *,void *),void *) [nsBaseHashtable.h:51bff179fa81 : 206 + 0xe] eip = 0x010f7d5b esp = 0x0012fe4c ebp = 0x0012fe64 Found by: call frame info 11 xul.dll!nsComponentManagerImpl::FreeServices() [nsComponentManager.cpp:51bff179fa81 : 1100 + 0xe] eip = 0x010f93ed esp = 0x0012fe6c ebp = 0x0012fea0 Found by: call frame info 12 xul.dll!CloneAndAppend [nsComponentManager.cpp:51bff179fa81 : 276 + 0x1]
hm, something is trying to init Places after xpcom-shutdown, and judgind by the test may be idle service firing idle-daily.
Blocks: 720493
Depends on: 732368
No longer blocks: 720493
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.