Firefox crashes with two open Meet tabs and taking my AirPods out
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox125 | --- | wontfix |
firefox126 | --- | fixed |
People
(Reporter: jib, Assigned: pehrsons)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: csectype-race, regression, sec-high, Whiteboard: [adv-main126+])
Crash Data
Attachments
(1 file)
180 bytes,
text/plain
|
Details |
STR (require AirPods or possibly similar bluetooth headset):
- Leave already-paired AirPods in their case
- Go to https://meet.google.com/
- Click New Meeting / Start an instant meeting
- Allow camera and microphone and stay in the lobby
- Duplicate the tab and repeat step 4 there.
- Make macOS connect with the AirPods by taking them out of their case
Expected result: No crash
Actual result: Firefox crashes with bp-e86fd0af-cf11-49db-883f-ad3010240206
If it doesn't crash in in step 6, put the airpods back in their case (sometimes crashes then) and repeat step 6.
Assignee | ||
Comment 1•1 year ago
|
||
This involving two tabs should mean that we are recreating VoiceProcessingIO AudioUnits on two separate threads in the parent process. The cubeb-coreaudio-rs backend serializes operations per-stream. Maybe if we serialize them on the same thread it won't crash. I have some prior work for this so if I can reproduce I'll see how it helps.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Is this like a use after free then? Or is it being more or less safely caught?
Assignee | ||
Comment 3•1 year ago
|
||
Based on the mac crash info in the report, this appears safely caught. But I don't think we can assume all paths from this STR will be safely caught. Adding some more crash signatures that are all from macOS 14.
In particular [@ AudioDSP@0x3ffb34 ] looks dead on like a UAF, and involves tearing down an audio unit. Step 6 in the STR would trigger that code path so might be a related failure mode here.
Updated•1 year ago
|
Assignee | ||
Comment 4•11 months ago
|
||
Bug 1880244 might help here, since it will make us create and destroy vpio audio units much less.
Comment 5•10 months ago
|
||
Patches being developed in the parent.
Comment 7•10 months ago
|
||
We're not sure if the parent bug's changes will fully address the crash signature here. Waiting to see as that work rolls out.
Comment 8•9 months ago
|
||
We think this is fixed in 126.
Comment 9•9 months ago
|
||
126 is looking clean. resolving.
Comment 10•9 months ago
|
||
Can you clarify the status of ESR115 for this bug given that this is rated sec-high?
Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 11•9 months ago
|
||
Updated•9 months ago
|
Updated•4 months ago
|
Description
•