Closed Bug 1349542 Opened 7 years ago Closed 7 years ago

Intermittent devtools/client/webconsole/net/test/mochitest/browser_net_headers.js | application crashed [@ mozilla::dom::AutoJSAPI::InitInternal(nsIGlobalObject *,JSObject *,JSContext *,bool)]

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: assertion, bulk-close-intermittents, intermittent-failure)

Attachments

(1 file)

05:14:29     INFO - Assertion failure: false (We had an exception; we should not have), at c:/builds/moz2_slave/m-beta-w32-d-00000000000000000/build/src/dom/base/ScriptSettings.cpp:432




PROCESS-CRASH | devtools/client/webconsole/net/test/mochitest/browser_net_headers.js | application crashed [@ mozilla::dom::AutoJSAPI::InitInternal(nsIGlobalObject *,JSObject *,JSContext *,bool)]
05:14:43     INFO - Crash dump filename: c:\users\cltbld\appdata\local\temp\tmpdkvsx9.mozrunner\minidumps\7a8af91b-b51a-4be3-8b94-d5881d9996a9.dmp
05:14:43     INFO - Operating system: Windows NT
05:14:43     INFO -                   6.1.7601 Service Pack 1
05:14:43     INFO - CPU: x86
05:14:43     INFO -      GenuineIntel family 6 model 62 stepping 4
05:14:43     INFO -      8 CPUs
05:14:43     INFO - 
05:14:43     INFO - GPU: UNKNOWN
05:14:43     INFO - 
05:14:43     INFO - Crash reason:  EXCEPTION_BREAKPOINT
05:14:43     INFO - Crash address: 0x5f5b5bb9
05:14:43     INFO - Process uptime: 29 seconds
05:14:43     INFO - 
05:14:43     INFO - Thread 0 (crashed)
05:14:43     INFO -  0  xul.dll!mozilla::dom::AutoJSAPI::InitInternal(nsIGlobalObject *,JSObject *,JSContext *,bool) [ScriptSettings.cpp:d01bf6283507 : 341 + 0x18]
05:14:43     INFO -     eip = 0x5f5b5bb9   esp = 0x00143628   ebp = 0x00143a40   ebx = 0x00143a4c
05:14:43     INFO -     esi = 0x000001b0   edi = 0x0014368c   eax = 0x00000000   ecx = 0x686206ef
05:14:43     INFO -     edx = 0x00000060   efl = 0x00000216
05:14:43     INFO -     Found by: given as instruction pointer in context
05:14:43     INFO -  1  mozglue.dll!arena_chunk_comp [jemalloc.c:d01bf6283507 : 3204 + 0xa]
05:14:43     INFO -     eip = 0x691b434b   esp = 0x001436c0   ebp = 0x00143af0
05:14:43     INFO -     Found by: stack scanning
05:14:43     INFO -  2  ntdll.dll!ZwFreeVirtualMemory + 0xc
05:14:43     INFO -     eip = 0x774059e4   esp = 0x0014374c   ebp = 0x001436e4
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO -  3  mozglue.dll!arena_dalloc_small [jemalloc.c:d01bf6283507 : 4592 + 0xb]
05:14:43     INFO -     eip = 0x691b4fdd   esp = 0x00143768   ebp = 0x001436e4
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO -  4  mozglue.dll!arena_dalloc [jemalloc.c:d01bf6283507 : 4723 + 0xc]
05:14:43     INFO -     eip = 0x691b4f14   esp = 0x001437ac   ebp = 0x00143794
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO -  5  mozglue.dll!arena_dalloc [jemalloc.c:d01bf6283507 : 4720 + 0x7]
05:14:43     INFO -     eip = 0x691b4efa   esp = 0x0014386c   ebp = 0x00143830
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO -  6  xul.dll!nsTArray_base<nsTArrayInfallibleAllocator,nsTArray_CopyWithMemutils>::ShrinkCapacity(unsigned int,unsigned int) [nsTArray-inl.h:d01bf6283507 : 223 + 0x8]
05:14:43     INFO -     eip = 0x5ea1ba1c   esp = 0x001438e4   ebp = 0x00650064
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO -  7  xul.dll!nsTArray_base<nsTArrayInfallibleAllocator,nsTArray_CopyWithMemutils>::ShiftData<nsTArrayInfallibleAllocator>(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) [nsTArray-inl.h:d01bf6283507 : 261 + 0xb]
05:14:43     INFO -     eip = 0x5ea0e6c2   esp = 0x00143908   ebp = 0x00650064
05:14:43     INFO -     Found by: stack scanning
05:14:43     INFO -  8  nss3.dll!_MD_CURRENT_THREAD [w95thred.c:d01bf6283507 : 317 + 0xc]
05:14:43     INFO -     eip = 0x670c7749   esp = 0x00143918   ebp = 0x00143924
05:14:43     INFO -     Found by: stack scanning
05:14:43     INFO -  9  nss3.dll!PR_GetThreadPrivate [prtpd.c:d01bf6283507 : 204 + 0x5]
05:14:43     INFO -     eip = 0x670d5549   esp = 0x00143934   ebp = 0x00143924
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 10  xul.dll!mozilla::EventListenerManager::Release() [EventListenerManager.h:d01bf6283507 : 266 + 0x54]
05:14:43     INFO -     eip = 0x5f5118d4   esp = 0x00143948   ebp = 0x00143950
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO - 11  xul.dll!mozilla::EventListenerManager::RemoveEventListenerInternal(mozilla::dom::CallbackObjectHolder<mozilla::dom::EventListener,nsIDOMEventListener>,mozilla::EventMessage,nsIAtom *,nsAString_internal const &,mozilla::EventListenerFlags const &,bool) [EventListenerManager.cpp:d01bf6283507 : 678 + 0x17]
05:14:43     INFO -     eip = 0x5fde1b18   esp = 0x00143974   ebp = 0x00143980
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO - 12  xul.dll!mozilla::EventListenerManager::RemoveEventListenerByType(mozilla::dom::CallbackObjectHolder<mozilla::dom::EventListener,nsIDOMEventListener>,nsAString_internal const &,mozilla::EventListenerFlags const &) [EventListenerManager.cpp:d01bf6283507 : 746 + 0x1d]
05:14:43     INFO -     eip = 0x5fde19eb   esp = 0x00143988   ebp = 0x001439b4
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 13  nss3.dll!PR_GetThreadPrivate [prtpd.c:d01bf6283507 : 204 + 0x5]
05:14:43     INFO -     eip = 0x670d5549   esp = 0x001439d4   ebp = 0x001439b4
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO - 14  nss3.dll!_MD_CURRENT_THREAD [w95thred.c:d01bf6283507 : 317 + 0xc]
05:14:43     INFO -     eip = 0x670c7749   esp = 0x00143a08   ebp = 0x00143a08
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO - 15  nss3.dll!_MD_CURRENT_THREAD [w95thred.c:d01bf6283507 : 317 + 0xc]
05:14:43     INFO -     eip = 0x670c7749   esp = 0x00143a18   ebp = 0x00143a08
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 16  nss3.dll!PR_GetThreadPrivate [prtpd.c:d01bf6283507 : 204 + 0x5]
05:14:43     INFO -     eip = 0x670d5549   esp = 0x00143a24   ebp = 0x00143a08
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 17  xul.dll!nsGlobalWindow::Release() [nsGlobalWindow.cpp:d01bf6283507 : 1835 + 0x58]
05:14:43     INFO -     eip = 0x5f54617e   esp = 0x00143a38   ebp = 0x00143a40
05:14:43     INFO -     Found by: call frame info with scanning
05:14:43     INFO - 18  xul.dll!mozilla::dom::AutoJSAPI::Init(nsIGlobalObject *,JSContext *) [ScriptSettings.cpp:d01bf6283507 : 475 + 0x15]
05:14:43     INFO -     eip = 0x5f5b481c   esp = 0x00143a48   ebp = 0x00143a70
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 19  xul.dll!mozilla::dom::AutoJSAPI::Init(nsIGlobalObject *) [ScriptSettings.cpp:d01bf6283507 : 482 + 0x10]
05:14:43     INFO -     eip = 0x5f5b4780   esp = 0x00143a78   ebp = 0x00143a84
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 20  xul.dll!nsXBLBinding::ChangeDocument(nsIDocument *,nsIDocument *) [nsXBLBinding.cpp:d01bf6283507 : 751 + 0x13]
05:14:43     INFO -     eip = 0x602e49d4   esp = 0x00143a8c   ebp = 0x00143b48
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 21  nss3.dll!_MD_CURRENT_THREAD [w95thred.c:d01bf6283507 : 317 + 0xc]
05:14:43     INFO -     eip = 0x670c7749   esp = 0x00143a9c   ebp = 0x00143b48
05:14:43     INFO -     Found by: stack scanning
05:14:43     INFO - 22  nss3.dll!_MD_CURRENT_THREAD [w95thred.c:d01bf6283507 : 317 + 0xc]
05:14:43     INFO -     eip = 0x670c7749   esp = 0x00143ab4   ebp = 0x00143b48
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 23  nss3.dll!_MD_CURRENT_THREAD [w95thred.c:d01bf6283507 : 317 + 0xc]
05:14:43     INFO -     eip = 0x670c7749   esp = 0x00143ac8   ebp = 0x00143b48
05:14:43     INFO -     Found by: call frame info
05:14:43     INFO - 24  nss3.dll!PR_GetThreadPrivate [prtpd.c:d01bf6283507 : 204 + 0x5]
Component: JavaScript Engine → DOM
Keywords: assertion
Attached file assertion stack
bz: could you take a look at this assertion failure, thanks
Assignee: nobody → cbook
Flags: needinfo?(bzbarsky)
Assignee: cbook → nobody
So the really interesting and relevant part of the log here ought to be:

05:14:29     INFO - PREEXISTING EXCEPTION OBJECT: 'undefined: undefined'
05:14:29     INFO - undefined:0
05:14:29     INFO - undefined

which is sadly not as useful as it could be.  There's an exception, but we got nothing useful off it.

That _might_ be because we ended up with a security wrapper, or it might be because some chrome code threw a non-Error object like it tends to do.  In any case, the assert is just telling us "someone running before me screwed up and left a dangling exception".

To find the someone, we need info about the exception, or an rr trace, or a way to reproduce or something.

I filed bug 1349690 on hopefully improving the logging, so if this happens again we can have a bit more data.
Depends on: 1349690
Flags: needinfo?(bzbarsky)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: