Open Bug 1408608 Opened 7 years ago Updated 2 years ago

Intermittent TEST-UNEXPECTED-TIMEOUT | dom/media/mediasource/test/test_DurationUpdated_mp4.html | application timed out after 330 seconds with no output after Assertion failure: !mOwningThread (destroying a still-owned lock!)

Categories

(Core :: Graphics, defect, P5)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Component: Audio/Video → Audio/Video: Playback
https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-central&job_id=136768506&lineNumber=1727

GECKO(1707) | Assertion failure: !mOwningThread (destroying a still-owned lock!), at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Mutex.h:57
GECKO(1707) | [Child 1710, MediaPlayback #1] WARNING: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<MediaSourceTrackDemuxer::SamplesPromise> mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaFormatReader.cpp, line 1810
GECKO(1707) | [Child 1710, MediaPlayback #2] WARNING: Decoder=121f37e00 Decode error: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3350
GECKO(1707) | #01: mozilla::TrackBuffersManager::~TrackBuffersManager() [mfbt/RefPtr.h:78]
Depends on: 1407940
https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=142124501&lineNumber=8551

Assertion failure: !mOwningThread (destroying a still-owned lock!), at z:\build\build\src\obj-firefox\dist\include\mozilla/Mutex.h:57
#01: mozilla::OffTheBooksMutex::~OffTheBooksMutex() [xpcom/threads/Mutex.h:57]
#02: mozilla::detail::RefCounted<mozilla::gfx::SourceSurface,0>::Release() [mfbt/RefCounted.h:210]
#03: mozilla::gfx::MaskSurfaceCommand::~MaskSurfaceCommand()
#04: mozilla::gfx::CaptureCommandList::~CaptureCommandList() [gfx/2d/CaptureCommandList.cpp:16]
#05: mozilla::gfx::SourceSurfaceCapture::~SourceSurfaceCapture() [gfx/2d/SourceSurfaceCapture.cpp:29]
#06: mozilla::detail::RefCounted<mozilla::gfx::SourceSurface,0>::Release() [mfbt/RefCounted.h:210]
#07: std::_Destroy_range<std::allocator<RefPtr<mozilla::gfx::SourceSurface> > >(RefPtr<mozilla::gfx::SourceSurface> *,RefPtr<mozilla::gfx::SourceSurface> *,std::allocator<RefPtr<mozilla::gfx::SourceSurface> > &) [vs2017_15.4.1/VC/include/xmemory0:1116]
#08: std::vector<RefPtr<mozilla::gfx::SourceSurface>,std::allocator<RefPtr<mozilla::gfx::SourceSurface> > >::_Tidy() [vs2017_15.4.1/VC/include/vector:2007]
#09: mozilla::detail::RefCounted<mozilla::gfx::FilterNode,1>::Release() [mfbt/RefCounted.h:210]
#10: std::_Destroy_range<std::allocator<RefPtr<mozilla::gfx::FilterNodeSoftware> > >(RefPtr<mozilla::gfx::FilterNodeSoftware> *,RefPtr<mozilla::gfx::FilterNodeSoftware> *,std::allocator<RefPtr<mozilla::gfx::FilterNodeSoftware> > &) [vs2017_15.4.1/VC/include/xmemory0:1116]
#11: std::vector<RefPtr<mozilla::gfx::FilterNodeSoftware>,std::allocator<RefPtr<mozilla::gfx::FilterNodeSoftware> > >::_Tidy() [vs2017_15.4.1/VC/include/vector:2007]
#12: mozilla::detail::RefCounted<mozilla::gfx::FilterNode,1>::Release() [mfbt/RefCounted.h:210]
#13: std::_Destroy_range<std::allocator<RefPtr<mozilla::gfx::FilterNodeSoftware> > >(RefPtr<mozilla::gfx::FilterNodeSoftware> *,RefPtr<mozilla::gfx::FilterNodeSoftware> *,std::allocator<RefPtr<mozilla::gfx::FilterNodeSoftware> > &) [vs2017_15.4.1/VC/include/xmemory0:1116]
#14: std::vector<RefPtr<mozilla::gfx::FilterNodeSoftware>,std::allocator<RefPtr<mozilla::gfx::FilterNodeSoftware> > >::_Tidy() [vs2017_15.4.1/VC/include/vector:2007]
#15: mozilla::detail::RefCounted<mozilla::gfx::FilterNode,1>::Release() [mfbt/RefCounted.h:210]
#16: mozilla::gfx::CaptureCommandList::~CaptureCommandList() [gfx/2d/CaptureCommandList.cpp:16]
#17: mozilla::gfx::DrawTargetCaptureImpl::~DrawTargetCaptureImpl() [gfx/2d/DrawTargetCapture.cpp:22]

Looks like we have a UAF in gfx.
Component: Audio/Video: Playback → Graphics
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.