Closed Bug 1961499 Opened 1 month ago Closed 8 days ago

Intermittent Assertion failure: !aCmp(*(aBegin + b), *(aBegin + a)) (Your comparator is not a valid strict-weak ordering), at /builds/worker/workspace/obj-build/dist/include/nsTArray.h:312

Categories

(Core :: Layout, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

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


[task 2025-04-19T21:56:48.866Z] 21:56:48     INFO - TEST-START | toolkit/components/printing/tests/browser_modal_print.js
<...>
[task 2025-04-19T21:56:57.851Z] 21:56:57     INFO - GECKO(2984) | [Parent 7436: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 179f0e2a800 == 19 [pid = 7436] [id = 15] [url = chrome://global/content/print.html]
[task 2025-04-19T21:56:57.852Z] 21:56:57     INFO - GECKO(2984) | [Parent 7436: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 179f0e2b000 == 18 [pid = 7436] [id = 16] [url = about:blank]
[task 2025-04-19T21:56:57.853Z] 21:56:57     INFO - GECKO(2984) | [7436] Assertion failure: !aCmp(*(aBegin + b), *(aBegin + a)) (Your comparator is not a valid strict-weak ordering), at /builds/worker/workspace/obj-build/dist/include/nsTArray.h:312
[task 2025-04-19T21:56:57.879Z] 21:56:57     INFO - GECKO(2984) | [Child 3096: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (1d7a4c5cb00) [pid = 3096] [serial = 6] [outer = 0] [url = about:blank]
[task 2025-04-19T21:56:57.879Z] 21:56:57     INFO - GECKO(2984) | [Child 3096: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1d79b154b00) [pid = 3096] [serial = 4] [outer = 0] [url = about:blank]
[task 2025-04-19T21:56:57.880Z] 21:56:57     INFO - GECKO(2984) | [Child 3096: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (1d7a4c5da00) [pid = 3096] [serial = 8] [outer = 0] [url = about:blank]
[task 2025-04-19T21:56:57.880Z] 21:56:57     INFO - GECKO(2984) | [Child 3096: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (1d79b153700) [pid = 3096] [serial = 2] [outer = 0] [url = about:blank]
[task 2025-04-19T21:56:57.881Z] 21:56:57     INFO - GECKO(2984) | [Child 3096: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (1d7a4c5e900) [pid = 3096] [serial = 10] [outer = 0] [url = about:blank]
[task 2025-04-19T21:56:57.893Z] 21:56:57     INFO - GECKO(2984) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_174509803063104\AppData\Local\Temp\tmpy792ct3w.mozrunner\runtests_leaks_tab_pid1164.log
[task 2025-04-19T21:56:58.066Z] 21:56:58     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2025-04-19T21:57:20.674Z] 21:57:20     INFO - GECKO(2984) | #01: detail::AssertStrictWeakOrder<mozilla::URLPreloader::URLEntry **,`lambda at /builds/worker/workspace/obj-build/dist/include/nsTArray.h:2385:19'>(mozilla::URLPreloader::URLEntry**, mozilla::URLPreloader::URLEntry**, nsTArray_Impl<mozilla::URLPreloader::URLEntry *,nsTArrayInfallibleAllocator>::Sort<mozilla::URLPreloader::URLEntry::Comparator>::<lambda_1> const&) [xpcom/ds/nsTArray.h:311]
[task 2025-04-19T21:57:20.677Z] 21:57:20     INFO - GECKO(2984) | #02: mozilla::URLPreloader::WriteCache() [js/xpconnect/loader/URLPreloader.cpp:239]
[task 2025-04-19T21:57:20.677Z] 21:57:20     INFO - GECKO(2984) | #03: mozilla::ScriptPreloader::Run() [js/xpconnect/loader/ScriptPreloader.cpp:809]
[task 2025-04-19T21:57:20.678Z] 21:57:20     INFO - GECKO(2984) | #04: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1154]
[task 2025-04-19T21:57:20.678Z] 21:57:20     INFO - GECKO(2984) | #05: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:480]
[task 2025-04-19T21:57:20.679Z] 21:57:20     INFO - GECKO(2984) | #06: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:300]
[task 2025-04-19T21:57:20.680Z] 21:57:20     INFO - GECKO(2984) | #07: MessageLoop::RunHandler() [ipc/chromium/src/base/message_loop.cc:363]
[task 2025-04-19T21:57:20.680Z] 21:57:20     INFO - GECKO(2984) | #08: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:345]
[task 2025-04-19T21:57:20.681Z] 21:57:20     INFO - GECKO(2984) | #09: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:368]
[task 2025-04-19T21:57:20.850Z] 21:57:20     INFO - GECKO(2984) | #10: _PR_NativeRunThread(void*) [nsprpub/pr/src/threads/combined/pruthr.c:391]
[task 2025-04-19T21:57:20.851Z] 21:57:20     INFO - GECKO(2984) | #11: pr_root(void*) [nsprpub/pr/src/md/windows/w95thred.c:130]
[task 2025-04-19T21:57:20.854Z] 21:57:20     INFO -  fix-stacks: error: failed to read debug info file `ucrtbase.pdb` for `C:\Windows\System32\ucrtbase.dll`
[task 2025-04-19T21:57:20.854Z] 21:57:20     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2025-04-19T21:57:20.855Z] 21:57:20     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2025-04-19T21:57:20.856Z] 21:57:20     INFO - GECKO(2984) | #12: wcsrchr [C:\Windows\System32\ucrtbase.dll + 0x37b0]
[task 2025-04-19T21:57:20.859Z] 21:57:20     INFO -  fix-stacks: error: failed to read debug info file `wkernel32.pdb` for `C:\Windows\System32\KERNEL32.DLL`
[task 2025-04-19T21:57:20.859Z] 21:57:20     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2025-04-19T21:57:20.860Z] 21:57:20     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2025-04-19T21:57:20.860Z] 21:57:20     INFO - GECKO(2984) | #13: BaseThreadInitThunk [C:\Windows\System32\KERNEL32.DLL + 0x2e8d7]
[task 2025-04-19T21:57:20.950Z] 21:57:20     INFO - GECKO(2984) | #14: patched_BaseThreadInitThunk(int, void*, void*) [toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp:562]
[task 2025-04-19T21:57:20.956Z] 21:57:20     INFO -  fix-stacks: error: failed to read debug info file `wntdll.pdb` for `C:\Windows\SYSTEM32\ntdll.dll`
[task 2025-04-19T21:57:20.956Z] 21:57:20     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2025-04-19T21:57:20.957Z] 21:57:20     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2025-04-19T21:57:20.957Z] 21:57:20     INFO - GECKO(2984) | #15: RtlUserThreadStart [C:\Windows\SYSTEM32\ntdll.dll + 0xbbf6c]
[task 2025-04-19T21:57:20.958Z] 21:57:20     INFO - GECKO(2984) | [Child 1164, IPC I/O Child] WARNING: [5A386EA9AEBB9CDE.4B53D54B3D424503]: Dropping message '<null>'; no connection to unknown peer 1.1: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:364
[task 2025-04-19T21:57:20.959Z] 21:57:20     INFO - GECKO(2984) | Exiting due to channel error.
[task 2025-04-19T21:57:20.959Z] 21:57:20     INFO - TEST-INFO | Main app process: exit 1
[task 2025-04-19T21:57:20.959Z] 21:57:20    ERROR - TEST-UNEXPECTED-FAIL | ShutdownLeaks | process() called before end of test suite
[task 2025-04-19T21:57:20.960Z] 21:57:20     INFO - TEST-INFO | Confirming we saw 59 DOCSHELL created and 31 destroyed log strings.
[task 2025-04-19T21:57:20.960Z] 21:57:20     INFO - TEST-INFO | Confirming we saw 155 DOMWINDOW created and 57 destroyed log strings.
[task 2025-04-19T21:57:20.961Z] 21:57:20     INFO - Buffered messages logged at 21:56:48
[task 2025-04-19T21:57:20.961Z] 21:57:20     INFO - Entering test bound testModalPrintDialog
[task 2025-04-19T21:57:20.962Z] 21:57:20     INFO - withTestPage: https://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2025-04-19T21:57:20.963Z] 21:57:20     INFO - Buffered messages logged at 21:56:49
[task 2025-04-19T21:57:20.963Z] 21:57:20     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs - 

This passed when run in confirm failure mode (rerun the test 4x in the same session).

This indicates that the test is probably a lower frequency intermittent and harder to reproduce/debug.

Whiteboard: [collect_confirm_failure]
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.