Could anyone shed some light on the following crash report? Is there a way to prevent such crashes?
Build fingerprint: 'samsung/kltexx/klte:5.0/LRX21T/G900FXXU1BNL9:user/release-keys'
Revision: '14'
ABI: 'arm'
pid: 13847, tid: 16899, name: MediaCodec_loop >>> net.mydomain.myapp <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'frameworks/av/media/libstagefright/MediaCodec.cpp:967 CHECK_EQ( mState,CONFIGURING) failed: 9 vs. 3'
r0 00000000 r1 00004203 r2 00000006 r3 00000000
r4 9b2ffdb8 r5 00000006 r6 00000000 r7 0000010c
r8 00000000 r9 b55fa024 sl 9b2ffc74 fp 9b2ffc80
ip 00004203 sp 9b2ff7e0 lr b6f2ffd5 pc b6f53978 cpsr 600d0010
backtrace:
#00 pc 00037978 /system/lib/libc.so (tgkill+12)
#01 pc 00013fd1 /system/lib/libc.so (pthread_kill+52)
#02 pc 00014bef /system/lib/libc.so (raise+10)
#03 pc 00011531 /system/lib/libc.so (__libc_android_abort+36)
#04 pc 0000fcbc /system/lib/libc.so (abort+4)
#05 pc 00007af1 /system/lib/libcutils.so (__android_log_assert+88)
#06 pc 00098c8b /system/lib/libstagefright.so (android::MediaCodec::onMessageReceived(android::sp<android::AMessage> const&)+486)
#07 pc 0000a5a3 /system/lib/libstagefright_foundation.so (android::ALooperRoster::deliverMessage(android::sp<android::AMessage> const&)+166)
#08 pc 00009f25 /system/lib/libstagefright_foundation.so (android::ALooper::loop()+220)
#09 pc 0000ef11 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
#10 pc 000603bd /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
#11 pc 0000ea81 /system/lib/libutils.so
#12 pc 000137bb /system/lib/libc.so (__pthread_start(void*)+30)
#13 pc 0001189b /system/lib/libc.so (__start_thread+6)
Related
***** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/volantis/flounder:7.1.1/N9F27M/4333998:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 23136, tid: 23160, name: UnityMain >>> com.kumora.emblem <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
r0 c0d0d570 r1 00000000 r2 00000024 r3 00000038
r4 c0d0d578 r5 00000038 r6 de77d141 r7 c837fc78
r8 00000000 r9 ce4e7694 sl 00000024 fp df1c5c70
ip dea4fab0 sp d0f75a18 lr de80ec47 pc de77d148 cpsr 600b0030
backtrace:
#00 pc 00914148 /vendor/lib/libglcore.so
#01 pc 009a5c45 /vendor/lib/libglcore.so
#02 pc 009a5fd9 /vendor/lib/libglcore.so
#03 pc 0079ef39 /vendor/lib/libglcore.so
#04 pc 005130b0 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#05 pc 00264054 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#06 pc 002631c0 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#07 pc 005b7eec /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#08 pc 005b7fa8 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#09 pc 0019ac44 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#10 pc 0045ef4c /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#11 pc 00199ef0 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#12 pc 0019b6e4 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#13 pc 0019c690 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#14 pc 001a34c8 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#15 pc 00125d90 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#16 pc 00128364 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#17 pc 00149794 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#18 pc 002e7b34 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#19 pc 002e941c /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#20 pc 00540a68 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#21 pc 00543248 /data/app/com.kumora.emblem-1/lib/arm/libunity.so
#22 pc 0020e629 /data/app/com.kumora.emblem-1/oat/arm/base.odex (offset 0x1ec000)
I am using this method to convert the address to code location but the result seems no right. Is there any better way to find the crash code location in my file or unity native code?
Getting following error and app crashes after providing update. Home activity contain listview with 50 images. Please suggest for the resolution.
Build fingerprint: 'Verizon/kltevzw/kltevzw:6.0.1/MMB29M/G900VVRS2DQB2:user/release-keys'
Revision: '14'
ABI: 'arm'
pid: 12922, tid: 12922, name: m.ex.exp >>> com.ex.exp <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'art/runtime/class_linker.cc:2502] Check failed: dex_cache.Get() != nullptr Failed to allocate dex cache for /data/app/com.google.android.gms-2/base.apk:classes3.dex'
r0 00000000 r1 0000327a r2 00000006 r3 b6f13b84
r4 b6f13b8c r5 b6f13b3c r6 00000001 r7 0000010c
r8 b3fbf800 r9 b3fbde44 sl 9927d3db fp b3fa3480
ip 00000006 sp becac340 lr b6c74c09 pc b6c76ff8 cpsr 40070010
backtrace:
#00 pc 00041ff8 /system/lib/libc.so (tgkill+12)
#01 pc 0003fc05 /system/lib/libc.so (pthread_kill+32)
#02 pc 0001c38b /system/lib/libc.so (raise+10)
#03 pc 00019609 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 0001755c /system/lib/libc.so (abort+4)
#05 pc 003341ad /system/lib/libart.so (_ZN3art7Runtime5AbortEv+228)
#06 pc 000f477b /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226)
#07 pc 000f0a51 /system/lib/libart.so (_ZN3art7BarrierD2Ev+216)
#08 pc 0035c201 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+188)
#09 pc 00334275 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+428)
#10 pc 000f477b /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226)
#11 pc 0012fb57 /system/lib/libart.so (_ZN3art11ClassLinker15RegisterDexFileERKNS_7DexFileE+546)
#12 pc 001360b1 /system/lib/libart.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+704)
#13 pc 001363b7 /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE.part.589+522)
#14 pc 00136c7b /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+50)
#15 pc 00139b31 /system/lib/libart.so (_ZN3art11ClassLinker11ResolveTypeERKNS_7DexFileEtNS_6HandleINS_6mirror8DexCacheEEENS4_INS5_11ClassLoaderEEE+160)
#16 pc 0013b8f5 /system/lib/libart.so (_ZN3art11ClassLinker13ResolveMethodERKNS_7DexFileEjNS_6HandleINS_6mirror8DexCacheEEENS4_INS5_11ClassLoaderEEEPNS_9ArtMethodENS_10InvokeTypeE+140)
#17 pc 003fc9e5 /system/lib/libart.so (_ZN3art11ClassLinker13ResolveMethodEPNS_6ThreadEjPNS_9ArtMethodENS_10InvokeTypeE.part.125+68)
#18 pc 00400805 /system/lib/libart.so (artQuickResolutionTrampoline+2636)
#19 pc 000eab23 /system/lib/libart.so (art_quick_resolution_trampoline+34)
#20 pc 049eb5f3 /data/app/com.google.android.gms-2/oat/arm/base.odex (offset 0x3209000)
I got this crash reported on the play developer console from a Galaxy S4. Any clue what it's about?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/jfltespr/jfltespr:5.0.1/LRX22C/L720VPUGOK3:user/release-keys'
Revision: '11'
ABI: 'arm'
pid: 19535, tid: 19535, name: >>> com.company.package <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'sart/runtime/class_linker.cc:3054] Check failed: dex_cache.Get() != nullptr Failed to allocate dex cache for /data/app/com.google.android.gms-1/base.apk'
r0 00000000 r1 00004c4f r2 00000006 r3 00000000
r4 b6f4e114 r5 00000006 r6 00000002 r7 0000010c
r8 00000001 r9 b4f4f520 sl b4f07800 fp b3b6db00
ip 00004c4f sp beceff10 lr b6ed7fd1 pc b6efaeb4 cpsr 60070010
backtrace:
#00 pc 00036eb4 /system/lib/libc.so (tgkill+12)
#01 pc 00013fcd /system/lib/libc.so (pthread_kill+52)
#02 pc 00014beb /system/lib/libc.so (raise+10)
#03 pc 00011531 /system/lib/libc.so (__libc_android_abort+36)
#04 pc 0000fcbc /system/lib/libc.so (abort+4)
#05 pc 0021d9d9 /system/lib/libart.so (art::Runtime::Abort()+160)
#06 pc 000a8363 /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
#07 pc 000ce557 /system/lib/libart.so (art::ClassLinker::RegisterDexFile(art::DexFile const&)+330)
#08 pc 000d37e5 /system/lib/libart.so (art::ClassLinker::FindClassInPathClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+424)
#09 pc 000d3af9 /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE.part.403+356)
#10 pc 000d65e3 /system/lib/libart.so (art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)+122)
#11 pc 000d685d /system/lib/libart.so (art::ClassLinker::ResolveMethodExceptionHandlerTypes(art::DexFile const&, art::mirror::ArtMethod*)+316)
#12 pc 000d6953 /system/lib/libart.so (art::ClassLinker::ResolveClassExceptionHandlerTypes(art::DexFile const&, art::Handle<art::mirror::Class>)+46)
#13 pc 000d6b8f /system/lib/libart.so (art::ClassLinker::VerifyClass(art::Handle<art::mirror::Class>)+470)
#14 pc 000d81bf /system/lib/libart.so (art::ClassLinker::InitializeClass(art::Handle<art::mirror::Class>, bool, bool)+270)
#15 pc 000d8c13 /system/lib/libart.so (art::ClassLinker::EnsureInitialized(art::Handle<art::mirror::Class>, bool, bool)+54)
#16 pc 00288037 /system/lib/libart.so (artQuickResolutionTrampoline+598)
#17 pc 000a424b /system/lib/libart.so (art_quick_resolution_trampoline+10)
#18 pc 0010fa7c /dev/ashmem/dalvik-main space (deleted)
Here's the primary error message pulled out from that mess:
Abort message: 'sart/runtime/class_linker.cc:3054] Check failed: dex_cache.Get() != nullptr Failed to allocate dex cache for /data/app/com.google.android.gms-1/base.apk'
There were no user comments so I have no idea how to reproduce it. Is there anything I can do to track this down?
I am running into an issue in my Android app where Galaxy Note 4, Galaxy Edge, and some other devices crash when trying to play H.264 video streamed from a server. I'm fairly certain that the H.264 video is correct, as the same video works using the same decoder on other devices. In addition, the devices that are crashing support the decoder that I'm using.
It doesn't crash in my source code, but it does crash the app. Has anyone ever run into this issue? If so, could you give me some help on what I could do to figure out what is happening? Here's the message I'm getting from the Developer Console in Google Play:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Verizon/trltevzw/trltevzw:5.0.1/LRX22C/N910VVRU1BOAF:user/release-keys'
Revision: '12'
ABI: 'arm'
pid: 32467, tid: 32524, name: CodecLooper >>> com.xxxx.xxxx<<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'frameworks/av/media/libstagefright/ACodec.cpp:1304 CHECK_EQ( mOMX->freeBuffer( mNode, portIndex, info->mBufferID),(status_t)OK) failed: -2147483648 vs. 0'
r0 00000000 r1 00007f0c r2 00000006 r3 00000000
r4 a160fdb8 r5 00000006 r6 00000000 r7 0000010c
r8 00000015 r9 00000000 sl a160fcf4 fp a160fdb0
ip 00007f0c sp a160f6d0 lr b6e9dff5 pc b6ec1998 cpsr 600f0010
backtrace:
#00 pc 00037998 /system/lib/libc.so (tgkill+12)
#01 pc 00013ff1 /system/lib/libc.so (pthread_kill+52)
#02 pc 00014c0f /system/lib/libc.so (raise+10)
#03 pc 00011531 /system/lib/libc.so (__libc_android_abort+36)
#04 pc 0000fcbc /system/lib/libc.so (abort+4)
#05 pc 00007709 /system/lib/libcutils.so (__android_log_assert+88)
#06 pc 000672f9 /system/lib/libstagefright.so (android::ACodec::freeBuffer(unsigned int, unsigned int)+152)
#07 pc 00067589 /system/lib/libstagefright.so (android::ACodec::freeOutputBuffersNotOwnedByComponent()+56)
#08 pc 0006b86f /system/lib/libstagefright.so (android::ACodec::ExecutingState::onOMXEvent(OMX_EVENTTYPE, unsigned int, unsigned int)+210)
#09 pc 0006ba23 /system/lib/libstagefright.so (android::ACodec::BaseState::onOMXMessage(android::sp<android::AMessage> const&)+342)
#10 pc 0006bc71 /system/lib/libstagefright.so (android::ACodec::BaseState::onMessageReceived(android::sp<android::AMessage> const&)+84)
#11 pc 0006c0e1 /system/lib/libstagefright.so (android::ACodec::ExecutingState::onMessageReceived(android::sp<android::AMessage> const&)+652)
#12 pc 00009819 /system/lib/libstagefright_foundation.so (android::AHierarchicalStateMachine::handleMessage(android::sp<android::AMessage> const&)+44)
#13 pc 00061a6f /system/lib/libstagefright.so
#14 pc 0000a5a3 /system/lib/libstagefright_foundation.so (android::ALooperRoster::deliverMessage(android::sp<android::AMessage> const&)+166)
#15 pc 00009f25 /system/lib/libstagefright_foundation.so (android::ALooper::loop()+220)
#16 pc 0000ef11 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
#17 pc 0000ea81 /system/lib/libutils.so
#18 pc 000137bb /system/lib/libc.so (__pthread_start(void*)+30)
#19 pc 0001189b /system/lib/libc.so (__start_thread+6)
Android Lolipop has an api that allows for easy transitions between shared elements in different activities.
Activity transitions
It looks like this api doesn't support a transition with multiple views. Is there a way to do this using the same api?
EDIT
Following the advice from #pskink I use a different method
ActivityOptions options = ActivityOptions
.makeSceneTransitionAnimation(this, Pair.create((View)view, "viewPager"), Pair.create((View) fab, "fab"));
startActivity(intent, options.toBundle());
This worked fine from ActivityA to ActivityB but hitting the back button results in this stacktrace
A/OpenGLRenderer(17305): requireSurface() called but no surface set!
A/libc(17305): Fatal signal 6 (SIGABRT), code -6 in tid 17349(RenderThread)
Build fingerprint: 'google/hammerhead/hammerhead:5.0/LRX21O/1570415:user/release-keys'
Revision: '11'
ABI: 'arm'
pid: 3364, tid: 3414, name: RenderThread >>> com.example.package <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'requireSurface() called but no surface set!'
r0 00000000 r1 00000d56 r2 00000006 r3 00000000
r4 9e9b5db8 r5 00000006 r6 0000003e r7 0000010c
r8 ac39bacc r9 9e9b5d08 sl 9e9b5d00 fp ac39bb08
ip 00000d56 sp 9e9b5858 lr b6f1faf9 pc b6f435d4 cpsr 600f0010
backtrace:
#00 pc 0003a5d4 /system/lib/libc.so (tgkill+12)
#01 pc 00016af5 /system/lib/libc.so (pthread_kill+52)
#02 pc 00017707 /system/lib/libc.so (raise+10)
#03 pc 00013f75 /system/lib/libc.so (__libc_android_abort+36)
#04 pc 00012a3c /system/lib/libc.so (abort+4)
#05 pc 00007a59 /system/lib/libcutils.so (__android_log_assert+88)
#06 pc 0003b61f /system/lib/libhwui.so
#07 pc 0003b971 /system/lib/libhwui.so
#08 pc 0003cf8d /system/lib/libhwui.so
#09 pc 0003cea5 /system/lib/libhwui.so
#10 pc 0003d885 /system/lib/libhwui.so
#11 pc 0003e27b /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+66)
#12 pc 000104d5 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
#13 pc 0005df4d /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
#14 pc 00010045 /system/lib/libutils.so
#15 pc 000162e3 /system/lib/libc.so (__pthread_start(void*)+30)
#16 pc 000142d3 /system/lib/libc.so (__start_thread+6)
EDIT2
The only logs that I receive when I filter by package name are below. The first log looks like it is coming from render script, I posted the log above as I thought it is related.
A/OpenGLRenderer(11128): requireSurface() called but no surface set!
A/libc(11128): Fatal signal 6 (SIGABRT), code -6 in tid 11219
(RenderThread)
I/ci(11358): Making Creator dynamically
W/ResourcesManager(11358): Asset path
'/system/framework/com.android.media.remotedisplay.jar' does not exist
or contains no
W/ResourcesManager(11358): Asset path
'/system/framework/com.android.location.provider.jar' does not exist
or contains no
EDIT3
So I was able to get this to work by disabling the mapfragment that was on activityA. I am still investigating why this would happen