Crash in [@ WasmTrapHandler] (magicdsfilterQuest3.dll)
Categories
(External Software Affecting Firefox :: Other, defect, P1)
Tracking
(firefox-esr128 wontfix, firefox-esr140 verified, firefox142 wontfix, firefox143 fixed, firefox144 fixed, firefox145 verified, firefox146 verified)
People
(Reporter: aryx, Assigned: rhunt)
References
Details
(Keywords: crash)
Crash Data
Attachments
(9 files, 1 obsolete file)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr140+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr140+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr140+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
Since early August, the crash volume for this signature has tripled. Both Windows and Android are affected, the crash stacks are corrupted. This is observed for all versions.
Ryan: Do you have better insights into this?
Crash report: https://crash-stats.mozilla.org/report/index/fa6d80c4-7c82-49f6-b398-052e60250904
Reason:
EXCEPTION_ACCESS_VIOLATION_EXEC
Top 2 frames:
0 xul.dll WasmTrapHandler(_EXCEPTION_POINTERS*) js/src/wasm/WasmSignalHandlers.cpp:564
1 ? @0x000000ad47ec1aaf
| Assignee | ||
Comment 1•3 months ago
|
||
This looks like it could be a duplicate of bug 1978000. The crash you linked to has "magicdsfilterQuest3.dll" loaded too. Looking at a bunch of the user comments on related crash reports, most of them seem to be the same "I was trying to open up a camera in web app and it crashed".
I'm not sure what we can do about this if the issue is coming from this DLL being injected into our processes. I'll think about it.
| Assignee | ||
Comment 2•3 months ago
|
||
I believe there are three avenues here:
- Reproduce this locally and see if we can change something in our code to resolve this
- Reach out to Facebook and see if they can fix it on their end (if #1 fails)
- Add them to our DLL block list
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 3•3 months ago
|
||
I can reproduce this crash locally. Will start debugging it.
| Assignee | ||
Comment 4•3 months ago
|
||
STR:
- Install the Meta Quest Link app
- Go to this test page
- Click to view camera
It is crashing for me in the parent process, and even if I disable WebAssembly. Attaching a debugger leads to a stack in WebRTC code without any wasm involved. I'm not sure how the other reporter was seeing WasmTrap in the crash signatures. Will need to look into some of the crash reports closer.
| Assignee | ||
Comment 5•3 months ago
|
||
I sampled a bunch of crash reports and they all contain 'magicdsfilterQuest3' as a loaded module. I don't know how to get an exact % of crash reports that contain it using filters/search, but it seems very likely that it's causing this issue.
I haven't made any progress in debugging what's going on here with the DLL. So far I wasn't able to get it to crash with the WasmTrapHandler on the stack. It seems to just be trapping in WebRTC code.
| Assignee | ||
Comment 6•3 months ago
|
||
Updated•3 months ago
|
| Assignee | ||
Comment 7•3 months ago
|
||
I've reached out to Meta about this and they said they would look into it. No updates beyond that yet.
Comment 9•3 months ago
|
||
This is crashing common web apps like Google Meet. Can we go ahead and push this block fix?
Comment 11•3 months ago
|
||
(just to answer the question posted in the other bug report: yes both my colleague and I have Meta Quest Link installed. )
Comment 12•3 months ago
|
||
Copying crash signatures from duplicate bugs.
Comment 13•3 months ago
|
||
I just tested to add the Meta dlls in the dynamic block list and it indeed solves the crash 100%.
On a sidenote, as a Meta Quest user I don't see why Meta would be legit to inject itself in Firefox when I'm in a online conference on my privacy friendly browser. As a user, I find that adding these dlls to the static block list is a perfectly fine solution.
Of course I may not understand everything underneath this kind of decision, but just wanted to share my pov.
Comment 14•3 months ago
|
||
Not to hijack the bug or anything, but as you mention the root cause is an external DirectShow filter DLL unrelated to wasm. Moving components. Also needinfoing Greg for his take on comment 9 as this crash rate is pretty high for video capture.
I'll note it was reported on Meta's community forums a month ago: https://communityforums.atmeta.com/discussions/OtherTroubleshooting/meta-quest-link-app-causes-firefox-to-crash/1341972
And some more technical details in the later thread https://communityforums.atmeta.com/discussions/dev-quest/meta-quest-links-virtual-camera-causes-third-party-applications-to-crash-windows/1343668:
The crash occurs when DirectShow enumerates the Meta Quest virtual camera. The IBaseFilter object (the fourth parameter) is obtained through the IMoniker::BindToObject() interface, and the crash occurs when releasing this object.
We use libwebrtc's DirectShow-based backend for camera capture on Windows. Our BindToObject call is here.
Comment 15•3 months ago
|
||
(In reply to JN from comment #13)
On a sidenote, as a Meta Quest user I don't see why Meta would be legit to inject itself in Firefox when I'm in a online conference on my privacy friendly browser.
I'll just add that this is a DirectShow filter installed by a user. The DLL gets loaded automatically when accessing DirectShow APIs. These filters are often used to expose various non-standard video input sources as cameras. Think network cameras, virtual cameras, etc.
Comment 16•3 months ago
|
||
Yes, you can see on the correlations tab for WasmTrapHandler that 100% of the reports have "magicdsfilterQuest3.dll" loaded. There are a significant number in the other signature too but there's also a lot of "magicdsfilterQuest3s.dll" loaded; could we block that as well?
Anyway, yes, I think we should block this and I can review the change if y'all would like. Thanks!
Comment 17•3 months ago
|
||
Thanks for the clarification Andreas!
I don't know if it can help, but this crash does not happen with a built-in laptop camera.
I crash only if I plug-in an external USB camera.
Comment 18•3 months ago
|
||
Just to add to the comments regarding Meta Quest devices. I am experiencing this bug and have a Quest 2 with Oculus software installed.
Updated•3 months ago
|
Comment 19•3 months ago
•
|
||
Given the crash volume and the fact that we can reproduce and know that the block is safe, I think we should consider uplifting to beta (and maybe release?).
For users running into this problem: you may be able to go to about:third-party and block this DLL to make the crashes stop in the meantime. There are instructions at SUMO here.
Comment 20•3 months ago
|
||
Comment 21•3 months ago
|
||
| bugherder | ||
Comment 22•3 months ago
|
||
The patch landed in nightly and beta is affected.
:rhunt, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox144towontfix.
For more information, please visit BugBot documentation.
Updated•3 months ago
|
Comment 23•3 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Crashes when Meta Link App installed and using any web conferencing (WebRTC) application.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Just an entry in a DLL block list.
- String changes made/needed: None
- Is Android affected?: no
| Assignee | ||
Comment 24•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D264949
Comment 25•3 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined: Crashes when Meta Link App installed and using any web conferencing (WebRTC) application.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Just an entry in a DLL block list.
- String changes made/needed: None
- Is Android affected?: no
| Assignee | ||
Comment 26•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D264949
Comment 27•3 months ago
|
||
firefox-esr140 Uplift Approval Request
- User impact if declined: Crashes when Meta Link App installed and using any web conferencing (WebRTC) application.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Just an entry in a DLL block list.
- String changes made/needed: None
- Is Android affected?: no
| Assignee | ||
Comment 28•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D264949
| Assignee | ||
Updated•3 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 29•2 months ago
|
||
| uplift | ||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 30•2 months ago
|
||
| uplift | ||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 31•2 months ago
|
||
| uplift | ||
Updated•2 months ago
|
Comment 32•2 months ago
|
||
Hi @Ryan,
Firefox still crashes on my end when the Meta Link App is installed and a WebRTC site is accessed - I hit the crashes on: https://mozilla.github.io/webrtc-landing/gum_test.html and https://webcammictest.com/. I tested on Windows 11 using the latest Nightly 145.0a1 (Build ID: 20251006155229), Firefox RC 144 (Build ID: 20251006164343) and Firefox 140.4.0 ESR (Build ID: 20251006114430).
The main difference I observed compared to pre-fix builds (tested on Nightly 145.0a2, Build ID: 20250922211053) is that the crash reporter dialog now appears in the latest versions mentioned above. However, please note that it is incomplete, as the Restart button is missing.
Here are some crash reports:
Updated•2 months ago
|
| Assignee | ||
Comment 33•2 months ago
|
||
All of those crash reports have a different DLL loaded now 'magicdsfilterQuest2.dll'. I'm guessing we should probably block that one now too.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 34•2 months ago
|
||
Comment 35•2 months ago
|
||
Comment 36•2 months ago
|
||
| bugherder | ||
Comment 37•2 months ago
|
||
Hi @Ryan,
Updated to the latest Nightly 145.0a1 (Build ID: 20251008212103) and the crash is still reproducible (with the magicdsfilterQuestPro.dll now).
Here are some crash reports:
https://crash-stats.mozilla.org/report/index/7165eca3-c500-4952-b0f0-976ba0251009
https://crash-stats.mozilla.org/report/index/7b248630-8ce5-4dd4-8c67-812610251009
https://crash-stats.mozilla.org/report/index/4eec07a3-efc1-4379-9537-3df1f0251009
https://crash-stats.mozilla.org/report/index/b9fab500-56b9-4a22-b7cd-6d6b90251009
| Assignee | ||
Comment 38•2 months ago
|
||
| Assignee | ||
Comment 39•2 months ago
|
||
Sorry I missed this comment until now. We should block this DLL too.
Updated•1 month ago
|
Updated•1 month ago
|
Comment 40•1 month ago
|
||
Comment 41•1 month ago
|
||
| bugherder | ||
Comment 42•1 month ago
|
||
Verified as fixed on the latest Nightly 146.0a1 - no crashes occurred when following the same steps as in Comment 32.
@Ryan - will all patches be uplifted to the current versions (Release, Beta, and ESR)?
| Assignee | ||
Comment 43•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D267880
Updated•1 month ago
|
Comment 44•1 month ago
|
||
firefox-esr140 Uplift Approval Request
- User impact if declined: Crash when video conferencing with the meta quest driver installed.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: DLL block list update, tested on nightly.
- String changes made/needed: None
- Is Android affected?: no
| Assignee | ||
Comment 45•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D269805
Comment 46•1 month ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Crash when video conferencing with the meta quest driver installed.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: DLL block list update, tested on nightly.
- String changes made/needed: None
- Is Android affected?: no
| Assignee | ||
Comment 47•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D269805
Comment 48•1 month ago
|
||
firefox-release Uplift Approval Request
- User impact if declined: Crash when video conferencing with the meta quest driver installed.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: DLL block list update, tested on nightly.
- String changes made/needed: None
- Is Android affected?: no
| Assignee | ||
Comment 49•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D269805
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 50•1 month ago
|
||
| uplift | ||
Comment 51•1 month ago
|
||
Verified as fixed using Firefox 145 (Build ID: 20251106194447) on Windows 11 x64 - no crashes occurred when following the same steps as in Comment 32.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 52•1 month ago
|
||
| uplift | ||
Comment 53•23 days ago
|
||
Verified as fixed using Firefox 140.6.0 ESR (Build ID: 20251201132345) on Windows 11 x64 - no crashes occurred when following the same steps as in Comment 32.
Description
•