Hey has anyone else seen this issue ?
App Crashed after the map loaded.
Based on the backtrace looks like a native code issue from RenderingThread in GeoView class.
We were only able to reproduce it once.
Anyone what can be causing this crash, how to reproduce, or how to prevent it ?
ESRI Android SDK version: 100.15.1
Logs:
MapFragment is created and started successfully
05-30 16:30:06.033 I/MapFragment( 6251): mapStatus: LOADING
05-30 16:30:07.979 I/MapFragment( 6251): mapStatus: FAILED_TO_LOAD
05-30 16:30:08.247 I/TextureView( 6251): Paused by user
MapFragment is paused for handling an Intent
MapFragment is resumed
05-30 16:30:08.314 I/TextureView( 6251): Resumed by user. Texture view available: false
05-30 16:30:09.477 I/MapFragment( 6251): mapStatus: LOADED
05-30 16:30:24.213 I/TextureView( 6251): onSurfaceTextureAvailable
05-30 16:30:24.224 I/TextureView( 6251): full init
05-30 16:30:24.410 I/TextureView( 6251): Detected version: OpenGL ES 3.2 V@0502.39 (GIT@ec028f8cac, Ic8928a1631, 1661241016) (Date:08/23/22)
05-30 16:30:24.492 I/TextureView( 6251): eglCreateContext succeeded for OpenGLES version 3
05-30 16:30:25.310 I/TextureView( 6251): onSurfaceTextureAvailable done
05-30 16:30:25.314 I/TextureView( 6251): Starting pulse
--------- beginning of crash
05-30 16:30:34.436 F/libc ( 6251): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7be62000 in tid 6558 (Rendering threa), pid 6251
05-30 16:30:37.136 F/DEBUG ( 6930): backtrace:
05-30 16:30:37.137 F/DEBUG ( 6930): #00 pc 0006334c /apex/com.android.runtime/lib/bionic/libc.so (__memcpy_base_a55+484) (BuildId: b0bcffac37dd5dd685579a2c002d9373)
05-30 16:30:37.137 F/DEBUG ( 6930): #01 pc 02559c95 /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.137 F/DEBUG ( 6930): #02 pc 02558529 /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.137 F/DEBUG ( 6930): #03 pc 01ee6a7f /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.137 F/DEBUG ( 6930): #04 pc 01eea34d /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.137 F/DEBUG ( 6930): #05 pc 01ae68b9 /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.137 F/DEBUG ( 6930): #06 pc 012f38b9 /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.138 F/DEBUG ( 6930): #07 pc 01143623 /product/priv-app/map/map.apk!libruntimecore.so (offset 0x1ce5000) (RT_GeoView_draw+34) (BuildId: a999c3de2d3ec2d0c1827ba965a24e257602d6bd)
05-30 16:30:37.138 F/DEBUG ( 6930): #08 pc 001929bf /product/priv-app/map/map.apk!libruntimecore_java.so (offset 0x483e000) (Java_com_esri_arcgisruntime_internal_jni_CoreGeoView_nativeDraw+30) (BuildId: d4fe3ee41b5d8679b9f40c6792dd2f09f5ee090f)
05-30 16:30:37.138 F/DEBUG ( 6930): #09 pc 000ae219 /data/dalvik-cache/arm/product@priv-app@map@map.apk@classes.dex (art_jni_trampoline+120)
05-30 16:30:37.138 F/DEBUG ( 6930): #10 pc 000d39d5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.138 F/DEBUG ( 6930): #11 pc 004bbb03 /apex/com.android.art/lib/libart.so (art_quick_invoke_static_stub+290) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.139 F/DEBUG ( 6930): #12 pc 00122e27 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+166) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.139 F/DEBUG ( 6930): #13 pc 00232303 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+254) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.139 F/DEBUG ( 6930): #14 pc 0022db21 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+704) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.139 F/DEBUG ( 6930): #15 pc 004b1ddb /apex/com.android.art/lib/libart.so (MterpInvokeStatic+518) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.140 F/DEBUG ( 6930): #16 pc 000ce594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20) (BuildId: 84501af2ccfc723d6d5ca2cb21b0230d)
05-30 16:30:37.140 F/DEBUG ( 6930): #17 pc 00419b8a /product/priv-app/map/map.apk (com.esri.arcgisruntime.internal.jni.CoreGeoView.a+26)
A fatal signal 11 error with code 1 and SEGV_MAPERR, which generally means that there was a problem with memory access in the program. If you could provide more details to help us to reproduce the crash, such as data, device info, and sample App you are running, we are happy to help you further. Do you rotate your device after you launch your App, or switch it to the background?
This was a one time occurrence issue and was not able to reproduce the issue again.
No, we don't rotate the device after app launch and we haven’t switched the app to background.
Thanks for the info, let us know if you have a repo case and more details.