You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you post a minimum working example showing this error? Otherwise, it's a bit tricky to debug.
I am unsure at what point exactly the FlutterTextureEntry has to be released when using a bottom nav bar, but I'll put it in dispose as this is a sure point where the texture will no longer be used (see main branch).
I am getting a SurfaceTexture crash when using the BottomNavBar. The crash is not immediate, but happens after a little use.
Here is a possible fix: flutter/flutter#83090.
Your code I found is in the BarcodeReader.kt:
crash:
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x660
Cause: null pointer dereference
backtrace:
#00 pc 00000000000e41b8 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock) (BuildId: 5812256023147338b8a9538321d4c456)
#1 pc 000000000039d060 /system/lib64/libhwui.so (android::SurfaceTexture::detachFromContext()+64) (BuildId: 6e92c400e69e5edfa313569de08cd930)
#2 pc 000000000016a420 /system/lib64/libandroid_runtime.so (android::SurfaceTexture_detachFromGLContext(_JNIEnv*, _jobject*)+80) (BuildId: e5b25f8fb9f6bb45ccbeca8c07061dad)
#3 pc 000000000028dc6c /system/framework/arm64/boot-framework.oat (art_jni_trampoline+124) (BuildId: cb00916f88c36b463e3b56b54e52d4229c505963)
#4 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: ccd73e8ae9b59d5596b3b8aeef234d43)
The text was updated successfully, but these errors were encountered: