Skip to content
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

Mediapipe Facemesh Android Studio API: Calling facemesh.close() crashes the app #3951

Closed
heckedbyfurki opened this issue Dec 25, 2022 · 1 comment
Assignees
Labels
legacy:face mesh Issues related to Face Mesh platform:android Issues with Android as Platform type:support General questions

Comments

@heckedbyfurki
Copy link

heckedbyfurki commented Dec 25, 2022

Simply, calling facemesh.close() in viewmodel.onCleared() crashes the whole app with this error message, how should user call facemesh.close() properly?

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1b8 in tid 30828 (ExternalTexture), pid 30562 (example.aosyurt)
#00 pc 00000000001264e0 /data/app/com.example.aosyurt-CXr6VqzKj2RlkEch87084A==/base.apk (offset 0xc76c000)
16:28:09.272 A #1 pc 000000000012fa68 /data/app/com.example.aosyurt-CXr6VqzKj2RlkEch87084A==/base.apk (offset 0xc76c000)
16:28:09.272 A #2 pc 000000000012f99c /data/app/com.example.aosyurt-CXr6VqzKj2RlkEch87084A==/base.apk (offset 0xc76c000) (Java_com_google_mediapipe_framework_PacketCreator_nativeCreateGpuImage+12)
16:28:09.272 A #10 pc 00000000002f8808 [anon:dalvik-classes10.dex extracted in memory from /data/app/com.example.aosyurt-CXr6VqzKj2RlkEch87084A==/base.apk!classes10.dex] (com.google.mediapipe.framework.PacketCreator.createImage+40)
16:28:09.272 A #13 pc 000000000030cb4e [anon:dalvik-classes10.dex extracted in memory from /data/app/com.example.aosyurt-CXr6VqzKj2RlkEch87084A==/base.apk!classes10.dex] (com.google.mediapipe.solutioncore.ImageSolutionBase.sendImage+154)
16:28:09.272 A #16 pc 000000000030ca9a [anon:dalvik-classes10.dex extracted in memory from /data/app/com.example.aosyurt-CXr6VqzKj2RlkEch87084A==/base.apk!classes10.dex] (com.google.mediapipe.solutioncore.ImageSolutionBase.send+98)

@heckedbyfurki heckedbyfurki added the type:bug Bug in the Source Code of MediaPipe Solution label Dec 25, 2022
@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@kuaashish kuaashish self-assigned this Dec 27, 2022
@kuaashish kuaashish added legacy:face mesh Issues related to Face Mesh platform:android Issues with Android as Platform type:support General questions and removed type:bug Bug in the Source Code of MediaPipe Solution labels Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:face mesh Issues related to Face Mesh platform:android Issues with Android as Platform type:support General questions
Projects
None yet
Development

No branches or pull requests

2 participants