Closed Bug 1206990 Opened 9 years ago Closed 9 years ago

Prevent the error dialog from showing up on Windows test machines (at least those that run jit-tests) when crashes are hit

Categories

(Release Engineering :: General, defect)

All
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1206987

People

(Reporter: gkw, Unassigned)

References

Details

We should set the value of DontShowUI in either/or/both:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting

to 1, to solve the issue of error dialogs coming up when we hit crashes, on test automation.

This should reduce the number of intermittent failures due to the error dialog, and is probably a better way to solve bug 1170665, which is the issue of jit-tests timing out due to the same dialog (which caused bug 1206987 to occur). Jit-tests are only run for the SpiderMonkey (SM) shell.

(bug 1206987 describes how bug 1170665 stopped crash dumps from appearing. Since we do not use Breakpad for SM, we are unable to get stacktraces for the fuzzing harness.)

The PowerShell equivalent of this (for HKEY_CURRENT_USER) is:

Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\Windows Error Reporting' -Name DontShowUI -Value 1

Once this lands, we may want to consider backing out the patch in bug 1170665.

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/bb513638%28v=vs.85%29.aspx
I think that the change in bug 1206987 should fix this as well, without us having to disable crash dialogs in the entire system.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.