Skip to content

App crushes when camera is opened and closed twice #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sKY02644 opened this issue Sep 29, 2024 · 0 comments
Open

App crushes when camera is opened and closed twice #519

sKY02644 opened this issue Sep 29, 2024 · 0 comments

Comments

@sKY02644
Copy link

sKY02644 commented Sep 29, 2024

Steps to Reproduce

Open the camera page
close it
open it again
close it

then the app crushes

Expected results

App should not crush

Actual results

W/libEGL (25269): EGLNativeWindowType 0x7dc7df0010 disconnect failed
D/mali_winsys(25269): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
E/OpenGLRenderer(25269): [SurfaceTexture-0-25269-1] checkAndUpdateEglState: invalid current EGLDisplay
E/flutter (25269): [ERROR:flutter/fml/platform/android/jni_util.cc(206)] java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
E/flutter (25269): at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
E/flutter (25269): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:248)
E/flutter (25269): at io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage(SurfaceTextureWrapper.java:69)
E/flutter (25269): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (25269): at android.os.MessageQueue.next(MessageQueue.java:363)
E/flutter (25269): at android.os.Looper.loop(Looper.java:176)
E/flutter (25269): at android.app.ActivityThread.main(ActivityThread.java:8668)
E/flutter (25269): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (25269): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E/flutter (25269): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
E/flutter (25269):
F/flutter (25269): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1503)] Check failed: fml::jni::CheckException(env).
F/libc (25269): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 25269 (kor.org), pid 25269 (kor.org)


Build fingerprint: 'HUAWEI/VOG-L29EEA/HWVOG:10/HUAWEIVOG-L29/10.1.0.150C431:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-09-29 19:46:42+0000
pid: 25269, tid: 25269, name: kor.org>>> com.org.org<<<

uid: 10595
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1503)] Check failed: fml::jni::CheckException(env).
'
x0 0000000000000000 x1 00000000000062b5 x2 0000000000000006 x3 0000007fd116e6c0
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 afefabc78f8896c6 x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 ffffffffffffffff x14 ffffffffff000000 x15 ffffffffffffffff
x16 0000007e622a0a08 x17 0000007e622807c0 x18 0000007e6604e000 x19 00000000000062b5
x20 00000000000062b5 x21 00000000ffffffff x22 0000007d295be098 x23 0000007fd116f5a0
x24 0000007fd116f458 x25 0000007fd116f498 x26 0000007fd116f328 x27 0000000000000001
x28 000000000000005c x29 0000007fd116e760
sp 0000007fd116e6a0 lr 0000007e62235640 pc 0000007e6223566c
backtrace:
#00 pc 000000000007066c /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)
#1 pc 000000000000172c /data/app/com.org-7Nkmhcz4cInkvRRtIE-voA==/base.apk

About your device

Brand Model OS
HUAWEI VOG-L29 12

Your flutter version

Run this in your command line
flutter --version

Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0850beeb2 (3 months ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3

@g-apparence PLEASE ASSIST AS I AM GOING LIVE WITH THE PRODUCT AND THIS HAPPENED USING THE CURRENT VERSION camerawesome: ^2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant