Closed Bug 2040331 Opened 6 months ago Closed 24 days ago

Intermittent Assertion failure: !weakmap->memberOf->isMarkedAny(), at checkouts/gecko/js/src/gc/WeakMap.cpp:X

Categories

(Core :: JavaScript: GC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox-esr153 --- fixed
firefox154 --- fixed

People

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

References

(Blocks 1 open bug)

Details

(Keywords: assertion, intermittent-failure)

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


[task 2026-05-18T10:40:28.582+00:00] 10:40:28     INFO - TEST-START | dom/base/test/test_domparser_null_char.html
[task 2026-05-18T10:40:28.602+00:00] 10:40:28     INFO - GECKO(1409) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpdfv8sjkv.mozrunner/runtests_leaks_tab_pid1528.log
[task 2026-05-18T10:40:28.627+00:00] 10:40:28     INFO - GECKO(1409) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpdfv8sjkv.mozrunner/runtests_leaks_tab_pid1529.log
[task 2026-05-18T10:40:28.637+00:00] 10:40:28     INFO - GECKO(1409) | MEMORY STAT | vsize 404043MB | residentFast 164MB | heapAllocated 11MB
[task 2026-05-18T10:40:28.662+00:00] 10:40:28     INFO - GECKO(1409) | [1418] Assertion failure: !weakmap->memberOf->isMarkedAny(), at checkouts/gecko/js/src/gc/WeakMap.cpp:270
[task 2026-05-18T10:40:28.665+00:00] 10:40:28     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2026-05-18T10:40:36.638+00:00] 10:40:36     INFO - GECKO(1409) | #01: JS::Zone::sweepWeakMaps(JSTracer*) [git:github.com/mozilla-firefox/firefox:js/src/gc/WeakMap.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:0]
[task 2026-05-18T10:40:36.638+00:00] 10:40:36     INFO - GECKO(1409) | #02: js::gc::GCRuntime::sweepWeakMaps() [git:github.com/mozilla-firefox/firefox:js/src/gc/Sweeping.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:1450]
[task 2026-05-18T10:40:36.638+00:00] 10:40:36     INFO - GECKO(1409) | #03: js::gc::AutoRunParallelTask::run(js::AutoLockHelperThreadState&) [git:github.com/mozilla-firefox/firefox:js/src/gc/GCInternals.h:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:142]
[task 2026-05-18T10:40:36.639+00:00] 10:40:36     INFO - GECKO(1409) | #04: js::GCParallelTask::runTask(JS::GCContext*, js::AutoLockHelperThreadState&) [git:github.com/mozilla-firefox/firefox:js/src/gc/GCParallelTask.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:220]
[task 2026-05-18T10:40:36.639+00:00] 10:40:36     INFO - GECKO(1409) | #05: js::GCParallelTask::runHelperThreadTask(js::AutoLockHelperThreadState&) [git:github.com/mozilla-firefox/firefox:js/src/gc/GCParallelTask.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:202]
[task 2026-05-18T10:40:36.639+00:00] 10:40:36     INFO - GECKO(1409) | #06: js::GlobalHelperThreadState::runTaskLocked(JS::HelperThreadTask*, js::AutoLockHelperThreadState&) [git:github.com/mozilla-firefox/firefox:js/src/vm/HelperThreads.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:666]
[task 2026-05-18T10:40:36.639+00:00] 10:40:36     INFO - GECKO(1409) | #07: JS::RunHelperThreadTask(JS::HelperThreadTask*) [git:github.com/mozilla-firefox/firefox:js/src/vm/HelperThreads.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:610]
[task 2026-05-18T10:40:36.639+00:00] 10:40:36     INFO - GECKO(1409) | #08: HelperThreadTaskHandler::Run() [git:github.com/mozilla-firefox/firefox:js/xpconnect/src/XPCJSContext.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:1166]
[task 2026-05-18T10:40:36.639+00:00] 10:40:36     INFO - GECKO(1409) | #09: mozilla::TaskController::RunPoolThread(mozilla::PoolThread*) [git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:447]
[task 2026-05-18T10:40:36.702+00:00] 10:40:36     INFO - GECKO(1409) | #10: _pt_root [git:github.com/mozilla-firefox/firefox:nsprpub/pr/src/pthreads/ptthread.c:09bbd3cf97d73bdd72a59e725131fe65fdae86c3:193]
[task 2026-05-18T10:40:36.703+00:00] 10:40:36     INFO - GECKO(1409) | #11: _pthread_start [/usr/lib/system/libsystem_pthread.dylib + 0x72e4]
[task 2026-05-18T10:40:36.704+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer E9E762D9CF24A0D3.5CA36182C2BA137B: file checkouts/gecko/ipc/glue/NodeController.cpp:371
[task 2026-05-18T10:40:36.704+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPC I/O Parent] WARNING: [1.1]: Rejecting introduction request from '4540953594F6EF9E.5F1BD0AACB0980A6' for unknown peer 'E9E762D9CF24A0D3.5CA36182C2BA137B': file checkouts/gecko/ipc/glue/NodeController.cpp:709
[task 2026-05-18T10:40:36.704+00:00] 10:40:36     INFO - GECKO(1409) | [GPU 1412, IPC I/O Child] WARNING: [4540953594F6EF9E.5F1BD0AACB0980A6]: Could not be introduced to peer E9E762D9CF24A0D3.5CA36182C2BA137B: file checkouts/gecko/ipc/glue/NodeController.cpp:636
[task 2026-05-18T10:40:36.704+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, ProcessHangMon] WARNING: IPC message 'PProcessHangMonitor::Msg_RequestContentJSInterrupt' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.704+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: IPC message 'PBrowser::Msg_StopIMEStateManagement' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.705+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.705+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: No build ID mismatch: file checkouts/gecko/dom/base/nsFrameLoader.cpp:3727
[task 2026-05-18T10:40:36.705+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: IPC message 'PContent::Msg_GetLayoutHistoryState' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.705+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: IPC message 'PContent::Msg_CommitBrowsingContextTransaction' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.705+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: IPC message 'PContent::Msg_DiscardBrowsingContext' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.705+00:00] 10:40:36    ERROR - GECKO(1409) | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2026-05-18T10:40:36.705+00:00] 10:40:36     INFO - GECKO(1409) | 1779100828896	Marionette	TRACE	Received observer notification quit-application
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | 1779100828896	Marionette	TRACE	Application is shutting down with reason: "shutdown"
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | 1779100828896	Marionette	INFO	Stopped listening on port 2828
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: IPC message 'PContent::Msg_DiscardBrowsingContext' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: '!mCancelable', file checkouts/gecko/image/imgRequestProxy.cpp:414
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: '!mCancelable', file checkouts/gecko/image/imgRequestProxy.cpp:414
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | 1779100828926	Marionette	DEBUG	Marionette stopped listening
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPC I/O Parent] WARNING: process 1418 exited with status 1: file checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:155
[task 2026-05-18T10:40:36.706+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:93
[task 2026-05-18T10:40:36.707+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: BlockShutdown: Init failed: 'NS_FAILED(rv)', file checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingProtectionStorage.cpp:540
[task 2026-05-18T10:40:36.707+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.000001s: startCrashBrowserTimer', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.707+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.000015s: initiateShutdownWorkThreads', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.707+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000021s: starting', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.707+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: cache: '0.000042s: starting', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.707+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: sdb: '0.000063s: starting', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: fs: '0.000117s: starting', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: ls: '0.000123s: starting', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.000126s: startKillActorsTimer', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000365s: Live database entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000387s: gLiveDatabaseHashtable entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000585s: Live database entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000603s: gLiveDatabaseHashtable entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.708+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000661s: Live database entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000667s: gLiveDatabaseHashtable entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000748s: Live database entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.000754s: gLiveDatabaseHashtable entry removed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, QuotaManager IO] WARNING: quota manager shutdown step: '0.000780s: ShutdownStorageOp::DoDirectoryWork -> ShutdownStorageInternal.', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.001149s: stopKillActorsTimer', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.001160s: shutdownAndJoinWorkThreads', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.709+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.001160s: shutdownAndJoinWorkThreads', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: idb: '0.001165s: completed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: cache: '0.001386s: completed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: sdb: '0.001391s: completed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: fs: '0.001392s: completed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: ls: '0.001394s: completed', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.001395s: shutdownAndJoinIOThread', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.710+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.001451s: invalidatePendingDirectoryLocks', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, IPDL Background] WARNING: quota manager shutdown step: '0.001454s: stopCrashBrowserTimer', file checkouts/gecko/dom/quota/ActorsParent.cpp:2412
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | [Utility 1417, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | 1779100829182	Marionette	TRACE	Received observer notification xpcom-shutdown
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | [GPU 1412, Main Thread] WARNING: IPC message 'PGPU::Msg_FOGData' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | [RDD 1414, Main Thread] WARNING: IPC message 'PRDD::Msg_FOGData' discarded: actor cannot send: file checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | 1779100829190	Marionette	TRACE	Received observer notification xpcom-shutdown-threads
[task 2026-05-18T10:40:36.711+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:368
[task 2026-05-18T10:40:36.712+00:00] 10:40:36     INFO - GECKO(1409) | [Parent 1409, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:477
[task 2026-05-18T10:40:36.712+00:00] 10:40:36     INFO - TEST-INFO | Main app process: exit 245
[task 2026-05-18T10:40:36.712+00:00] 10:40:36     INFO - Buffered messages logged at 10:40:28
[task 2026-05-18T10:40:36.712+00:00] 10:40:36     INFO - TEST-PASS | dom/base/test/test_domparser_null_char.html | Should not stop at null

This is failing on esr153 only since 9th August so this probably got fixed.

Claude says it was probably bug 2045459 that fixed this. Does that seem reasonably plausible and, if so, upliftable to reduce the noise coming from that branch for the next year? If so, go ahead with nominating.

Flags: needinfo?(jcoppeard)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #20)
Yes that sounds plausible.

Flags: needinfo?(jcoppeard)
Assignee: nobody → jcoppeard
Status: NEW → RESOLVED
Closed: 24 days ago
Depends on: 2045459
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.