Perma [tier2] PROCESS-CRASH | 0865530a-cc76-c42a-bb57-893d6369d24d | application crashed [@ operator bool] | /jpegxl/bitdepth-12bpc-reftest.html - single tracking bug
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox152 | --- | unaffected |
| firefox153 | --- | unaffected |
| firefox154 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: yury)
References
(Regression)
Details
(Keywords: crash, intermittent-failure, regression)
Crash Data
Attachments
(1 external file)
Filed by: asilaghi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=575830325&repo=mozilla-central&task=TQn__dSuTDS-rTlITQlctg.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TQn__dSuTDS-rTlITQlctg/runs/0/artifacts/public/logs/live_backing.log
[task 2026-06-30T04:10:27.760+00:00] 04:10:27 INFO - TEST-START | /jpegxl/bitdepth-12bpc-reftest.html
[task 2026-06-30T04:10:27.771+00:00] 04:10:27 INFO - Setting pref layout.disable-pixel-alignment to true
[task 2026-06-30T04:10:27.786+00:00] 04:10:27 INFO - Setting pref layout.css.anchor-positioning.enabled to true
[task 2026-06-30T04:10:27.799+00:00] 04:10:27 INFO - Setting pref network.dns.disableIPv6 to true
[task 2026-06-30T04:10:27.822+00:00] 04:10:27 INFO - Setting pref layout.css.tree-counting-functions.enabled to true
[task 2026-06-30T04:10:27.833+00:00] 04:10:27 INFO - Setting pref image.jxl.enabled to true
[task 2026-06-30T04:10:27.844+00:00] 04:10:27 INFO - PID 1419 | [CodeCoverage] Requested flush for 1419.
[task 2026-06-30T04:10:27.923+00:00] 04:10:27 INFO - PID 1419 | [CodeCoverage] Setting handlers for process 1659.
[task 2026-06-30T04:10:27.937+00:00] 04:10:27 INFO - PID 1419 | [CodeCoverage] Setting handlers for process 1664.
[task 2026-06-30T04:10:28.039+00:00] 04:10:28 INFO - PID 1419 | [CodeCoverage] Setting handlers for process 1665.
[task 2026-06-30T04:10:28.426+00:00] 04:10:28 INFO - PID 1419 | [CodeCoverage] flush completed.
[task 2026-06-30T04:10:28.511+00:00] 04:10:28 INFO - PID 1419 | ExceptionHandler::GenerateDump attempting to generate:/tmp/tmpw6_5tapn/minidumps/0865530a-cc76-c42a-bb57-893d6369d24d.dmp
[task 2026-06-30T04:10:28.521+00:00] 04:10:28 INFO - PID 1419 | ExceptionHandler::GenerateDump cloned child 1738
[task 2026-06-30T04:10:28.522+00:00] 04:10:28 INFO - PID 1419 | ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2026-06-30T04:10:28.522+00:00] 04:10:28 INFO - PID 1419 | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2026-06-30T04:10:28.743+00:00] 04:10:28 INFO - PID 1419 | ExceptionHandler::GenerateDump minidump generation succeeded
[task 2026-06-30T04:10:28.786+00:00] 04:10:28 INFO - PID 1419 | Exiting due to channel error.
[task 2026-06-30T04:10:28.786+00:00] 04:10:28 INFO - PID 1419 | Exiting due to channel error.
[task 2026-06-30T04:10:28.786+00:00] 04:10:28 INFO - PID 1419 | Exiting due to channel error.
[task 2026-06-30T04:10:28.786+00:00] 04:10:28 INFO - PID 1419 | Exiting due to channel error.
[task 2026-06-30T04:10:28.786+00:00] 04:10:28 INFO - PID 1419 | Exiting due to channel error.
[task 2026-06-30T04:10:28.786+00:00] 04:10:28 WARNING - Exception in TestExecutor.run:
[task 2026-06-30T04:10:28.787+00:00] 04:10:28 WARNING - Traceback (most recent call last):
[task 2026-06-30T04:10:28.787+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 331, in run_test
[task 2026-06-30T04:10:28.787+00:00] 04:10:28 WARNING - result = self.do_test(test)
[task 2026-06-30T04:10:28.787+00:00] 04:10:28 WARNING - ^^^^^^^^^^^^^^^^^^
[task 2026-06-30T04:10:28.787+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1216, in do_test
[task 2026-06-30T04:10:28.787+00:00] 04:10:28 WARNING - self.protocol.coverage.reset()
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 565, in reset
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - with self.marionette.using_context(self.marionette.CONTEXT_CHROME):
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - next(self.gen)
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/venv/lib/python3.12/site-packages/marionette_driver/marionette.py", line 1625, in using_context
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - self.set_context(scope)
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/venv/lib/python3.12/site-packages/marionette_driver/marionette.py", line 1603, in set_context
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - self._send_message("Marionette:SetContext", {"value": context})
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/venv/lib/python3.12/site-packages/marionette_driver/decorators.py", line 24, in _
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - return func(*args, **kwargs)
[task 2026-06-30T04:10:28.788+00:00] 04:10:28 WARNING - ^^^^^^^^^^^^^^^^^^^^^
[task 2026-06-30T04:10:28.789+00:00] 04:10:28 WARNING - File "/builds/worker/workspace/build/venv/lib/python3.12/site-packages/marionette_driver/marionette.py", line 770, in _send_message
[task 2026-06-30T04:10:28.789+00:00] 04:10:28 WARNING - raise errors.InvalidSessionIdException("Please start a session")
[task 2026-06-30T04:10:28.789+00:00] 04:10:28 WARNING - marionette_driver.errors.InvalidSessionIdException: Please start a session
[task 2026-06-30T04:10:28.789+00:00] 04:10:28 WARNING -
[task 2026-06-30T04:10:28.789+00:00] 04:10:28 INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ec3Kq3GnQTOVylGhiwcHIQ/artifacts/public/build/target.crashreporter-symbols.zip
[task 2026-06-30T04:10:46.819+00:00] 04:10:46 INFO - mozcrash Copy/paste: /builds/worker/fetches/minidump-stackwalk/minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ --cyborg=/builds/worker/workspace/build/blobber_upload_dir/0865530a-cc76-c42a-bb57-893d6369d24d.json /tmp/tmpw6_5tapn/minidumps/0865530a-cc76-c42a-bb57-893d6369d24d.dmp /tmp/tmp31_koc5e
[task 2026-06-30T04:10:52.305+00:00] 04:10:52 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/0865530a-cc76-c42a-bb57-893d6369d24d.dmp
[task 2026-06-30T04:10:52.305+00:00] 04:10:52 INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/0865530a-cc76-c42a-bb57-893d6369d24d.extra
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - PROCESS-CRASH | 0865530a-cc76-c42a-bb57-893d6369d24d | application crashed [@ operator bool] | /jpegxl/bitdepth-12bpc-reftest.html
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Process type: main
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Process pid: 1419
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Crash dump filename: /tmp/tmpw6_5tapn/minidumps/0865530a-cc76-c42a-bb57-893d6369d24d.dmp
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Operating system: Linux
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 6.17.0-1013-gcp #13~24.04.1-Ubuntu SMP Thu Apr 16 02:10:24 UTC 2026
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - CPU: amd64
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - family 25 model 17 stepping 1
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 8 CPUs
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Linux Ubuntu 24.04 - noble (Ubuntu 24.04.2 LTS)
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO -
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Crash reason: SIGSEGV / SEGV_MAPERR
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Crash address: 0x0000000000000048 **
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - ** Null pointer detected with offset: 0x0000000000000048
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Crashing instruction: `cmp qword [r12 + 0x48], 0x0`
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Memory accessed by instruction:
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 0. Address: 0x0000000000000048
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Size: 8
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Access type: Read
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - No instruction pointer update by instruction
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Process uptime: not available
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO -
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Linux memory map count: 2958
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO -
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Thread 0 firefox-bin (crashed) - tid: 1419
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 0 libxul.so!operator bool [RefPtr.h:f4e6e71e9c4deb3818880f2c8a22de09a92955ce : 337]
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Found by: inlining
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 1 libxul.so!hasBytecode [JSScript.h:f4e6e71e9c4deb3818880f2c8a22de09a92955ce : 1745]
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Found by: inlining
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 2 libxul.so!JSFunction::getOrCreateScript(JSContext*, JS::Handle<JSFunction*>) [JSFunction.h:f4e6e71e9c4deb3818880f2c8a22de09a92955ce : 493 + 0x0]
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rax = 0x000000000000b7bc rdx = 0x0000000000016908
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rcx = 0x000000000000b7bc rbx = 0x00007ffd672fca18
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rsi = 0x000000000000b7bc rdi = 0x00007f4bb304ae00
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rbp = 0x00007ffd672fc9f8 rsp = 0x00007ffd672fc9a0
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - r8 = 0x0000000000016908 r9 = 0x0000000000016908
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - r10 = 0x000000000001690a r11 = 0x0000000000007a7d
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - r12 = 0x0000000000000000 r13 = 0x00007f4bb304ae18
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - r14 = 0x0000000000007a7d r15 = 0x000000000000d323
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rip = 0x00007f4bcf6f1a52
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Found by: given as instruction pointer in context
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - 3 libxul.so!GenerateLcovInfo(JSContext*, JS::Realm*, js::GenericPrinter&) [BytecodeUtil.cpp:f4e6e71e9c4deb3818880f2c8a22de09a92955ce : 3013 + 0xc]
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rbx = 0x00007f4bb304ae00 rbp = 0x00007ffd672fc9f8
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - rsp = 0x00007ffd672fc9d0 r12 = 0x0000000000000110
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - r13 = 0x00007f4bb304ae18 r14 = 0x00007ffd672fca90
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - r15 = 0x00007f4bb304ae20 rip = 0x00007f4bd0b0f835
[task 2026-06-30T04:10:52.968+00:00] 04:10:52 INFO - Found by: call frame info
Comment 1•4 months ago
|
||
Set release status flags based on info from the regressing bug 2050852
:janv, since you are the author of the regressor, bug 2050852, could you take a look?
For more information, please visit BugBot documentation.
Comment 2•4 months ago
|
||
Well, I don't think it's very likely that bug 2050852 caused this. Looking at the stack trace, JSScript.h was touched as part of the merge, and that's from bug 2002637.
Updated•4 months ago
|
| Assignee | ||
Comment 3•4 months ago
•
|
||
Analysis:
The crash is a one-hunk change in js/src/vm/BytecodeUtil.cpp in GenerateLcovInfo:
fun = &obj->as<JSFunction>();
- // Ignore asm.js functions
- if (!fun->isInterpreted()) {
- continue;
- }
+ MOZ_ASSERT(fun->isInterpreted());
A runtime guard was downgraded to a debug-only assertion. The reasoning was presumably "the only non-interpreted functions
in a script's gcthings were asm.js, and asm.js is gone now." That assumption is wrong, and the assert was never caught because
LCov is only generated in coverage/opt builds, where MOZ_ASSERT is compiled out — debug CI doesn't run lcov, so the assert never
fired pre-landing.
Looks like comment code about ignoring asm.js function was incomplete. Let's restore this chunk.
| Assignee | ||
Updated•4 months ago
|
Comment 4•4 months ago
|
||
Thanks!
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 5•4 months ago
|
||
Bug 2002637 (D300555) replaced the "if (!fun->isInterpreted()) continue;"
guard in GenerateLcovInfo with a MOZ_ASSERT, on the assumption that the only
non-interpreted functions reachable here were asm.js functions. That is not
correct: a script's gcthings can contain non-interpreted JSFunctions, and
functions seen while walking the gcthings list directly may be only partially
initialized. In coverage/opt builds MOZ_ASSERT is compiled out, so such a
function falls through to JSFunction::getOrCreateScript and dereferences a
null baseScript(), crashing in hasBytecode(). LCov is only generated in
coverage builds, so the assertion was never exercised before landing.
Restore the runtime guard.
Updated•4 months ago
|
Updated•4 months ago
|
Comment 7•4 months ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Description
•