Closed Bug 1806391 Opened 1 year ago Closed 1 year ago

[macOS 10.12-10.14] Crash in [@ VP3CreateInstance]

Categories

(Core :: Audio/Video: Playback, defect, P2)

Unspecified
macOS
defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
relnote-firefox --- 108+
firefox-esr102 --- unaffected
firefox108 + fixed
firefox109 --- fixed
firefox110 --- fixed

People

(Reporter: aryx, Assigned: az)

References

Details

(4 keywords)

Crash Data

Attachments

(1 file)

94 crashes from ~80 installations of Firefox v108 builds (both 108.0 and 108.0.1 affected) on macOS 10.12-10.14

Is this a regression from bug 1792257?

Crash report: https://crash-stats.mozilla.org/report/index/69867983-5236-481e-be7d-8ee6b0221219

Reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS

Top 10 frames of crashing thread:

0  AppleVA  VP3CreateInstance  
1  VideoToolbox  VCH263VideoDecoder_CreateInstance  
2  VideoToolbox  VTDecompressionSessionCreateWithOptions  
3  VideoToolbox  VTDecompressionSessionCreate  
4  XUL  mozilla::AppleVTDecoder::InitializeSession  dom/media/platforms/apple/AppleVTDecoder.cpp:551
5  XUL  mozilla::AppleDecoderModule::CanCreateHWDecoder  dom/media/platforms/apple/AppleDecoderModule.cpp:202
6  XUL  mozilla::AppleDecoderModule::Supports const  dom/media/platforms/apple/AppleDecoderModule.cpp:120
7  XUL  mozilla::PDMFactory::GetDecoderModule const  dom/media/platforms/PDMFactory.cpp:773
7  XUL  mozilla::PDMFactory::Supports const  dom/media/platforms/PDMFactory.cpp:478
8  XUL  mozilla::MP4Decoder::IsSupportedType  dom/media/mp4/MP4Decoder.cpp:193
Flags: needinfo?(azebrowski)

Kind of surprising to me that this is showing up as a parent process crash.

Will put together a patch for this, thanks!

Assignee: nobody → azebrowski
Status: NEW → ASSIGNED

Have a patch up on Phab but don't currently have access to a 10.12-10.14 machine to verify, could somebody from QA or with a machine with that OS please take a look? (I used the regressionwindow-wanted keyword -- please let me know if there's a better keyword I should use.) Will check back in tomorrow morning to confirm from my side + with jolin before landing.

QA Whiteboard: [qa-regression-triage]
Severity: -- → S2
Priority: -- → P2

Good for a ride-along to release if it's an easy fix.

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 5 desktop browser crashes on Mac on release

For more information, please visit auto_nag documentation.

Keywords: topcrash
Pushed by azebrowski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30eebaf414ab
Remove OS X PDM H264 hardware acceleration check to prevent crashes in 10.12-10.14 r=jolin

Haven't been able to repro. Landed patch in nightly which reverts the H264 logic and should clear this up, will monitor.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch

Go ahead and nominate this for Beta approval when you get a chance.

Comment on attachment 9309082 [details]
Bug 1806391 - Remove OS X PDM H264 hardware acceleration check to prevent crashes in 10.12-10.14 r=jolin

Beta/Release Uplift Approval Request

  • User impact if declined: Possible crashes in H264 video playback on OS X 10.12-10.14
  • Is this code covered by automated tests?: Unknown
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Haven't been able to reproduce. Appears to be caused when during H264 playback on OSX 10.12-10.14. Crash report protected information contains a link to a video streaming site that I've verified streams H264 video.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Change should not be risky as it is reverting logic to previous
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(azebrowski)
Attachment #9309082 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9309082 [details]
Bug 1806391 - Remove OS X PDM H264 hardware acceleration check to prevent crashes in 10.12-10.14 r=jolin

Approved for 109.0b7.

Attachment #9309082 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-regression-triage] → [qa-triaged] [qa-regression-triage]

We tried to reproduce the issue without any luck, so we cannot confirm the fix.
Tests were performed under macOS 10.12, macOS 10.13 and under macOS 10.14.
Also we tried to reproduce the issue on Firefox 108, Firefox 108.0.1 and on Firefox 109.0b6, using .pkg and .dmg installation files and also covered 'en-US' and 'de' localizations.
For testing we used all the links from the crash report and also a few random h.264 videos.
If we can help further with the investigation, please add again the qe+ flag.

Flags: qe-verify+
Regressions: 1806993
Regressions: 1806995

can you nominate this for release for the 108.0.2 dot release?

Flags: needinfo?(azebrowski)

Comment on attachment 9309082 [details]
Bug 1806391 - Remove OS X PDM H264 hardware acceleration check to prevent crashes in 10.12-10.14 r=jolin

Beta/Release Uplift Approval Request

  • User impact if declined: Possible crashes in H264 video playback on OS X 10.12-10.14
  • Is this code covered by automated tests?: Unknown
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Crashes have stopped in nightly. This bug does have two regressions tied to it which appear to be minor.
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(azebrowski)
Attachment #9309082 - Flags: approval-mozilla-release?

Comment on attachment 9309082 [details]
Bug 1806391 - Remove OS X PDM H264 hardware acceleration check to prevent crashes in 10.12-10.14 r=jolin

Approved for 108.0.2

Attachment #9309082 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: