Crash in [@ vaExportSurfaceHandle]
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox75 | --- | unaffected |
firefox76 | --- | unaffected |
firefox77 | --- | wontfix |
firefox78 | --- | fixed |
People
(Reporter: calixte, Assigned: stransky)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
This bug is for crash report bp-aa02bbf4-2cc0-430d-a6b5-4eea90200422.
Top 10 frames of crashing thread:
0 libva.so.2 vaExportSurfaceHandle
1 libxul.so mozilla::FFmpegVideoDecoder<58>::CreateImageVAAPI dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:637
2 libxul.so mozilla::FFmpegVideoDecoder<58>::DoDecode dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:434
3 libxul.so mozilla::FFmpegDataDecoder<58>::DoDecode dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp:184
4 libxul.so mozilla::FFmpegDataDecoder<58>::ProcessDecode dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp:140
5 libxul.so mozilla::detail::ProxyRunnable<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > xpcom/threads/MozPromise.h:1353
6 libxul.so mozilla::TaskQueue::Runner::Run xpcom/threads/TaskQueue.cpp:207
7 libxul.so nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:300
8 libxul.so non-virtual thunk to nsThreadPool::Run xpcom/threads/nsThreadPool.cpp
9 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1200
There is 1 crash in nightly 77 with buildid 20200422093542. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1630754.
[1] https://hg.mozilla.org/mozilla-central/rev?node=c159181ff5d0
Assignee | ||
Comment 1•5 years ago
|
||
I'll look at it, Thanks!
Assignee | ||
Comment 2•5 years ago
|
||
Hm, I don't see a clear reason why this happens. Maybe mDisplay is wrong, let's see if fix from Bug 1632059 helps here.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Adding a couple of similar-looking signatures.
Assignee | ||
Comment 4•5 years ago
|
||
I think I have a log for that:
[h264 @ 0x7fe4731a2800] Decode to surface 0x4000015.
[Child 194041: MediaPDecoder #3]: D/PlatformDecoderModule Got one VAAPI frame output with pts=137280000 dts=137280000 duration=40000 opaque=-9223372036854775808
[Child 194041, MediaDecoderStateMachine #1] WARNING: Decoder=7fe472b6bc00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e) - mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::CreateImageVAAPI(int64_t, int64_t, int64_t, mozilla::MediaDataDecoder::DecodedData&): Unable to get frame by vaExportSurfaceHandle(): file /home/komat/src-wayland/dom/media/MediaDecoderStateMachine.cpp, line 3370
so looks like OOM on GPU if that's possible.
Assignee | ||
Comment 5•5 years ago
|
||
It's caused by missing mVAAPIDeviceContext release when va-api driver is missing. As mVAAPIDeviceContext is used as a flag that vaapi support is present we take vaapi path even when we failed to configure it.
Assignee | ||
Comment 6•5 years ago
|
||
Comment 8•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Description
•