Open Bug 1577675 Opened 1 year ago Updated 10 months ago

Intermittent /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noreferrer.html | application crashed [@ mozilla::dom::ContentProcessManager::GetContentProcessById(mozilla::dom::IdType<mo

Categories

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

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure, regression)

Crash Data

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=264146139&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/NI6r0ZfrS3O_srY5YX3ymw/runs/0/artifacts/public/logs/live_backing.log


[task 2019-08-30T00:13:30.099Z] 00:13:30 INFO - IOError on command, setting status to CRASH
[task 2019-08-30T00:13:30.100Z] 00:13:30 INFO - mozcrash Copy/paste: Z:\task_1567119257\build\win32-minidump_stackwalk.exe c:\users\task_1567119257\appdata\local\temp\tmpm0pbnv.mozrunner\minidumps\86be79fd-5077-4e7b-8795-08427d86bdef.dmp Z:\task_1567119257\build\symbols
[task 2019-08-30T00:13:44.312Z] 00:13:44 INFO - mozcrash Saved minidump as Z:\task_1567119257\build\blobber_upload_dir\86be79fd-5077-4e7b-8795-08427d86bdef.dmp
[task 2019-08-30T00:13:44.312Z] 00:13:44 INFO - mozcrash Saved app info as Z:\task_1567119257\build\blobber_upload_dir\86be79fd-5077-4e7b-8795-08427d86bdef.extra
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - PROCESS-CRASH | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noreferrer.html | application crashed [@ mozilla::dom::ContentProcessManager::GetContentProcessById(mozilla::dom::IdType<mozilla::dom::ContentParent> const &)]
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - Crash dump filename: c:\users\task_1567119257\appdata\local\temp\tmpm0pbnv.mozrunner\minidumps\86be79fd-5077-4e7b-8795-08427d86bdef.dmp
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - Operating system: Windows NT
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - 10.0.17134
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - CPU: amd64
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - family 6 model 85 stepping 4
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - 8 CPUs
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO -
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - GPU: UNKNOWN
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO -
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - Crash reason: EXCEPTION_BREAKPOINT
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - Crash address: 0x7ffd9a589b51
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - Process uptime: 733 seconds
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO -
[task 2019-08-30T00:13:44.345Z] 00:13:44 INFO - Thread 0 (crashed)
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - 0 xul.dll!mozilla::dom::ContentProcessManager::GetContentProcessById(mozilla::dom::IdType<mozilla::dom::ContentParent> const &) [ContentProcessManager.cpp:03cc4203321f4f63d08bf290d697e433b72be972 : 65 + 0x0]
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rax = 0x00007ffde0ce93d0 rdx = 0x00007ffdeaeaa640
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rcx = 0x00007ffda2dc1094 rbx = 0x000001d279e08a10
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rsi = 0x00007ffda5f96ba8 rdi = 0x0000004c681fcc80
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rbp = 0x0000000000000048 rsp = 0x0000004c681fcc10
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - r8 = 0x0000004c681f6ba8 r9 = 0x0000000000000000
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - r10 = 0x0000000000000000 r11 = 0x0000004c681f8200
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - r12 = 0x0000004c681fcf80 r13 = 0x0000004c681fcf88
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - r14 = 0x0000004c681fcd18 r15 = 0x0000004c681fcf80
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rip = 0x00007ffd9a589b51
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - Found by: given as instruction pointer in context
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - 1 xul.dll!mozilla::dom::CanonicalBrowsingContext::GetCurrentRemoteType(nsTSubstring<char16_t> &,mozilla::ErrorResult &) [CanonicalBrowsingContext.cpp:03cc4203321f4f63d08bf290d697e433b72be972 : 76 + 0x54]
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rbx = 0x000001d279e08a10 rbp = 0x0000000000000048
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rsp = 0x0000004c681fcc60 r12 = 0x0000004c681fcf80
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - r13 = 0x0000004c681fcf88 r14 = 0x0000004c681fcd18
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - r15 = 0x0000004c681fcf80 rip = 0x00007ffd9d957799
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - Found by: call frame info
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - 2 xul.dll!static bool mozilla::dom::CanonicalBrowsingContext_Binding::get_currentRemoteType(struct JSContext *, class JS::Handle<JSObject *>, class mozilla::dom::CanonicalBrowsingContext *, class JSJitGetterCallArgs) [BrowsingContextBinding.cpp: : 1463 + 0xb]
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rbx = 0x000001d279e08a10 rbp = 0x0000000000000048
[task 2019-08-30T00:13:44.346Z] 00:13:44 INFO - rsp = 0x0000004c681fccc0 r12 = 0x0000004c681fcf80
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - r13 = 0x0000004c681fcf88 r14 = 0x0000004c681fcd18
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - r15 = 0x0000004c681fcf80 rip = 0x00007ffd962b5281
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - Found by: call frame info
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - 3 xul.dll!mozilla::dom::binding_detail::GenericGetter<mozilla::dom::binding_detail::NormalThisPolicy,mozilla::dom::binding_detail::ThrowExceptions>(JSContext *,unsigned int,JS::Value *) [BindingUtils.cpp:03cc4203321f4f63d08bf290d697e433b72be972 : 3059 + 0xa]
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - rbx = 0x000001d279e08a10 rbp = 0x0000000000000048
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - rsp = 0x0000004c681fce30 r12 = 0x0000004c681fcf80
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - r13 = 0x0000004c681fcf88 r14 = 0x0000004c681fcd18
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - r15 = 0x0000004c681fcf80 rip = 0x00007ffd98403245
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - Found by: call frame info
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - 4 xul.dll!js::jit::CallNativeGetter(JSContext *,JS::Handle<JSFunction *>,JS::Handle<JSObject *>,JS::MutableHandle<JS::Value>) [VMFunctions.cpp:03cc4203321f4f63d08bf290d697e433b72be972 : 1554 + 0xa]
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - rbx = 0x000001d279e08a10 rbp = 0x0000000000000048
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - rsp = 0x0000004c681fcf30 r12 = 0x0000004c681fcf80
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - r13 = 0x0000004c681fcf88 r14 = 0x0000004c681fcd18
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - r15 = 0x0000004c681fcf80 rip = 0x00007ffda1429492
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - Found by: call frame info
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - 5 0xbbf45f68db
[task 2019-08-30T00:13:44.347Z] 00:13:44 INFO - rbx = 0x000001d279e08a10 rbp = 0x0000000000000048
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - rsp = 0x0000004c681fd010 r12 = 0x0000004c681fcf80
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - r13 = 0x0000004c681fcf88 r14 = 0x0000004c681fcd18
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - r15 = 0x0000004c681fcf80 rip = 0x000000bbf45f68db
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - Found by: call frame info
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - 6 xul.dll!trunc + 0x5e0c040
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - rsp = 0x0000004c681fd050 rip = 0x00007ffda8b9a1c0
[task 2019-08-30T00:13:44.348Z] 00:13:44 INFO - Found by: stack scanning

The crash volume is low now, but since Nika touched relevant code recently, we may want a quick look and she may have some ideas.

Flags: needinfo?(nika)

Looks like we're running some code in the parent process which is trying to read the RemoteType from the corresponding ContentParent. We try to fetch it from the ContentProcessManager and fail (probably because the process crashed or shut down), causing a MOZ_ASSERT(...).

This crash is a debug-only crash (which is disabled during fuzzing), and the codepath would gracefully recover (by raising an exception) if the assertion didn't happen. I don't think this is very critical. We can probably remove the assertion, or add a codepath which bypasses it, if it becomes an issue.

Flags: needinfo?(nika)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.