Assertion failure in MediaPromise: !mPromise: ~MediaPromiseHolder()

RESOLVED FIXED in Firefox 42

Status

()

Core
Audio/Video
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jya, Assigned: jya)

Tracking

Trunk
mozilla42
Points:
---

Firefox Tracking Flags

(firefox42 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
>    xul.dll!mozilla::MediaPromiseHolder<mozilla::MediaPromise<nsRefPtr<mozilla::MetadataHolder>,enum mozilla::ReadMetadataFailureReason,1> >::~MediaPromiseHolder<mozilla::MediaPromise<nsRefPtr<mozilla::MetadataHolder>,enum mozilla::ReadMetadataFailureReason,1> >() Line 728    C++
     xul.dll!mozilla::MediaFormatReader::~MediaFormatReader() Line 94    C++
     xul.dll!mozilla::MediaFormatReader::`scalar deleting destructor'(unsigned int)    C++
     xul.dll!mozilla::MediaDecoderReader::Release() Line 80    C++
     xul.dll!nsRefPtr<mozilla::MediaDecoderReader>::assign_assuming_AddRef(mozilla::MediaDecoderReader * aNewPtr) Line 55    C++
     xul.dll!nsRefPtr<mozilla::MediaDecoderReader>::assign_with_AddRef(mozilla::MediaDecoderReader * aRawPtr) Line 38    C++
     xul.dll!nsRefPtr<mozilla::MediaDecoderReader>::operator=(mozilla::MediaDecoderReader * aRhs) Line 145    C++
     xul.dll!mozilla::MediaDecoderStateMachine::~MediaDecoderStateMachine() Line 291    C++
     xul.dll!mozilla::MediaDecoderStateMachine::`scalar deleting destructor'(unsigned int)    C++
     xul.dll!mozilla::MediaDecoderStateMachine::Release() Line 121    C++
     xul.dll!nsRefPtr<mozilla::MediaDecoderStateMachine>::assign_assuming_AddRef(mozilla::MediaDecoderStateMachine * aNewPtr) Line 55    C++
     xul.dll!nsRefPtr<mozilla::MediaDecoderStateMachine>::assign_with_AddRef(mozilla::MediaDecoderStateMachine * aRawPtr) Line 38    C++
     xul.dll!nsRefPtr<mozilla::MediaDecoderStateMachine>::operator=(mozilla::MediaDecoderStateMachine * aRhs) Line 145    C++
     xul.dll!mozilla::DecoderDisposer::OnTaskQueueShutdown() Line 2441    C++
     xul.dll!mozilla::MediaPromise<bool,bool,0>::InvokeCallbackMethod<mozilla::DecoderDisposer,void (__thiscall mozilla::DecoderDisposer::*)(void),bool const &>(mozilla::DecoderDisposer * aThisVal, void (void) * aMethod, const bool & aValue) Line 455    C++
     xul.dll!mozilla::MediaPromise<bool,bool,0>::MethodThenValue<mozilla::DecoderDisposer,void (__thiscall mozilla::DecoderDisposer::*)(void),void (__thiscall mozilla::DecoderDisposer::*)(void)>::DoResolveOrRejectInternal(const mozilla::MediaPromise<bool,bool,0>::ResolveOrRejectValue & aValue) Line 485    C++
     xul.dll!mozilla::MediaPromise<bool,bool,0>::ThenValueBase::DoResolveOrReject(const mozilla::MediaPromise<bool,bool,0>::ResolveOrRejectValue & aValue) Line 385    C++
     xul.dll!mozilla::MediaPromise<bool,bool,0>::ThenValueBase::ResolveOrRejectRunnable::Run() Line 319    C++
     xul.dll!nsThread::ProcessNextEvent(bool aMayWait, bool * aResult) Line 848    C++
     xul.dll!NS_ProcessNextEvent(nsIThread * aThread, bool aMayWait) Line 265    C++
     xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate * aDelegate) Line 95    C++
     xul.dll!mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate * aDelegate) Line 290    C++
     xul.dll!MessageLoop::RunInternal() Line 235    C++
     xul.dll!MessageLoop::RunHandler() Line 228    C++
     xul.dll!MessageLoop::Run() Line 202    C++
     xul.dll!nsBaseAppShell::Run() Line 167    C++
     xul.dll!nsAppShell::Run() Line 178    C++
     xul.dll!XRE_RunAppShell() Line 778    C++
     xul.dll!mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate * aDelegate) Line 259    C++
     xul.dll!MessageLoop::RunInternal() Line 235    C++
     xul.dll!MessageLoop::RunHandler() Line 228    C++
     xul.dll!MessageLoop::Run() Line 202    C++
     xul.dll!XRE_InitChildProcess(int aArgc, char * * aArgv, mozilla::gmp::GMPLoader * aGMPLoader) Line 618    C++
(Assignee)

Comment 1

3 years ago
Created attachment 8634473 [details] [diff] [review]
Reject metadata promise on shutdown. r=bholley
(Assignee)

Updated

3 years ago
Assignee: nobody → jyavenard
(Assignee)

Comment 2

3 years ago
Comment on attachment 8634473 [details] [diff] [review]
Reject metadata promise on shutdown. r=bholley

r=bholley as per email.
Attachment #8634473 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/a5c54b9ebb83
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox42: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.