Closed Bug 1919423 Opened 2 months ago Closed 2 months ago

Crash in [@ mozilla::dom::MediaStreamTrack::GetSource]

Categories

(Core :: Audio/Video, defect)

ARM64
All
defect

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- fixed

People

(Reporter: release-mgmt-account-bot, Assigned: aosmond)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/abf57857-938c-43e0-897e-477d60240917

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0  xul.dll  RefPtr<mozilla::dom::MediaStreamTrackSource>::operator! const  mfbt/RefPtr.h:339
0  xul.dll  mozilla::dom::MediaStreamTrack::GetSource const  dom/media/MediaStreamTrack.h:483
0  xul.dll  mozilla::dom::MediaStreamTrack::GetTimestampMaker const  dom/media/MediaStreamTrack.h:475
0  xul.dll  mozilla::dom::HTMLVideoElement::TakeVideoFrameRequestCallbacks  dom/html/HTMLVideoElement.cpp:802
1  xul.dll  nsRefreshDriver::RunVideoFrameCallbacks  layout/base/nsRefreshDriver.cpp:2415
1  xul.dll  nsRefreshDriver::RunVideoAndFrameRequestCallbacks  layout/base/nsRefreshDriver.cpp:2537
1  xul.dll  nsRefreshDriver::Tick  layout/base/nsRefreshDriver.cpp:2772
2  xul.dll  mozilla::RefreshDriverTimer::TickDriver  layout/base/nsRefreshDriver.cpp:368
2  xul.dll  mozilla::RefreshDriverTimer::TickRefreshDrivers  layout/base/nsRefreshDriver.cpp:346
3  xul.dll  mozilla::RefreshDriverTimer::Tick  layout/base/nsRefreshDriver.cpp:362

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2024-09-17
  • Process type: Content
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: Yes - all crashes happened on null or near null memory address

By analyzing the backtrace, the regression may have been introduced by a patch to fix Bug 1908245.

:aosmond, since you are the author of the potential regressor, could you please take a look?

Flags: needinfo?(aosmond)

Set release status flags based on info from the regressing bug 1908245

Assignee: nobody → aosmond
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(aosmond)

HTMLVideoElement's mSelectedVideoStreamTrack may be null when fulfilling
requestVideoFrameCallback requests. This can occur when we race tearing
down the current stream, while there are still frames in the
ImageContainer that reference it.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e88d5d13ebef Check for null selected track when fulfilling rVFC. r=media-playback-reviewers,padenot
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: