Open Bug 1988199 Opened 7 months ago Updated 2 days ago

Frequent application crashed [None] | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_background_early_shutdown.js | single tracking bug

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [collect_confirm_failure])

With proper formatting (I'm not used to filing bugs for intermittent failures yet):

Filed by: yjuglaret [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=526385891&repo=try&task=UlicXSyhSsuu3BA9ZYigxw.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UlicXSyhSsuu3BA9ZYigxw/runs/0/artifacts/public/logs/live_backing.log


We get this failure about 2 times per day on macosx1500-aarch64-shippable/opt-xpcshell-1 jobs in bug 1839361. The logs show repeated crashes for test_ext_background_early_shutdown.js where the crash dump has no thread list stream (e.g. repeated 10 times):

[task 2025-09-09T16:09:04.857+00:00] 16:09:04  WARNING -  PROCESS-CRASH | application crashed [None] | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_background_early_shutdown.js
[task 2025-09-09T16:09:04.858+00:00] 16:09:04     INFO -  Process type: unknown
[task 2025-09-09T16:09:04.858+00:00] 16:09:04     INFO -  Process pid: None
[task 2025-09-09T16:09:04.858+00:00] 16:09:04     INFO -  Crash dump filename: /var/folders/qh/xw15j4190vvfkd5hzbl7rx940000jb/T/xpc-other-btpabhti/F07E8001-20DC-4A39-A663-91E799508198.dmp
[task 2025-09-09T16:09:04.858+00:00] 16:09:04     INFO -  stderr from minidump-stackwalk:
[task 2025-09-09T16:09:04.858+00:00] 16:09:04     INFO -  ERROR MissingThreadList - Error processing dump: The thread list stream was not found

This seems followed by the same issue for xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_session.js, except that this one eventually succeeds to run, e.g.:

[task 2025-09-09T16:09:38.296+00:00] 16:09:38  WARNING -  PROCESS-CRASH | application crashed [None] | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_session.js
[task 2025-09-09T16:09:38.296+00:00] 16:09:38     INFO -  Process type: unknown
[task 2025-09-09T16:09:38.296+00:00] 16:09:38     INFO -  Process pid: None
[task 2025-09-09T16:09:38.296+00:00] 16:09:38     INFO -  Crash dump filename: /var/folders/qh/xw15j4190vvfkd5hzbl7rx940000jb/T/xpc-other-3439_ozz/383E55A7-A752-4717-B5E1-C4D2416555F4.dmp
[task 2025-09-09T16:09:38.297+00:00] 16:09:38     INFO -  stderr from minidump-stackwalk:
[task 2025-09-09T16:09:38.297+00:00] 16:09:38     INFO -  ERROR MissingThreadList - Error processing dump: The thread list stream was not found
[task 2025-09-09T16:09:38.331+00:00] 16:09:38  WARNING -  PROCESS-CRASH | application crashed [None] | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_session.js
[task 2025-09-09T16:09:38.331+00:00] 16:09:38     INFO -  Process type: unknown
[task 2025-09-09T16:09:38.331+00:00] 16:09:38     INFO -  Process pid: None
[task 2025-09-09T16:09:38.331+00:00] 16:09:38     INFO -  Crash dump filename: /var/folders/qh/xw15j4190vvfkd5hzbl7rx940000jb/T/xpc-other-3439_ozz/1567F3EC-A75B-404F-8D96-E597AC31F492.dmp
[task 2025-09-09T16:09:38.331+00:00] 16:09:38     INFO -  stderr from minidump-stackwalk:
[task 2025-09-09T16:09:38.331+00:00] 16:09:38     INFO -  ERROR MissingThreadList - Error processing dump: The thread list stream was not found
[task 2025-09-09T16:09:38.424+00:00] 16:09:38     INFO -  >>>>>>>
[task 2025-09-09T16:09:38.424+00:00] 16:09:38     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2025-09-09T16:09:38.424+00:00] 16:09:38     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2025-09-09T16:09:38.424+00:00] 16:09:38     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2025-09-09T16:09:38.424+00:00] 16:09:38     INFO -  running event loop
[task 2025-09-09T16:09:38.425+00:00] 16:09:38     INFO -  xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_session.js | Starting setup check_remote
[task 2025-09-09T16:09:38.425+00:00] 16:09:38     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2025-09-09T16:09:38.425+00:00] 16:09:38     INFO -  TEST-PASS | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_session.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - true == true
[task 2025-09-09T16:09:38.425+00:00] 16:09:38     INFO -  TEST-PASS | xpcshell-remote.toml:toolkit/components/extensions/test/xpcshell/test_ext_storage_session.js | check_remote - [check_remote : 1] testing from extension process - false == false

I doubt that the tests themselves would be the cause for the failure, so this likely belongs in a different component.

See Also: → 1839361

Hi :willdurand, can you confirm if in your opinion these failures are filed in the right component right now, and if not where they might fall? Thanks!

Flags: needinfo?(wdurand)

Redirecting to triage owner

Flags: needinfo?(wdurand) → needinfo?(lgreco)

(In reply to Yannis Juglaret [:yannis] from comment #6)

Hi :willdurand, can you confirm if in your opinion these failures are filed in the right component right now, and if not where they might fall? Thanks!

yes, both those tests are covering WebExtensions internals and so the bugzilla component is the right one for being investigated on our side.

As a side note: both the tests (test_ext_background_early_shutdown.js and test_ext_storage_session.js) are simulating crashes and are supposed to prevent the crash triggered on purpose by the test case themselves to be reported as failures, and so we should look if there have been changes that are making those crash to appear to be failures (or if the way the test is trying to prevent that is being racy and it fails to prevent the crash triggered on purpose from being reported as a failure).

Flags: needinfo?(lgreco)
Depends on: 2031942
See Also: → 1952621
You need to log in before you can comment on or make changes to this bug.