Closed Bug 1294003 Opened 9 years ago Closed 9 years ago

Intermittent /media-source/mediasource-removesourcebuffer.html | application crashed [@ mozilla::DXVA2Manager::~DXVA2Manager()] after Assertion failure: NS_IsMainThread()

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox50 --- unaffected
firefox51 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: cpearce)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Component: Audio/Video → Audio/Video: Playback
Flags: needinfo?(cpearce)
Comment on attachment 8789668 [details] Bug 1294003 - Ensure we destroy DXVA2Manager on main thread if DXVA init fails. https://reviewboard.mozilla.org/r/77808/#review76118 ::: dom/media/platforms/wmf/WMFVideoMFTManager.cpp:450 (Diff revision 1) > hr = decoder->SendMFTMessage(MFT_MESSAGE_SET_D3D_MANAGER, manager); > if (SUCCEEDED(hr)) { > mUseHwAccel = true; > } else { > - mDXVA2Manager = nullptr; > + nsCOMPtr<nsIRunnable> r(new DestroyDXVA2ManagerOnMainThread(Move(mDXVA2Manager))); > + NS_DispatchToMainThread(r); Just use DeleteOnMainThread() like we do in destructor.
Attachment #8789668 - Flags: review?(matt.woodrow) → review+
Pushed by cpearce@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/12d5778a37a6 Ensure we destroy DXVA2Manager on main thread if DXVA init fails. r=mattwoodrow
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Assignee: nobody → cpearce
Flags: needinfo?(cpearce)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: