Closed Bug 2031243 Opened 3 months ago Closed 3 months ago

Intermittent TV modules/libjar/test/unit/test_bug1550815.js | xpcshell return code: -7

Categories

(Core :: Networking: JAR, defect, P5)

defect

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox149 --- unaffected
firefox150 --- unaffected
firefox151 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: valentin)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 file)

Filed by: agoloman [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=559648133&repo=autoland&task=J6bWcR0xTVapA0BEzTHqFQ.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J6bWcR0xTVapA0BEzTHqFQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/default/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J6bWcR0xTVapA0BEzTHqFQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2026-04-13T09:00:41.212+00:00] 09:00:41     INFO - TEST-START | modules/libjar/test/unit/test_bug1550815.js
[task 2026-04-13T09:00:41.516+00:00] 09:00:41     INFO - TEST-UNEXPECTED-FAIL | modules/libjar/test/unit/test_bug1550815.js | xpcshell return code: -7
[task 2026-04-13T09:00:41.516+00:00] 09:00:41     INFO - TEST-INFO took 305ms
[task 2026-04-13T09:00:41.516+00:00] 09:00:41     INFO - >>>>>>> Begin of full log for modules/libjar/test/unit/test_bug1550815.js
[task 2026-04-13T09:00:41.517+00:00] 09:00:41     INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2026-04-13T09:00:41.518+00:00] 09:00:41     INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2026-04-13T09:00:41.518+00:00] 09:00:41     INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2026-04-13T09:00:41.519+00:00] 09:00:41     INFO - running event loop
[task 2026-04-13T09:00:41.519+00:00] 09:00:41     INFO - modules/libjar/test/unit/test_bug1550815.js | Starting test_truncate
[task 2026-04-13T09:00:41.520+00:00] 09:00:41     INFO - (xpcshell/head.js) | test test_truncate pending (2)
[task 2026-04-13T09:00:41.521+00:00] 09:00:41     INFO - TEST-PASS | modules/libjar/test/unit/test_bug1550815.js | test_truncate - [test_truncate : 27] 2152857618 == 2152857618
[task 2026-04-13T09:00:41.521+00:00] 09:00:41     INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2026-04-13T09:00:41.522+00:00] 09:00:41     INFO - (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2026-04-13T09:00:41.522+00:00] 09:00:41     INFO - (xpcshell/head.js) | test test_truncate finished (2)
[task 2026-04-13T09:00:41.523+00:00] 09:00:41     INFO - "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2026-04-13T09:00:41.523+00:00] 09:00:41     INFO - modules/libjar/test/unit/test_bug1550815.js | Starting test_inner
[task 2026-04-13T09:00:41.524+00:00] 09:00:41     INFO - (xpcshell/head.js) | test test_inner pending (2)
[task 2026-04-13T09:00:41.524+00:00] 09:00:41     INFO - <<<<<<< End of full log for modules/libjar/test/unit/test_bug1550815.js
[task 2026-04-13T09:00:41.525+00:00] 09:00:41     INFO - TEST-START | modules/libjar/test/unit/test_bug1550815.js

Keywords: regression
Regressed by: CVE-2026-2779
Flags: needinfo?(valentin.gosu)

The issue seems to be that MmapSIGBUSHandler calls siglongjmp to escape the SIGBUS, but TSAN wraps signal delivery internally and doesn't support non-local jumps out of signal handlers — siglongjmp from within a TSAN-intercepted signal handler corrupts TSAN's internal state, causing the crash. I think it's fine to just skip this test on TSAN.

Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu)

MmapSIGBUSHandler calls siglongjmp to escape the SIGBUS, but TSAN wraps signal
delivery internally and doesn't support non-local jumps out of signal handlers.

We skip this test under tsan.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: