Unity 2020.3.41. The problematic GPU models are GE8320, GE8322 and GE8100. The most crashable devices are Xiaomi Redmi 6A, Redmi 9C, Redmi 9A, realme C21.
Some stacktraces:
1 (Google Play Console):
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.fruitshake.fairyrpg <<<
backtrace:
#00 pc 0x0000000002691b1c /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#01 pc 0x0000000000dbe585 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#02 pc 0x000000000327bfc5 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#03 pc 0x0000000002e02caf /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#04 pc 0x0000000002e384ed /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#05 pc 0x0000000002e387c7 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#06 pc 0x0000000002e4c1db /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#07 pc 0x0000000002e4c18d /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#08 pc 0x0000000002e4c147 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#09 pc 0x0000000001db285f /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#10 pc 0x0000000000dc5969 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#11 pc 0x0000000000dc5ab5 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#12 pc 0x0000000001db285f /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#13 pc 0x0000000000dc5d87 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#14 pc 0x0000000000dc61e7 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#15 pc 0x0000000000dbd899 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#16 pc 0x0000000000dbca73 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#17 pc 0x0000000000dc267b /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#18 pc 0x0000000000db7983 /data/app/~~glJ5zj2YuTXCLtOwQQBW9Q==/com.google.android.trichromelibrary_530409130-5JNvmPvdeqWxll114AWxEQ==/base.apk!libmonochrome.so
#19 pc 0x00000000000024cd /system/lib/libwebviewchromium_plat_support.so (android::(anonymous namespace)::draw_gl(int, void*, android::uirenderer::DrawGlInfo const&)+228)
#20 pc 0x0000000000160b13 /system/lib/libhwui.so (android::uirenderer::WebViewFunctor::drawGl(android::uirenderer::DrawGlInfo const&)+34)
#21 pc 0x0000000000142539 /system/lib/libhwui.so (android::uirenderer::skiapipeline::GLFunctorDrawable::onDraw(SkCanvas*)+1720)
#22 pc 0x00000000001b8401 /system/lib/libhwui.so (SkDrawable::draw(SkCanvas*, SkMatrix const*)+44)
#23 pc 0x00000000003e0c2f /system/lib/libhwui.so (SkGpuDevice::drawDrawable(SkDrawable*, SkMatrix const*, SkCanvas*)+206)
#24 pc 0x0000000000113cb9 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1020)
#25 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#26 pc 0x000000000012a249 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+44)
#27 pc 0x0000000000113ced /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1072)
#28 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#29 pc 0x000000000012a249 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+44)
#30 pc 0x0000000000113cd5 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1048)
#31 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#32 pc 0x000000000012a249 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+44)
#33 pc 0x0000000000113ced /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1072)
#34 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#35 pc 0x000000000012a249 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+44)
#36 pc 0x0000000000113cd5 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1048)
#37 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#38 pc 0x000000000012a249 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+44)
#39 pc 0x0000000000113ced /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1072)
#40 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#41 pc 0x000000000012a249 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+44)
#42 pc 0x0000000000113cd5 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1048)
#43 pc 0x0000000000114523 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+198)
#44 pc 0x00000000001475c7 /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaPipeline::renderFrameImpl(SkRect const&, std::__1::vector<android::sp<android::uirenderer::RenderNode>, std::__1::allocator<android::sp<android::uirenderer::RenderNode> > > const&, bool, android::uirenderer::Rect const&, SkCanvas*, SkMatrix const&)+474)
#45 pc 0x00000000001472df /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaPipeline::renderFrame(android::uirenderer::LayerUpdateQueue const&, SkRect const&, std::__1::vector<android::sp<android::uirenderer::RenderNode>, std::__1::allocator<android::sp<android::uirenderer::RenderNode> > > const&, bool, android::uirenderer::Rect const&, sk_sp<SkSurface>, SkMatrix const&)+94)
#46 pc 0x00000000001451bd /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::draw(android::uirenderer::renderthread::Frame const&, SkRect const&, SkRect const&, android::uirenderer::LightGeometry const&, android::uirenderer::LayerUpdateQueue*, android::uirenderer::Rect const&, bool, android::uirenderer::LightInfo const&, std::__1::vector<android::sp<android::uirenderer::RenderNode>, std::__1::allocator<android::sp<android::uirenderer::RenderNode> > > const&, android::uirenderer::FrameInfoVisualizer*)+272)
#47 pc 0x000000000014bb11 /system/lib/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+976)
#48 pc 0x000000000014d3db /system/lib/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+458)
#49 pc 0x000000000014059f /system/lib/libhwui.so (android::uirenderer::WorkQueue::process()+162)
#50 pc 0x00000000001573b9 /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+72)
#51 pc 0x000000000000ee95 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+168)
#52 pc 0x000000000000e9dd /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+256)
#53 pc 0x00000000000aacf3 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
#54 pc 0x0000000000064063 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)
2 (Firebase):
Crashed: Thread: SIGSEGV 0x0000000000000000
#00 pc 0x142bb0 libGLESv2_mtk.so
#01 pc 0x854d5 libGLESv2_mtk.so
#02 pc 0x3222a libGLESv2_mtk.so
#03 pc 0x27a44 libGLESv2_mtk.so
#04 pc 0x2e861 libGLESv2_mtk.so
#05 pc 0xbb2b2 libc.so
I know that the stacktraces are very obscure but I have no idea on how to make them more readable. I have uploaded my app's symbols to Firebase and Google Play.
There's a similar thread on Unity's forum.
If you have any idea on how to solve or research the issue, please help!
It's solvable via drawing 1x1px (this helped me, at least) rectangle with different color every frame. As described in Unity's thread:
florianpenzkofer: The root cause is a bug in the PowerVR driver where draw calls that the driver optimizes out leak some memory. That memory bufffer has a fixed size per framebuffer (RenderTexture) and running out of that memory causes the crash. A single draw call that is not optimized out reclaims the leaked memory, so this only leads to a problem if all draws to the same framebuffer (across multiple frames) are redundant.
Driver can't optimize this "random" draw call every frame.
Second option is to create native render plugin, there's example plugin at unity's repo. You'll need to cull glFlush, as stated in previous answer:
In our experiments it helps to call glFinish roughly every 1000 frames (or more often but it‘s expensive because it stalls the GPU).
You could try that using a native rendering plugin.
We got some more information about when affected drivers leak some memory that causes this. We will look into that to maybe come up with a better workaround.
Related
We are developing an app with Unity with an extensive use of WebView. To be more specific we use the UniWebView asset from #onevcat. We suffer a lot of crashes on Android (~5% of all users). Below are the distribution of Android versions and some stacktraces from Google Play console.
Tried Unity versions: 2020.3.18, 2020.3.34, 2020.3.41.
Tried these UniWebView versions: 4.10.3, 4.12.1, 5.0.2.
Thanks for any help!
1:
backtrace:
#00 pc 0x0000000004bc6430 /data/app/com.google.android.webview-VW-FM4suXLpE5O_oTkAtPw==/base.apk!libmonochrome.so
2:
backtrace:
#00 pc 0x000000000303919a /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#01 pc 0x0000000003202e6b /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#02 pc 0x0000000003203323 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#03 pc 0x00000000031f1ea5 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#04 pc 0x0000000002d53f7f /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#05 pc 0x0000000002d53d31 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#06 pc 0x0000000002d53ab3 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#07 pc 0x0000000002cd25b1 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#08 pc 0x0000000002cd6a6b /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#09 pc 0x0000000002cd6707 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#10 pc 0x0000000002cd65a1 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#11 pc 0x0000000002cd6517 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#12 pc 0x0000000002cefec7 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#13 pc 0x0000000002182c1d /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#14 pc 0x00000000022080b1 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#15 pc 0x0000000001870109 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#16 pc 0x000000000223cebb /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#17 pc 0x00000000021d1f03 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#18 pc 0x00000000021d1da1 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#19 pc 0x00000000021d1c8b /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#20 pc 0x000000000218ff8d /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#21 pc 0x00000000021eeb59 /data/app/com.google.android.trichromelibrary_524912630-SrS90JObl_3fO4boVsOGnA==/base.apk!libmonochrome.so
#22 pc 0x00000000000a6077 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20)
#23 pc 0x0000000000060131 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)
3:
backtrace:
#00 pc 0x0000000002662a4c /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#01 pc 0x0000000000da5e3d /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#02 pc 0x00000000031ef611 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#03 pc 0x0000000002d8ec75 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#04 pc 0x0000000002e1b28b /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#05 pc 0x0000000002e1b1d5 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#06 pc 0x0000000002e1b1a5 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#07 pc 0x0000000002e1b155 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#08 pc 0x0000000002cf06df /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#09 pc 0x0000000002e1b11f /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#10 pc 0x0000000001d66d4b /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#11 pc 0x0000000000dad0ff /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#12 pc 0x0000000000dad1dd /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#13 pc 0x0000000001d66d4b /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#14 pc 0x0000000000dad43b /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#15 pc 0x0000000000dad89b /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#16 pc 0x0000000000da5151 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#17 pc 0x0000000000da433b /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#18 pc 0x0000000000da9f07 /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#19 pc 0x0000000000d9f25f /data/app/~~hWszRrrJN--LzAoxUzM-9w==/com.google.android.trichromelibrary_524912630-IFxwMuDrQjBaSN4fr6W6Ww==/base.apk!libmonochrome.so
#20 pc 0x00000000000024cd /system/lib/libwebviewchromium_plat_support.so (android::(anonymous namespace)::draw_gl(int, void*, android::uirenderer::DrawGlInfo const&)+236)
#21 pc 0x0000000000165745 /system/lib/libhwui.so (android::uirenderer::WebViewFunctor::drawGl(android::uirenderer::DrawGlInfo const&)+36)
#22 pc 0x00000000001462b3 /system/lib/libhwui.so (android::uirenderer::skiapipeline::GLFunctorDrawable::onDraw(SkCanvas*)+1938)
#23 pc 0x00000000001c105d /system/lib/libhwui.so (SkDrawable::draw(SkCanvas*, SkMatrix const*)+52)
#24 pc 0x00000000003fa181 /system/lib/libhwui.so (SkGpuDevice::drawDrawable(SkDrawable*, SkMatrix const*, SkCanvas*)+208)
#25 pc 0x00000000001168f9 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1004)
#26 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#27 pc 0x000000000012d1c9 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+52)
#28 pc 0x000000000011692d /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1056)
#29 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#30 pc 0x000000000012d1c9 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+52)
#31 pc 0x0000000000116915 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1032)
#32 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#33 pc 0x000000000012d1c9 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+52)
#34 pc 0x000000000011692d /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1056)
#35 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#36 pc 0x000000000012d1c9 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+52)
#37 pc 0x0000000000116915 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1032)
#38 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#39 pc 0x000000000012d1c9 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+52)
#40 pc 0x000000000011692d /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1056)
#41 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#42 pc 0x000000000012d1c9 /system/lib/libhwui.so (android::uirenderer::$_24::__invoke(void const*, SkCanvas*, SkMatrix const&)+52)
#43 pc 0x0000000000116915 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1032)
#44 pc 0x0000000000117191 /system/lib/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::onDraw(SkCanvas*)+204)
#45 pc 0x000000000014b891 /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaPipeline::renderFrameImpl(SkRect const&, std::__1::vector<android::sp<android::uirenderer::RenderNode>, std::__1::allocator<android::sp<android::uirenderer::RenderNode> > > const&, bool, android::uirenderer::Rect const&, SkCanvas*, SkMatrix const&)+556)
#46 pc 0x000000000014b54f /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaPipeline::renderFrame(android::uirenderer::LayerUpdateQueue const&, SkRect const&, std::__1::vector<android::sp<android::uirenderer::RenderNode>, std::__1::allocator<android::sp<android::uirenderer::RenderNode> > > const&, bool, android::uirenderer::Rect const&, sk_sp<SkSurface>, SkMatrix const&)+94)
#47 pc 0x0000000000149241 /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::draw(android::uirenderer::renderthread::Frame const&, SkRect const&, SkRect const&, android::uirenderer::LightGeometry const&, android::uirenderer::LayerUpdateQueue*, android::uirenderer::Rect const&, bool, android::uirenderer::LightInfo const&, std::__1::vector<android::sp<android::uirenderer::RenderNode>, std::__1::allocator<android::sp<android::uirenderer::RenderNode> > > const&, android::uirenderer::FrameInfoVisualizer*)+272)
#48 pc 0x000000000014ff4b /system/lib/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+906)
#49 pc 0x0000000000151927 /system/lib/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+478)
#50 pc 0x0000000000144163 /system/lib/libhwui.so (android::uirenderer::WorkQueue::process()+158)
#51 pc 0x000000000015bc33 /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+58)
#52 pc 0x000000000000ed43 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+170)
#53 pc 0x000000000000e881 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+264)
#54 pc 0x00000000000aadbb /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
#55 pc 0x0000000000063bcd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)
Well, it's really peculiar, but we were fiddling with settings, and disabling "Optimized Frame Pacing" seems to have helped:
Actually, we stumbled upon this, because swappy::ChoreographerFilter::threadMain(bool, int) was present in some reports but not in the thread that crashed.
Unity game is crashing on some androids. After a few minutes game starts lagging and then crashes. Here is Stack trace from Google Play Console, does someone know how to fix that?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.MAPSGames.FingerEscape <<<
backtrace:
#00 pc 0x0000000000051b7c /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
#01 pc 0x00000000006d157c /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+668)
#02 pc 0x000000000001695c /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
#03 pc 0x0000000000015f8c /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+364)
#04 pc 0x00000000002857ec /apex/com.android.art/lib64/libart.so (art::JavaVMExt::AddGlobalRef(art::Thread*, art::ObjPtr<art::mirror::Object>)+1924)
#05 pc 0x000000000059add0 /apex/com.android.art/lib64/libart.so (art::JNI<false>::NewGlobalRef(_JNIEnv*, _jobject*)+272)
#06 pc 0x0000000002586cfc /data/app/~~TWASomDJJoLgoJ0Ii_lylw==/com.google.android.trichromelibrary_524912634-mVCqI3Yv_FjomGEuf0ULyQ==/base.apk!libmonochrome_64.so
#07 pc 0x00000000025869fc /data/app/~~TWASomDJJoLgoJ0Ii_lylw==/com.google.android.trichromelibrary_524912634-mVCqI3Yv_FjomGEuf0ULyQ==/base.apk!libmonochrome_64.so
#08 pc 0x0000000003799f0c /data/app/~~TWASomDJJoLgoJ0Ii_lylw==/com.google.android.trichromelibrary_524912634-mVCqI3Yv_FjomGEuf0ULyQ==/base.apk!libmonochrome_64.so
#09 pc 0x0000000004a0367c /data/app/~~TWASomDJJoLgoJ0Ii_lylw==/com.google.android.trichromelibrary_524912634-mVCqI3Yv_FjomGEuf0ULyQ==/base.apk!libmonochrome_64.so
#10 pc 0x0000000004a03614 /data/app/~~TWASomDJJoLgoJ0Ii_lylw==/com.google.android.trichromelibrary_524912634-mVCqI3Yv_FjomGEuf0ULyQ==/base.apk!libmonochrome_64.so (Java_J_N_MLlibBXh+28)
#11 pc 0x0000000000180b14 /data/app/~~5n5gC1GuTVMuUN0apQKPDA==/com.google.android.webview-uUIe4oNpEtr-Yp44RGU08w==/oat/arm64/base.odex (art_jni_trampoline+116)
#12 pc 0x00000000003221b0 /data/app/~~5n5gC1GuTVMuUN0apQKPDA==/com.google.android.webview-uUIe4oNpEtr-Yp44RGU08w==/oat/arm64/base.odex (org.chromium.base.JavaExceptionReporter.uncaughtException+80)
#13 pc 0x000000000020aec4 /apex/com.android.art/lib64/libart.so (nterp_helper+7636)
#14 pc 0x00000000000ec490 /apex/com.android.art/javalib/core-oj.jar (java.lang.ThreadGroup.uncaughtException+28)
#15 pc 0x000000000020a044 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#16 pc 0x00000000000ec47c /apex/com.android.art/javalib/core-oj.jar (java.lang.ThreadGroup.uncaughtException+8)
#17 pc 0x000000000020ae64 /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
#18 pc 0x00000000000ed702 /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.dispatchUncaughtException+30)
#19 pc 0x00000000002ca764 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#20 pc 0x0000000000430030 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+880)
#21 pc 0x00000000005ab80c /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+300)
#22 pc 0x000000000045b87c /apex/com.android.art/lib64/libart.so (_JNIEnv::CallVoidMethod(_jobject*, _jmethodID*, ...)+120)
#23 pc 0x000000000045b2e0 /apex/com.android.art/lib64/libart.so (art::Thread::HandleUncaughtExceptions(art::ScopedObjectAccessAlreadyRunnable&)+216)
#24 pc 0x00000000004594cc /apex/com.android.art/lib64/libart.so (art::Thread::Destroy()+456)
#25 pc 0x00000000004587a8 /apex/com.android.art/lib64/libart.so (art::ThreadList::Unregister(art::Thread*)+132)
#26 pc 0x00000000003da814 /apex/com.android.art/lib64/libart.so (art::Runtime::DetachCurrentThread()+128)
#27 pc 0x000000000058fccc /apex/com.android.art/lib64/libart.so (art::JII::DetachCurrentThread(_JavaVM*)+48)
#28 pc 0x00000000000c71b8 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+984)
#29 pc 0x00000000000025a8 /system/bin/app_process64 (main+1360)
#30 pc 0x000000000004a040 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100)
I have crashes happening using latest version of Audience Network with almost all Pixel phones running Android 10. Here is the trace :
backtrace:
#00 pc 000000000008246c /apex/com.android.runtime/lib64/bionic/libc.so (abort+160)
#01 pc 00000000004ba0c4 /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2176)
#02 pc 000000000000c634 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+604)
#03 pc 00000000003781f0 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1608)
#04 pc 00000000003784a0 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+180)
#05 pc 00000000004ffc84 /apex/com.android.runtime/lib64/libart.so (art::Thread::DecodeJObject(_jobject*) const+780)
#06 pc 00000000003c6228 /apex/com.android.runtime/lib64/libart.so (art::JNI::GetArrayLength(_JNIEnv*, _jarray*)+580)
#07 pc 0000000000038d10 /apex/com.android.conscrypt/lib64/libjavacrypto.so (evpUpdate(_JNIEnv*, _jobject*, _jbyteArray*, int, int, char const*, int (*)(env_md_ctx_st*, void const*, unsigned long))+308)
#08 pc 000000000013f350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144)
#09 pc 00000000020007b4 /memfd:/jit-cache (com.android.org.conscrypt.OpenSSLMessageDigestJDK.engineUpdate+116)
#10 pc 00000000002609c0 /system/framework/arm64/boot.oat (java.security.MessageDigest$Delegate.engineUpdate+64)
#11 pc 00000000001bd6cc /system/framework/arm64/boot.oat (java.security.MessageDigest.update+76)
#12 pc 0000000002000f70 /memfd:/jit-cache (com.facebook.ads.redexgen.X.Nt.A01+416)
#13 pc 000000000013663c /apex/com.android.runtime/lib64/libart.so (art_quick_osr_stub+60)
#14 pc 00000000003380ac /apex/com.android.runtime/lib64/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+1772)
#15 pc 00000000005ad260 /apex/com.android.runtime/lib64/libart.so (MterpMaybeDoOnStackReplacement+212)
#16 pc 0000000000135350 /apex/com.android.runtime/lib64/libart.so (MterpHelpers+240)
#17 pc 00000000001a4fbe [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Nt.A01+66)
#18 pc 00000000005a5154 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
#19 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#20 pc 00000000001a509a [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Nt.A02+10)
#21 pc 00000000002b4b04 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.11452150525172173309+240)
#22 pc 0000000000593744 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+944)
#23 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#24 pc 00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
#25 pc 0000000000145084 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
#26 pc 00000000002e3bc0 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
#27 pc 00000000002deab8 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+928)
#28 pc 00000000005a4e3c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
#29 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#30 pc 0000000000172ac4 [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jp.A02+104)
#31 pc 00000000005a5154 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
#32 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#33 pc 0000000000172b4c [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jp.A03)
#34 pc 00000000005a5154 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
#35 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#36 pc 00000000001728b8 [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jo.A00+16)
#37 pc 00000000005a4934 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
#38 pc 0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#39 pc 0000000000172918 [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jo.call)
#40 pc 00000000002b4b04 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.11452150525172173309+240)
#41 pc 0000000000593744 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+944)
#42 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#43 pc 0000000000298528 /system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+200)
#44 pc 00000000002019d4 /system/framework/arm64/boot.oat (java.util.concurrent.Executors$RunnableAdapter.call+68)
#45 pc 0000000000298528 /system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+200)
#46 pc 00000000002f9fd8 /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+984)
#47 pc 00000000002f7640 /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+64)
#48 pc 00000000001a50b8 /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
#49 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
#50 pc 0000000000145064 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
#51 pc 00000000004b1c58 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#52 pc 00000000004b2d28 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
#53 pc 00000000004f3290 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1172)
#54 pc 00000000000e372c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
#55 pc 0000000000084004 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
I'm using implementation 'com.facebook.android:audience-network-sdk:5.6.0' and new AdView(context, adUnit, BANNER_HEIGHT_50) along with AudienceNetworkAds.initialize(activity.getApplicationContext()); to initialize SDK first.
Does someone encounter the same issue and have a fix for it ?
Downgrading to 5.4.1 / crash have disappeared
implementation 'com.facebook.android:audience-network-sdk:5.4.1'
This is very bad of Facebook Developers involved in SDK development.
This issue is spiking even in sdk versions 6.0.0
Yesterday only they released 6.1.0. I'm not sure they resolved this issue. But their change log of 6.0.0 mention this
Fixed net::ERR_ACCESS_DENIED in Interstitials and Rewarded Video on Android 10+
here https://developers.facebook.com/docs/audience-network/changelog-android#6_1_0
But is this is the reason for this Abort crash.
Root cause bug in Android's InMemoryDexClassLoader https://issuetracker.google.com/issues/150633385. Fixed in AN SDKs 6.1.0+
I'm seeing this native crash with the following stack trace.
I have checked other questions similar to this but doesn't found anything similar solution as I have not used TextureView or CardView and I am also sure that it is not due to any library dependencies.
Can anyone have clue, Please?
#00 pc 000000000004ae30 /system/lib/libc.so (tgkill+12)
#01 pc 00000000000485c3 /system/lib/libc.so (pthread_kill+34)
#02 pc 000000000001de5d /system/lib/libc.so (raise+10)
#03 pc 0000000000019561 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 00000000000171a0 /system/lib/libc.so (abort+4)
#05 pc 000000000031e8fd /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+328)
#06 pc 00000000000b56d7 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1134)
#07 pc 00000000001be831 /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+308)
#08 pc 000000000023c917 /system/lib/libart.so (_ZN3art9JavaVMExt16AddWeakGlobalRefEPNS_6ThreadEPNS_6mirror6ObjectE+46)
#09 pc 00000000002822ef /system/lib/libart.so (_ZN3art3JNI16NewWeakGlobalRefEP7_JNIEnvP8_jobject+418)
#10 pc 0000000000090abb /system/lib/libandroid_runtime.so
#11 pc 00000000029950cd /system/framework/arm/boot-framework.oat (android.view.RenderNode.nCreate+96)
#12 pc 0000000002994e23 /system/framework/arm/boot-framework.oat (android.view.RenderNode.<init>+70)
#13 pc 0000000002994f91 /system/framework/arm/boot-framework.oat (android.view.RenderNode.create+68)
#14 pc 00000000027526e3 /system/framework/arm/boot-framework.oat (android.view.View.<init>+750)
#15 pc 0000000002752a57 /system/framework/arm/boot-framework.oat (android.view.View.<init>+66)
#16 pc 0000000002a6d831 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+148)
#17 pc 0000000002a6d765 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+64)
#18 pc 0000000002a6d6f1 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+60)
#19 pc 0000000002a6d683 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+46)
#20 pc 000000000003bd5b /dev/ashmem/dalvik-jit-code-cache_17678_17678 (deleted)
I am receiving the crash mentioned in the title in my play console
It present only on Android Pie and limited to Pixel XL (marlin) and Pixel (sailfish) devices
I have no idea what is causing it as I don't have anyway to reproduce this issue.
Here is the stack trace
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> sample.package.name <<<
backtrace:
#00 pc 0000000000026bcc /system/lib64/libandroidfw.so (android::Theme::ApplyStyle(unsigned int, bool)+472)
#01 pc 000000000012c080 /system/lib64/libandroid_runtime.so (android::NativeThemeApplyStyle(_JNIEnv*, _jclass*, long, long, int, unsigned char)+92)
#02 pc 00000000003d16d0 /system/framework/arm64/boot-framework.oat (android.content.res.AssetManager.nativeThemeApplyStyle [DEDUPED]+176)
#03 pc 00000000007bd0a4 /system/framework/arm64/boot-framework.oat (android.content.res.AssetManager.applyStyleToTheme+116)
#04 pc 00000000007c6918 /system/framework/arm64/boot-framework.oat (android.content.res.ResourcesImpl$ThemeImpl.rebase+232)
#05 pc 00000000007cc3a4 /system/framework/arm64/boot-framework.oat (android.content.res.ResourcesImpl.newThemeImpl+228)
#06 pc 00000000007c5fcc /system/framework/arm64/boot-framework.oat (android.content.res.Resources.setImpl+412)
#07 pc 00000000007733ac /system/framework/arm64/boot-framework.oat (android.app.ResourcesManager.updateResourcesForActivity+1916)
#08 pc 000000000087a780 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.performActivityConfigurationChanged+912)
#09 pc 000000000087ac2c /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.performConfigurationChangedForActivity+220)
#10 pc 000000000087f9fc /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleActivityConfigurationChanged+444)
#11 pc 0000000000a75450 /system/framework/arm64/boot-framework.oat (android.app.servertransaction.ActivityConfigurationChangeItem.execute+128)
#12 pc 000000000077b7f4 /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.executeCallbacks+708)
#13 pc 000000000077b4b8 /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.execute+280)
#14 pc 000000000086d9f4 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+308)
#15 pc 0000000000aaa594 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+180)
#16 pc 0000000000aad690 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1264)
#17 pc 000000000087a358 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+664)
#18 pc 000000000056064c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
#19 pc 00000000000cf6d8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
#20 pc 00000000004661e4 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#21 pc 0000000000467d38 /system/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1440)
#22 pc 00000000003f6728 /system/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52)
#23 pc 000000000011e6d4 /system/framework/arm64/boot.oat (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+180)
#24 pc 0000000000be3a78 /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136)
#25 pc 0000000000beac60 /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3088)
#26 pc 000000000056064c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
#27 pc 00000000000cf6d8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
#28 pc 00000000004661e4 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#29 pc 0000000000465de8 /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+424)
#30 pc 0000000000368494 /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+652)
#31 pc 00000000000b1cb4 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+136)
#32 pc 00000000000b4640 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+752)
#33 pc 000000000000219c /system/bin/app_process64 (main+1200)
#34 pc 00000000000b05d8 /system/lib64/libc.so (__libc_init+88)
Any pointers as to what might be causing this issue would be appreciated. Thanks.
What I can point out from here is that you're using a custom theme that is not supported on a real device. Happens to me so many time that the bug doesn't happen on the emulator but on actual device. I suggest to test the build with a real device (with latest android , as well as the previous two or three versions), before moving to production.
this is coming from AppCompatActivity.setTheme().
the native stack-trace without the least code makes it difficult to determine if this is caused by either:
android.support.v7.app.AppCompatActivity
androidx.appcompat.app.AppCompatActivity
migrating to androidx.appcompat might be an option - or migrating back to android.support.v7.
also, trying another theme might be worth a try - or simply not setting the theme on marlin & sailfish.