[MSE] Segfault playing YouTube using DASH on b2g

RESOLVED WORKSFORME

Status

()

P5
normal
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: ajones, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

STR:

* Enable MSE prefs as appropriate
* Play a DASH video on YouTube

EXPECTED RESULTS:

Plays normally


ACTUAL RESULTS:

Occasionally crashes with segfault here:

#0  __memcpy_base () at bionic/libc/arch-arm/krait/bionic/memcpy_base.S:153
#1  0xb55415ce in CreateAudioData (v=0xad8ffbd4, aStreamOffset=0, this=0xaeced760) at /home/ajones/src/mozilla-central/dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp:125
#2  mozilla::GonkAudioDecoderManager::CreateAudioData (this=0xaeced760, aStreamOffset=<optimized out>, v=0xad8ffbd4) at /home/ajones/src/mozilla-central/dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp:102
#3  0xb5541876 in mozilla::GonkAudioDecoderManager::Output (this=0xaeced760, aStreamOffset=<optimized out>, aOutData=...) at /home/ajones/src/mozilla-central/dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp:155
#4  0xb55418ae in mozilla::GonkAudioDecoderManager::Output (this=0xaeced760, aStreamOffset=<optimized out>, aOutData=...) at /home/ajones/src/mozilla-central/dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp:170
#5  0xb55418ae in mozilla::GonkAudioDecoderManager::Output (this=0xaeced760, aStreamOffset=<optimized out>, aOutData=...) at /home/ajones/src/mozilla-central/dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp:170
#6  0xb55416fa in mozilla::GonkMediaDataDecoder::ProcessOutput (this=0xaecfb130) at /home/ajones/src/mozilla-central/dom/media/fmp4/gonk/GonkMediaDataDecoder.cpp:93
#7  0xb4ced4cc in nsRunnableMethodImpl<tag_nsresult (mozilla::net::Dashboard::*)(mozilla::net::ConnectionData*), nsRefPtr<mozilla::net::ConnectionData>, true>::Run (this=<optimized out>) at ../../../dist/include/nsThreadUtils.h:363
#8  0xb54ea848 in mozilla::MediaTaskQueue::Runner::Run (this=0xae213a20) at /home/ajones/src/mozilla-central/dom/media/MediaTaskQueue.cpp:194
#9  0xb4cc9734 in nsThreadPool::Run (this=0xb14e40b0) at ../../../../src/mozilla-central/xpcom/threads/nsThreadPool.cpp:220
#10 0xb4cc7218 in nsThread::ProcessNextEvent (this=0xae210890, aMayWait=<optimized out>, aResult=0xad8ffd27) at ../../../../src/mozilla-central/xpcom/threads/nsThread.cpp:830
#11 0xb4cd4e46 in NS_ProcessNextEvent (aThread=<optimized out>, aMayWait=aMayWait@entry=false) at /home/ajones/src/mozilla-central/xpcom/glue/nsThreadUtils.cpp:265
#12 0xb4e1902a in mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0xaec46b20, aDelegate=0xacc7cc20) at ../../../../src/mozilla-central/ipc/glue/MessagePump.cpp:339
#13 0xb4e0d9f4 in MessageLoop::RunInternal (this=this@entry=0xacc7cc20) at ../../../../src/mozilla-central/ipc/chromium/src/base/message_loop.cc:233
#14 0xb4e0daa8 in RunHandler (this=0xacc7cc20) at ../../../../src/mozilla-central/ipc/chromium/src/base/message_loop.cc:226
#15 MessageLoop::Run (this=this@entry=0xacc7cc20) at ../../../../src/mozilla-central/ipc/chromium/src/base/message_loop.cc:200
#16 0xb4cc9a40 in nsThread::ThreadFunc (aArg=0xae210890) at ../../../../src/mozilla-central/xpcom/threads/nsThread.cpp:350
#17 0xb6970052 in _pt_root (arg=0xaf909b00) at ../../../../../../src/mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:212
#18 0xb6e3c22c in __thread_entry (func=0xb696ffb9 <_pt_root>, arg=0xaf909b00, tls=0xad8ffdd0) at bionic/libc/bionic/pthread_create.cpp:105
#19 0xb6e3c3c4 in pthread_create (thread_out=0xae6b9a4c, attr=<optimized out>, start_routine=0xb696ffb9 <_pt_root>, arg=0x78) at bionic/libc/bionic/pthread_create.cpp:224
#20 0x00000000 in ?? ()
Priority: -- → P5
Component: Audio/Video → Audio/Video: Playback
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.