Closed Bug 1367685 Opened 9 years ago Closed 5 years ago

Intermittent gtest | application crashed [@ mozalloc_abort(char const * const)] after ASSERTION: IsMainProcess() called before indexedDB has been initialized!: 'gDBManager', IndexedDatabaseManager.cpp, line 688

Categories

(Core :: Storage: IndexedDB, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: aryx, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: assertion, intermittent-failure)

https://treeherder.mozilla.org/logviewer.html#?job_id=101883404&repo=mozilla-inbound 00:52:06 INFO - TEST-START | IHistory.Test 00:52:06 INFO - TEST-INFO | Disabling Idle Service. 00:52:06 INFO - TEST-INFO | Running test_set_places_enabled. 00:52:06 INFO - TEST-INFO | Running test_wait_checkpoint. 00:52:06 INFO - [696] ###!!! ASSERTION: IsMainProcess() called before indexedDB has been initialized!: 'gDBManager', file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/dom/indexedDB/IndexedDatabaseManager.cpp, line 688 00:52:18 INFO - #01: mozilla::dom::workers::serviceWorkerScriptCache::`anonymous namespace'::CompareCache::ManageValueResult [dom/workers/ServiceWorkerScriptCache.cpp:995] 00:52:18 INFO - #02: mozilla::dom::workers::serviceWorkerScriptCache::`anonymous namespace'::CompareCache::ManageCacheResult [dom/workers/ServiceWorkerScriptCache.cpp:946] 00:52:18 INFO - #03: mozilla::dom::ipc::UnpackClonedMessageData<0,1> [dom/ipc/StructuredCloneData.cpp:322] 00:52:18 INFO - #04: mozilla::dom::TabParent::SendRealMouseEvent(mozilla::WidgetMouseEvent &) [dom/ipc/TabParent.cpp:1093] 00:52:18 INFO - #05: nsFileInputStream::~nsFileInputStream() [netwerk/base/nsFileStreams.h:160] 00:52:18 INFO - #06: mozilla::LinkedListElement<mozilla::net::PendingPACQuery>::~LinkedListElement<mozilla::net::PendingPACQuery>() [obj-firefox/dist/include/mozilla/LinkedList.h:198] 00:52:18 INFO - #07: js::SetPropertyIgnoringNamedGetter(JSContext *,JS::Handle<JSObject *>,JS::Handle<jsid>,JS::Handle<JS::Value>,JS::Handle<JS::Value>,JS::Handle<JS::PropertyDescriptor>,JS::ObjectOpResult &) [js/src/proxy/BaseProxyHandler.cpp:178] 00:52:18 INFO - #08: js::SelectDeadProxyHandler(js::ProxyObject *) [js/src/proxy/DeadObjectProxy.cpp:198] 00:52:18 INFO - #09: js::GlobalObject::createConstructor(JSContext *,bool (*)(JSContext *,unsigned int,JS::Value *),JSAtom *,unsigned int,js::gc::AllocKind,JSJitInfo const *) [js/src/vm/GlobalObject.cpp:571] 00:52:18 INFO - #10: js::GlobalHelperThreadState::trace(JSTracer *) [js/src/vm/HelperThreads.cpp:2034] 00:52:18 INFO - #11: js::GlobalHelperThreadState::trace(JSTracer *) [js/src/vm/HelperThreads.cpp:2014] 00:52:18 INFO - #12: js::GlobalHelperThreadState::waitForAllThreads() [js/src/vm/HelperThreads.cpp:935] 00:52:18 INFO - #13: js::GlobalObject::createInternal(JSContext *,js::Class const *) [js/src/vm/GlobalObject.cpp:327] 00:52:18 INFO - #14: js::ProfileEntry::trace(JSTracer *) [js/src/vm/GeckoProfiler.cpp:414] 00:52:18 INFO - #15: js::AsyncFunctionAwaitedRejected(JSContext *,JS::Handle<js::PromiseObject *>,JS::Handle<JS::Value>,JS::Handle<JS::Value>) [js/src/vm/AsyncFunction.cpp:227] 00:52:18 INFO - #16: sdp_get_media_direction [media/webrtc/signaling/src/sdp/sipcc/sdp_attr_access.c:1019] 00:52:18 INFO - #17: sdp_attr_get_sdescriptions_crypto_suite [media/webrtc/signaling/src/sdp/sipcc/sdp_attr_access.c:5511] 00:52:18 INFO - #18: sdp_attr_get_rtcp_fb_remb_enabled [media/webrtc/signaling/src/sdp/sipcc/sdp_attr_access.c:6062] 00:52:18 INFO - #19: mozilla::JsepSessionImpl::CreateAnswerMSection(mozilla::JsepAnswerOptions const &,unsigned int,mozilla::SdpMediaSection const &,mozilla::Sdp *) [media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp:1002] 00:52:18 INFO - #20: do_main [browser/app/nsBrowserApp.cpp:237] 00:52:18 INFO - #21: NS_internal_main(int,char * *,char * *) [browser/app/nsBrowserApp.cpp:309] 00:52:18 INFO - #22: wmain [toolkit/xre/nsWindowsWMain.cpp:118] 00:52:18 INFO - #23: __scrt_common_main_seh [f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl:253] 00:52:18 INFO - #24: kernel32.dll + 0x53c45 00:52:18 INFO - #25: ntdll.dll + 0x637f5 00:52:18 INFO - #26: ntdll.dll + 0x637c8 00:52:18 INFO - [696] ###!!! ASSERTION: IsMainProcess() called before indexedDB has been initialized!: 'gDBManager', file c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/dom/indexedDB/IndexedDatabaseManager.cpp, line 688 00:52:18 INFO - Hit MOZ_CRASH() at c:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/src/memory/mozalloc/mozalloc_abort.cpp:33 00:52:18 INFO - mozcrash INFO | Copy/paste: c:\slave\test\build\win32-minidump_stackwalk.exe c:\slave\test\build\tests\gtest\ff40a018-c88a-4ad3-b6a9-363702f7243f.dmp c:\slave\test\build\symbols 00:52:23 INFO - mozcrash INFO | Saved minidump as c:\slave\test\build\blobber_upload_dir\ff40a018-c88a-4ad3-b6a9-363702f7243f.dmp 00:52:23 INFO - mozcrash INFO | Saved app info as c:\slave\test\build\blobber_upload_dir\ff40a018-c88a-4ad3-b6a9-363702f7243f.extra 00:52:23 WARNING - PROCESS-CRASH | gtest | application crashed [@ mozalloc_abort(char const * const)] 00:52:23 INFO - Crash dump filename: c:\slave\test\build\tests\gtest\ff40a018-c88a-4ad3-b6a9-363702f7243f.dmp 00:52:23 INFO - Operating system: Windows NT 00:52:23 INFO - 6.1.7601 Service Pack 1 00:52:23 INFO - CPU: x86 00:52:23 INFO - GenuineIntel family 6 model 62 stepping 4 00:52:23 INFO - 8 CPUs 00:52:23 INFO - GPU: UNKNOWN 00:52:23 INFO - Crash reason: EXCEPTION_BREAKPOINT 00:52:23 INFO - Crash address: 0x730f2e6d 00:52:23 INFO - Process uptime: 369 seconds 00:52:23 INFO - Thread 0 (crashed) 00:52:23 INFO - 0 mozglue.dll!mozalloc_abort(char const * const) [mozalloc_abort.cpp:829d292738ba : 33 + 0x14] 00:52:23 INFO - eip = 0x730f2e6d esp = 0x002ff078 ebp = 0x002ff078 ebx = 0x00000002 00:52:23 INFO - esi = 0xfffffffe edi = 0x6512cf70 eax = 0x00000000 ecx = 0x651206ef 00:52:23 INFO - edx = 0x00000060 efl = 0x00000206 00:52:23 INFO - Found by: given as instruction pointer in context 00:52:23 INFO - 1 xul.dll + 0x4c2ca3 00:52:23 INFO - eip = 0x5da72ca3 esp = 0x002ff080 ebp = 0x002ff4c0 00:52:23 INFO - Found by: call frame info 00:52:23 INFO - 2 xul.dll + 0x1d5f0e5 00:52:23 INFO - eip = 0x5f30f0e5 esp = 0x002ff4c8 ebp = 0x002ff4e8 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 3 xul.dll + 0x1d5eb49 00:52:23 INFO - eip = 0x5f30eb49 esp = 0x002ff4f0 ebp = 0x002ff66c 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 4 xul.dll + 0x1d5e8a9 00:52:23 INFO - eip = 0x5f30e8a9 esp = 0x002ff674 ebp = 0x002ff690 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 5 xul.dll + 0x1cfc687 00:52:23 INFO - eip = 0x5f2ac687 esp = 0x002ff698 ebp = 0x002ff6a0 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 6 xul.dll + 0x1d26e4b 00:52:23 INFO - eip = 0x5f2d6e4b esp = 0x002ff6a8 ebp = 0x002ff6b4 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 7 xul.dll + 0x53c474 00:52:23 INFO - eip = 0x5daec474 esp = 0x002ff6bc ebp = 0x002ff7a8 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 8 xul.dll + 0x53b8c0 00:52:23 INFO - eip = 0x5daeb8c0 esp = 0x002ff7b0 ebp = 0x002ff7c4 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 9 xul.dll + 0x3177f4f 00:52:23 INFO - eip = 0x60727f4f esp = 0x002ff7cc ebp = 0x002ff7d8 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 10 xul.dll + 0x3177e77 00:52:23 INFO - eip = 0x60727e77 esp = 0x002ff7e0 ebp = 0x002ff7f0 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 11 xul.dll + 0x300d377 00:52:23 INFO - eip = 0x605bd377 esp = 0x002ff7f8 ebp = 0x002ff824 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 12 xul.dll + 0x301ae6d 00:52:23 INFO - eip = 0x605cae6d esp = 0x002ff82c ebp = 0x002ff85c 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 13 xul.dll + 0x301af19 00:52:23 INFO - eip = 0x605caf19 esp = 0x002ff864 ebp = 0x002ff87c 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 14 xul.dll + 0x301b29f 00:52:23 INFO - eip = 0x605cb29f esp = 0x002ff884 ebp = 0x002ff8b0 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 15 xul.dll + 0x300d4af 00:52:23 INFO - eip = 0x605bd4af esp = 0x002ff8b8 ebp = 0x002ff8e4 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 16 xul.dll + 0x301b0c8 00:52:23 INFO - eip = 0x605cb0c8 esp = 0x002ff8ec ebp = 0x002ff904 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 17 xul.dll + 0x301fc88 00:52:23 INFO - eip = 0x605cfc88 esp = 0x002ff90c ebp = 0x002ff948 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 18 xul.dll + 0x2d4e493 00:52:23 INFO - eip = 0x602fe493 esp = 0x002ff950 ebp = 0x002ffa00 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 19 xul.dll + 0x2d4c4b8 00:52:23 INFO - eip = 0x602fc4b8 esp = 0x002ffa08 ebp = 0x002ffa48 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 20 xul.dll + 0x2d4c015 00:52:23 INFO - eip = 0x602fc015 esp = 0x002ffa50 ebp = 0x002ffb60 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 21 xul.dll + 0x2d581e2 00:52:23 INFO - eip = 0x603081e2 esp = 0x002ffb68 ebp = 0x002ffb74 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 22 firefox.exe!do_main [nsBrowserApp.cpp:829d292738ba : 236 + 0x26] 00:52:23 INFO - eip = 0x00a4173b esp = 0x002ffb7c ebp = 0x002ffcb8 00:52:23 INFO - Found by: previous frame's frame pointer 00:52:23 INFO - 23 firefox.exe!NS_internal_main(int,char * *,char * *) [nsBrowserApp.cpp:829d292738ba : 309 + 0xc] 00:52:23 INFO - eip = 0x00a413a5 esp = 0x002ffcc0 ebp = 0x002ffcf0 00:52:23 INFO - Found by: call frame info 00:52:23 INFO - 24 firefox.exe!wmain [nsWindowsWMain.cpp:829d292738ba : 115 + 0xf] 00:52:23 INFO - eip = 0x00a41a78 esp = 0x002ffcf8 ebp = 0x002ffd30 00:52:23 INFO - Found by: call frame info 00:52:23 INFO - 25 firefox.exe!__scrt_common_main_seh [exe_common.inl : 253 + 0x1d] 00:52:23 INFO - eip = 0x00a763eb esp = 0x002ffd38 ebp = 0x002ffd78 00:52:23 INFO - Found by: call frame info 00:52:23 INFO - 26 kernel32.dll!BaseThreadInitThunk + 0x12 00:52:23 INFO - eip = 0x76713c45 esp = 0x002ffd80 ebp = 0x002ffd84 00:52:23 INFO - Found by: call frame info 00:52:23 INFO - 27 ntdll.dll!__RtlUserThreadStart + 0x27 00:52:23 INFO - eip = 0x76eb37f5 esp = 0x002ffd8c ebp = 0x002ffdc4 00:52:23 INFO - Found by: call frame info 00:52:23 INFO - 28 ntdll.dll!_RtlUserThreadStart + 0x1b 00:52:23 INFO - eip = 0x76eb37c8 esp = 0x002ffdcc ebp = 0x002ffddc 00:52:23 INFO - Found by: call frame info
Flags: needinfo?(jvarga)
Wait, that stack looks bogus.
Yes, it doesn't make sense.
Flags: needinfo?(jvarga)
Priority: -- → P5
Looking at the frequency in the bug I just duped over and what I'm seeing of it on Beta after today's merge, it looks like this is spiking on Win10. https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1395533&endday=2017-09-21&startday=2017-09-14&tree=all
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.