Windows test workers never write crash dumps to C:\error-dumps
Categories
(Infrastructure & Operations :: RelOps: Windows OS, defect)
Tracking
(Not tracked)
People
(Reporter: florian, Assigned: jmoss)
References
Details
Note: this problem seems serious enough that I filed the bug Claude suggested, but I don't know anything myself in this area.
[Claude's bug description]
win_os_settings::error_reporting in ronin_puppet sets LocalDumps (DWORD 1) and DumpFolder as values directly under HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting. Windows Error Reporting reads these settings only from the ...\Windows Error Reporting\LocalDumps subkey (DumpFolder as REG_EXPAND_SZ, DumpType), per https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps, so nothing is ever written to C:\error-dumps, the folder mozcrash scans since bug 1847229. The pester tests check for the same wrong layout.
As a result, crashes that bypass Firefox's in-process crash handler (fail-fast exceptions such as the CoreMessaging.dll one in bug 2000475) end tests with only "application terminated with exit code 3762701893" and no stack, as in the Windows 11 25H2 mochitest-browser-chrome-repeat failures fixed in bug 2096020.
Proposed fix (pull request to follow): move DumpFolder (type expand) and a DumpType = 1 value into the LocalDumps subkey, and update Registry.Tests.ps1 and Files.Tests.ps1. On workers reused across tasks, C:\error-dumps also needs emptying between tasks, or a later task's mozcrash will report an earlier task's dump.
| Reporter | ||
Comment 1•4 days ago
|
||
Description
•