Closed Bug 1879752 Opened 2 years ago Closed 2 years ago

Backport upstream fix for possible crash when stopping PipeWire camera

Categories

(Core :: WebRTC: Audio/Video, defect)

defect

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: jgrulich, Assigned: jgrulich)

Details

Attachments

(1 file)

There is a possible crash that can happen because of a possible race condition when camera is stopped and PipeWire backend is used.

# Fatal error in: /builddir/build/BUILD/firefox-122.0/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc, line 321
# last system error: 11
# Check failed: !race_checker321.RaceDetected()
# Redirecting call to abort() to mozalloc_abort

This has been fixed in WebRTC and we should backport this fix for it.
Fix is here: https://webrtc-review.googlesource.com/c/src/+/338021

Assignee: nobody → jgrulich

This is a simple backport of an WebRTC upstream change.

Upstream commit: 541f202354e2b4906935c8db6e54386aa8bc8d1f

Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/dc12e6eecaa8 WebRTC backport: Video capture PipeWire - simplify thread and lock annotations r=pehrsons,webrtc-reviewers
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: