Closed Bug 1977739 Opened 5 months ago Closed 3 months ago

Firefox crashes consistently when trying to access the webcam on Windows 11 24H2 (Build 26120) — in release 141.0.2, Nightly, and even with all sandboxes disabled and using a clean profile.

Categories

(Core :: WebRTC, defect)

Firefox 141
defect

Tracking

()

RESOLVED DUPLICATE of bug 1986922

People

(Reporter: jcd.raider, Unassigned, NeedInfo)

Details

Crash Data

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Steps to reproduce:

Launch Firefox (Release or Nightly)

Navigate to a webcam test site (e.g., https://webcamtests.com)

Allow camera access

Firefox crashes instantly

Actual results:

Crash Signature:
[@ RtlLookupFunctionEntry | RtlDispatchException | KiUserExceptionDispatch ...]
Crash Reason: EXCEPTION_ACCESS_VIOLATION_WRITE at 0x000000c335300eb0
Crash ID: a61af563-b119-49ed-acb0-399e40250717

Reproducibility: 100%
Other browsers (Chrome, Edge): Do not crash
Hardware: AMD CPU (family 26, model 68), 16 cores
OS: Windows 11 24H2 (10.0.26120)

What I’ve Tried:

Safe Mode

Clean test profile with user.js

Disabling RTSSHooks64.dll, NahimicOSD.dll, eOppBrowser.dll

--disable-untrusted-modules-scanner

Set all media-related prefs (VP8, sandbox, etc.)

Ran Firefox with:

powershell
Copy
Edit
$env:MOZ_DISABLE_CONTENT_SANDBOX = "1"
$env:MOZ_DISABLE_RDD_SANDBOX = "1"
$env:MOZ_DISABLE_GPU_SANDBOX = "1"
Start-Process "C:\Program Files\Mozilla Firefox\firefox.exe" -ArgumentList "--no-remote", "--profile", "$env:TEMP\FFCamTestProfile"
Tried Firefox Nightly — same crash

Suspected Component:
UntrustedModulesProcessor.cpp or MediaFoundation camera init inside xul.dll / mozglue.dll

Note:
This seems to occur before any logging or telemetry can be recorded. No MOZ_LOG output is generated.

Expected results:

Webcam opens normally

Hello, thank you for the bug report!

I tried using the commands provided but no crash occurred. Tested on Windows 11(23H2) and Ubuntu 22.
Are there any other configurations, steps or environment variables needed to be set in order to reproduce the crash?

Moving the Component to ‘General’. Please change if there’s a better fit, thank you.

Component: Untriaged → General
Flags: needinfo?(jcd.raider)

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → Firefox for Android
Flags: needinfo?(jcd.raider)
Product: Firefox for Android → Firefox
Version: Firefox 140 → Firefox 141

Bug persists in Firefox 141 as well

Webcam that I own is Logitech C920. Windows 11 24H2 26120.5733

Summary: Firefox crashes consistently when trying to access the webcam on Windows 11 24H2 (Build 26120) — in release 140.0.4, Nightly, and even with all sandboxes disabled and using a clean profile. → Firefox crashes consistently when trying to access the webcam on Windows 11 24H2 (Build 26120) — in release 141.0.2, Nightly, and even with all sandboxes disabled and using a clean profile.
Component: General → Audio/Video
Product: Firefox → Core

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)

I can confirm that a colleague and I have this exact same problem. Firefox crashes 100% each time an external (USB) webcam is accessed.
Even before video is send, for instance on the Google Meet "pre-meeting" page before clicking on join (but maybe it's because by default it tries to access the camera ?).
I'm on Windows 10, not sure on his side and can ask if it may help.
This is quite severe as it means we cannot work with Firefox anymore and have to switch to another browser (remote work with meetings).

This problem does not happen with a built-in webcam in a laptop.

Additional details:
Hardware: AMD CPU (AMD Ryzen 7 4800H), 16 cores
OS: Windows 10 19045 (10.0.19045)
Webcam : Logitech HD Pro Webcam C920

I confirm I have this issue on 143.0.1. Any attempt to access the USB webcam with Firefox causes it to crash.

On webcamtests.com the camera seems detected and when you authorize it to identify the camera is when it crashes. Chrome works fine and I've had to switch browsers as a result of this bug.

Additional details:
Hardware: AMD CPU Ryzen 9 5900x
OS: Windows 11 24H2 26100.6584
Webcam : Logitech HD Pro Webcam C920
GPU: Nvidia 3080ti

Jan-Ivar, Andreas,
Do you have any thought about the crash caused by accessing a webcam? Thanks!

Component: Audio/Video → WebRTC
Flags: needinfo?(jmathies)
Flags: needinfo?(jib)
Flags: needinfo?(apehrson)

Updating crash signature based on the provided crash id. I see a Quest 3 dll in a report. Do you and your colleague have Meta's Quest Link App installed?

Status: UNCONFIRMED → NEW
Crash Signature: [@ RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | RtlLookupFunctionEntry | Rt…
Ever confirmed: true
Flags: needinfo?(jib)
Flags: needinfo?(jcd.raider)
Flags: needinfo?(apehrson)

Having looked at a couple more crash reports matching this signature, the prevalence of magicdsfilterQuest3.dll suggests a yes to my question in comment 11. Same root cause as bug 1986922.

Status: NEW → RESOLVED
Closed: 3 months ago
Duplicate of bug: 1986922
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.