Closed Bug 1754923 Opened 2 years ago Closed 2 years ago

Intermittent js/xpconnect/tests/browser/browser_promise_userInteractionHandling.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowser

Categories

(Core :: XPConnect, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1741149

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

This one is pretty bizarre. All Windows crashes, all during this one test.

It looks like we're in the middle of calling BrowserTestUtils.withNewTab() and then maybe we're getting a crash.

There's this error which I guess is related to the crash: JavaScript Error: "remote browser crashed while on about:blank

Then the test harness fails with this weird error:
OSError: [WinError 225] Operation did not complete successfully because the file contains a virus or potentially unwanted software.

That just happens right after ""runtests.py | Running tests: start"

That's spammed a bunch of times. It sounds like this error is related to Windows Defender going off.

Paul, any idea what might be going wrong here? Has the code that this test is testing changed recently?

Flags: needinfo?(pbz)

I'm not aware of any recent changes. Though, I also didn't touch this code recently. I know that :arai changed how the interaction flag is handed through Promises in Bug 1732953. This is the origin of the test.

Looks like the error being thrown is a result of trying to recover from a crash: https://searchfox.org/mozilla-central/rev/81c52abeec336685330af5956c37b4bcf8926476/browser/modules/ContentCrashHandlers.jsm#292

The crash could come from failing to create a process, I can see an error message about that in the logs:

GECKO(84) | [Parent 976, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:743

The OSError is very suspicious, perhaps a Windows Defender false positive on our test machines?

Flags: needinfo?(pbz)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.