Skip to content

Instantly share code, notes, and snippets.

@FlyingJester
Created July 2, 2014 23:21
Show Gist options
  • Select an option

  • Save FlyingJester/115c0c7b72cca7425729 to your computer and use it in GitHub Desktop.

Select an option

Save FlyingJester/115c0c7b72cca7425729 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 0x40078f28 in __pthread_cond_timedwait () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#1 0x40b1c7e2 in android::ALooperRoster::postAndAwaitResponse(android::sp<android::AMessage> const&, android::sp<android::AMessage>*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright_foundation.so
#2 0x40b1d3ba in android::AMessage::postAndAwaitResponse(android::sp<android::AMessage>*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright_foundation.so
#3 0x71cd88fa in android::MediaCodec::PostAndAwaitResponse(android::sp<android::AMessage> const&, android::sp<android::AMessage>*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright.so
#4 0x71cd9100 in android::MediaCodec::dequeueOutputBuffer(unsigned int*, unsigned int*, unsigned int*, long long*, unsigned int*, long long) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright.so
#5 0x71c4ca5e in android::JMediaCodec::dequeueOutputBuffer(_JNIEnv*, _jobject*, unsigned int*, long long) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libmedia_jni.so
#6 0x71c4caf2 in ?? () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libmedia_jni.so
#7 0x414d9bd0 in dvmPlatformInvoke () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#8 0x4150a126 in dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#9 0x4151c538 in dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#10 0x41508ac8 in ?? () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#11 0x7c99e96a in _JNIEnv::CallIntMethod (this=this@entry=0x7778ffc0, obj=<optimized out>, methodID=0x6d602150) at /Users/mozilla/ff/android-ndk-r8e/platforms/android-9/arch-arm/usr/include/jni.h:637
#12 0x7c9a6bb2 in mozilla::widget::android::MediaCodec::DequeueOutputBuffer (this=0x844800a0, a0=0x1d80054a, a1=<optimized out>) at /Users/mozilla/ff/gd3/gecko-dev/widget/android/GeneratedJNIWrappers_2.cpp:171
#13 0x7cc7f7ac in mozilla::AndroidInputLoader::Run (this=0x84bff040) at /Users/mozilla/ff/gd3/gecko-dev/content/media/fmp4/androidmc/AndroidDecoderUtils.cpp:472
#14 0x7cc528ec in mozilla::MediaTaskQueue::Runner::Run (this=0x844fac20) at /Users/mozilla/ff/gd3/gecko-dev/content/media/MediaTaskQueue.cpp:127
#15 0x7c32f392 in nsThreadPool::Run (this=0x810f6240) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThreadPool.cpp:217
#16 0x7c32dcde in ProcessNextEvent (aResult=0x7787dd27, aMayWait=<optimized out>, this=0x7f2537f0) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThread.cpp:766
#17 nsThread::ProcessNextEvent (this=0x7f2537f0, aMayWait=<optimized out>, aResult=0x7787dd27) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThread.cpp:685
#18 0x7c2fde46 in NS_ProcessNextEvent (thread=<optimized out>, mayWait=<optimized out>) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/glue/nsThreadUtils.cpp:263
#19 0x7c487ba6 in mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0x84010e80, aDelegate=0x81eeacc0) at /Users/mozilla/ff/gd3/gecko-dev/ipc/glue/MessagePump.cpp:307
#20 0x7c472688 in MessageLoop::RunInternal (this=this@entry=0x81eeacc0) at /Users/mozilla/ff/gd3/gecko-dev/ipc/chromium/src/base/message_loop.cc:229
#21 0x7c47276c in RunHandler (this=0x81eeacc0) at /Users/mozilla/ff/gd3/gecko-dev/ipc/chromium/src/base/message_loop.cc:222
#22 MessageLoop::Run (this=0x81eeacc0) at /Users/mozilla/ff/gd3/gecko-dev/ipc/chromium/src/base/message_loop.cc:196
#23 0x7c32f5f4 in nsThread::ThreadFunc (aArg=0x7f2537f0) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThread.cpp:346
#24 0x7a08c7d6 in _pt_root (arg=0x810f0800) at /Users/mozilla/ff/gd3/gecko-dev/nsprpub/pr/src/pthreads/ptthread.c:212
#25 0x40077174 in __thread_entry () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#26 0x4007730c in pthread_create () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#27 0x00000000 in ?? ()
(gdb) thr
[Current thread is 62 (Thread 19728)]
(gdb) thr 68
[Switching to thread 68 (Thread 19954)]
#0 0x4008b904 in __futex_syscall3 () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
(gdb) bt
#0 0x4008b904 in __futex_syscall3 () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#1 0x40078ec8 in __pthread_cond_timedwait_relative () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#2 0x40078f28 in __pthread_cond_timedwait () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#3 0x40b1c7e2 in android::ALooperRoster::postAndAwaitResponse(android::sp<android::AMessage> const&, android::sp<android::AMessage>*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright_foundation.so
#4 0x40b1d3ba in android::AMessage::postAndAwaitResponse(android::sp<android::AMessage>*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright_foundation.so
#5 0x71cd88fa in android::MediaCodec::PostAndAwaitResponse(android::sp<android::AMessage> const&, android::sp<android::AMessage>*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright.so
#6 0x71cd9100 in android::MediaCodec::dequeueOutputBuffer(unsigned int*, unsigned int*, unsigned int*, long long*, unsigned int*, long long) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libstagefright.so
#7 0x71c4ca5e in android::JMediaCodec::dequeueOutputBuffer(_JNIEnv*, _jobject*, unsigned int*, long long) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libmedia_jni.so
#8 0x71c4caf2 in ?? () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libmedia_jni.so
#9 0x414d9bd0 in dvmPlatformInvoke () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#10 0x4150a126 in dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#11 0x4151c538 in dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list) () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#12 0x41508ac8 in ?? () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libdvm.so
#13 0x7c99e96a in _JNIEnv::CallIntMethod (this=this@entry=0x7a2237c8, obj=<optimized out>, methodID=0x6d602150) at /Users/mozilla/ff/android-ndk-r8e/platforms/android-9/arch-arm/usr/include/jni.h:637
#14 0x7c9a6bb2 in mozilla::widget::android::MediaCodec::DequeueOutputBuffer (this=0x810eb700, a0=0x21e0062a, a1=<optimized out>) at /Users/mozilla/ff/gd3/gecko-dev/widget/android/GeneratedJNIWrappers_2.cpp:171
#15 0x7cc7f7ac in mozilla::AndroidInputLoader::Run (this=0x7deee480) at /Users/mozilla/ff/gd3/gecko-dev/content/media/fmp4/androidmc/AndroidDecoderUtils.cpp:472
#16 0x7cc528ec in mozilla::MediaTaskQueue::Runner::Run (this=0x810eb8d0) at /Users/mozilla/ff/gd3/gecko-dev/content/media/MediaTaskQueue.cpp:127
#17 0x7c32f392 in nsThreadPool::Run (this=0x810f6240) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThreadPool.cpp:217
#18 0x7c32dcde in ProcessNextEvent (aResult=0x7a1edd27, aMayWait=<optimized out>, this=0x77aefcc0) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThread.cpp:766
#19 nsThread::ProcessNextEvent (this=0x77aefcc0, aMayWait=<optimized out>, aResult=0x7a1edd27) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThread.cpp:685
#20 0x7c2fde46 in NS_ProcessNextEvent (thread=<optimized out>, mayWait=<optimized out>) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/glue/nsThreadUtils.cpp:263
#21 0x7c487ba6 in mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0x7f24fb20, aDelegate=0x81ee9a60) at /Users/mozilla/ff/gd3/gecko-dev/ipc/glue/MessagePump.cpp:307
#22 0x7c472688 in MessageLoop::RunInternal (this=this@entry=0x81ee9a60) at /Users/mozilla/ff/gd3/gecko-dev/ipc/chromium/src/base/message_loop.cc:229
#23 0x7c47276c in RunHandler (this=0x81ee9a60) at /Users/mozilla/ff/gd3/gecko-dev/ipc/chromium/src/base/message_loop.cc:222
#24 MessageLoop::Run (this=0x81ee9a60) at /Users/mozilla/ff/gd3/gecko-dev/ipc/chromium/src/base/message_loop.cc:196
#25 0x7c32f5f4 in nsThread::ThreadFunc (aArg=0x77aefcc0) at /Users/mozilla/ff/gd3/gecko-dev/xpcom/threads/nsThread.cpp:346
#26 0x7a08c7d6 in _pt_root (arg=0x77dfd780) at /Users/mozilla/ff/gd3/gecko-dev/nsprpub/pr/src/pthreads/ptthread.c:212
#27 0x40077174 in __thread_entry () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#28 0x4007730c in pthread_create () from /Users/mozilla/ff/jimdb-arm/lib/0738781d009994e0/system/lib/libc.so
#29 0x00000000 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment