Closed Bug 1637864 Opened 4 years ago Closed 4 years ago

Intermittent Tier 2 /css/css-grid/alignment/grid-self-alignment-stretch-015.html | application crashed [@ xul.dll + 0x403e47] crash reason: js::wasm::Init() failed

Categories

(Core :: JavaScript: WebAssembly, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1547649

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=302208457&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Peq1s7reTIii2OIwPx4fRg/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-14T04:39:59.060Z] 04:39:59     INFO - TEST-START | /css/css-position/animations/left-composition.html
[task 2020-05-14T04:39:59.065Z] 04:39:59     INFO - Closing window 30
[task 2020-05-14T04:40:04.069Z] 04:40:04     INFO - PID 9968 | console.error: (new Error("SessionFile is closed", "resource:///modules/sessionstore/SessionFile.jsm", 433))
[task 2020-05-14T04:40:04.210Z] 04:40:04     INFO - mozcrash Copy/paste: Z:\task_1589426461\fetches\minidump_stackwalk\minidump_stackwalk.exe c:\users\task_1589426461\appdata\local\temp\tmpimdx9y\minidumps\070af232-183c-4a97-8f33-1e4711142dda.dmp c:\users\task_1589426461\appdata\local\temp\tmp9h7t17
[task 2020-05-14T04:40:08.555Z] 04:40:08     INFO - mozcrash Saved minidump as Z:\task_1589426461\build\blobber_upload_dir\070af232-183c-4a97-8f33-1e4711142dda.dmp
[task 2020-05-14T04:40:08.850Z] 04:40:08     INFO - mozcrash Saved app info as Z:\task_1589426461\build\blobber_upload_dir\070af232-183c-4a97-8f33-1e4711142dda.extra
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - PROCESS-CRASH | /css/css-grid/alignment/grid-self-alignment-stretch-015.html | application crashed [@ xul.dll + 0x403e47]
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - Mozilla crash reason: js::wasm::Init() failed
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - Crash dump filename: c:\users\task_1589426461\appdata\local\temp\tmpimdx9y\minidumps\070af232-183c-4a97-8f33-1e4711142dda.dmp
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - Operating system: Windows NT
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO -                   10.0.17134 
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - CPU: amd64
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO -      family 6 model 85 stepping 7
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO -      8 CPUs
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - 
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - GPU: UNKNOWN
[task 2020-05-14T04:40:08.852Z] 04:40:08     INFO - 
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO - Crash reason:  EXCEPTION_BREAKPOINT
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO - Crash address: 0x8de03e47
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO - Assertion: Unknown assertion type 0x00000000
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO - Process uptime: 0 seconds
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO - 
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO - Thread 0 (crashed)
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -  0  xul.dll + 0x403e47
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     rax = 0x00007ffed21b5080   rdx = 0x0000000000000000
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     rcx = 0x00007ffea58afc8b   rbx = 0x000002afc7311190
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     rsi = 0x000002afc73eb040   rdi = 0x000000f8a5dfee90
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     rbp = 0x0000000080004005   rsp = 0x000000f8a5dfee60
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -      r8 = 0x00000000000005af    r9 = 0x000000000000006a
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     r10 = 0x00000fffdcd40be7   r11 = 0x0022008000000002
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     r12 = 0x000002afc7313380   r13 = 0x000002afc737d870
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     r14 = 0x0000000000000001   r15 = 0x0000000000000000
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     rip = 0x00007ffe8de03e47
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     Found by: given as instruction pointer in context
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -  1  xul.dll + 0x1805e05c
[task 2020-05-14T04:40:08.853Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfee70   rip = 0x00007ffea5a5e05c
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  2  xul.dll + 0x17e45ffe
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfee98   rip = 0x00007ffea5845ffe
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  3  xul.dll + 0x1ed688
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfeef0   rip = 0x00007ffe8dbed688
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  4  xul.dll + 0xf8c8a
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfef00   rip = 0x00007ffe8daf8c8a
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  5  mozglue.dll!phc_init + 0x5a6
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfef10   rip = 0x00007ffed1f9f346
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  6  0x2afc73091e0
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfef80   rip = 0x000002afc73091e0
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: call frame info
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  7  xul.dll + 0xc57950f
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfefb0   rip = 0x00007ffe99f7950f
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -  8  xul.dll + 0xf8cc7
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     rsp = 0x000000f8a5dfefc0   rip = 0x00007ffe8daf8cc7
[task 2020-05-14T04:40:08.854Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -  9  xul.dll + 0x14c0e26
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff000   rip = 0x00007ffe8eec0e26
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 10  xul.dll + 0x86ad9e5
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff060   rip = 0x00007ffe960ad9e5
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 11  mozglue.dll!strlen + 0xda8f8
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff0a0   rip = 0x00007ffed21ad5d8
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 12  mozglue.dll!strlen + 0xda821
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff0f8   rip = 0x00007ffed21ad501
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 13  xul.dll + 0x1f20601
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff150   rip = 0x00007ffe8f920601
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 14  xul.dll + 0xc57ac00
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff1e0   rip = 0x00007ffe99f7ac00
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 15  ucrtbase.dll!strset + 0x39298
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff1e8   rip = 0x00007ffee68d94b8
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO - 16  mozglue.dll!void BaseAllocator::free(void *) + 0x119
[task 2020-05-14T04:40:08.855Z] 04:40:08     INFO -     rsp = 0x000000f8a5dff250   rip = 0x00007ffed1f5c619
[task 2020-05-14T04:40:08.856Z] 04:40:08     INFO -     Found by: stack scanning
[task 2020-05-14T04:40:08.856Z] 04:40:08     INFO - 
Summary: Intermittent Tier 2 /css/css-grid/alignment/grid-self-alignment-stretch-015.html | application crashed [@ xul.dll + 0x403e47] → Intermittent Tier 2 /css/css-grid/alignment/grid-self-alignment-stretch-015.html | application crashed [@ xul.dll + 0x403e47] crash reason: js::wasm::Init() failed

Mozilla crash reason: js::wasm::Init() failed

This crash seems unrelated to Grid layout.

Component: Layout: Grid → General

This crash might just be the symptom of an OOM, but I'll move this to the WASM component for now. I feel like we have other similar issues on file.

Component: General → Javascript: WebAssembly

There's a MOZ_RELEASE_ASSERT in wasm::Init that asserts that a static global is only initialized once, namely from within this function. A crash here would indicate illegal reentrancy / multiple calls to wasm::Init without shutting down wasm properly between init calls with a call to wasm::ShutDown.

I see phc_init higher up on the stack, and though I'm inclined to distrust that information it sort of fits with a general "something goes wrong during init" theme.

We have a cluster of problems here that are probably OOM (see "See also" bugs) but could be some other rare bug that triggers the reentrancy release assert?

See Also: → 1547649
Severity: normal → S3

Given that this is an intermittent OOM-related issue, I'm reducing the severity level.

Severity: S3 → S4
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.