Closed jafar690 closed 1 year ago
should be fixed on master
should be fixed on master
With the commit of 6 April 2023 (#1293), the crashes in my app had disappeared, But after the next two commits I notice crashes again...
@ellexaD can you post your error message?
@ellexaD can you post your error message?
Yes, @felix-ht Thank
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: ''
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-04-26 14:31:08+0200
pid: 25333, tid: 25965, name: GLThread 71543 >>> com.example.guide <<<
uid: 10267
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
x0 0000000000000000 x1 0000000000000000 x2 0000000000000001 x3 0000007e94692530
x4 0000007e0bee7ab8 x5 000000000000004a x6 4915ff55284901ff x7 7f7f7f7f7f7f7f7f
x8 0000000000000000 x9 0000000000000001 x10 0000000000000001 x11 0000000000000000
x12 0000007e0bee7c54 x13 0000007e0bee7c48 x14 0000000000000000 x15 0000000000000000
x16 0000007e0c51cf70 x17 0000007f190ee330 x18 0000007cf6748000 x19 0000007e0bee7bd8
x20 0000000000000000 x21 0000000000000001 x22 0000007e0bee7ec0 x23 0000007e2c18609d
x24 0000000000000004 x25 0000007e0bee9020 x26 0000007e2c6814b0 x27 0000000000000001
x28 0000007e0bee7c50 x29 0000007e0bee7b70
sp 0000007e0bee7b60 lr 0000007e0c10781c pc 0000007e0c107948
backtrace:
#00 pc 000000000011d948 /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/lib/arm64/libmapbox-gl.so (BuildId: 5340fab4c92fd87f8304775de4bc95627e863fd7)
#01 pc 000000000011d818 /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/lib/arm64/libmapbox-gl.so (BuildId: 5340fab4c92fd87f8304775de4bc95627e863fd7)
#02 pc 00000000000adc2c /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/lib/arm64/libmapbox-gl.so (BuildId: 5340fab4c92fd87f8304775de4bc95627e863fd7)
#03 pc 0000000000140350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#04 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#05 pc 0000000000145fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#06 pc 00000000002e3800 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#07 pc 00000000002dea60 /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*)+892) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#08 pc 00000000005a3ae4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+424) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#09 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#10 pc 000000000032ecf4 [anon:dalvik-classes6.dex extracted in memory from /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/base.apk!classes6.dex] (com.mapbox.mapboxsdk.maps.renderer.MapRenderer.onDrawFrame+12)
#11 pc 00000000005a26d4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeSuper+2248) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#12 pc 0000000000131894 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#13 pc 00000000003309c8 [anon:dalvik-classes6.dex extracted in memory from /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/base.apk!classes6.dex] (com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.GLSurfaceViewMapRenderer.onDrawFrame)
#14 pc 00000000005a329c /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1788) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#15 pc 0000000000131a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#16 pc 000000000033143e [anon:dalvik-classes6.dex extracted in memory from /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/base.apk!classes6.dex] (com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.MapboxGLSurfaceView$GLThread.guardedRun+994)
#17 pc 00000000005a3d88 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1100) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#18 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#19 pc 00000000003319c0 [anon:dalvik-classes6.dex extracted in memory from /data/app/com.example.guide-HBJH9x5j1blWOEOqnW_haw==/base.apk!classes6.dex] (com.mapbox.mapboxsdk.maps.renderer.glsurfaceview.MapboxGLSurfaceView$GLThread.run+48)
#20 pc 00000000002b4b14 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.10247671929900336896+240) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#21 pc 0000000000592d24 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#22 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#23 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#24 pc 0000000000145fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#25 pc 00000000004b171c /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) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#26 pc 00000000004b2830 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#27 pc 00000000004f31f8 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 64f7ca74f522ef2c933e507c8abf7ef4)
#28 pc 00000000000e6b50 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: b9254a9320cb794714fda3ae99886b88)
#29 pc 0000000000084c6c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b9254a9320cb794714fda3ae99886b88)
Lost connection to device.```
@felix-ht I am using BLoC logic for state management, is it advisable to use another management option?
Shouldn't matter, internally all the frameworks do is to trigger widget rebuilds, so use whichever you like.
Are you sure u are on master?
OK...
I think so, in pubspec I include
mapbox_gl:` ^0.16.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.