Environment:
- App Version: 2.2.0 (F-Droid build)
- OS: LineageOS 23 (Android 16, Target SDK 36)
- GApps: MindTheGApps installed
- Installation Source: F-Droid
Description:
The application crashes immediately after launch upon opening the camera preview and starting frame inference via TensorFlow Lite.
Steps to Reproduce:
- Launch FairScan on Android 16 / LineageOS 23.
- Grant camera permissions (if prompted).
- The app opens the camera stream and crashes almost instantly.
Expected Behavior:
The camera stream should remain active, and the TFLite model should process frames without crashing the app process.
Actual Behavior:
A native crash (SIGSEGV) occurs in libtensorflowlite_jni.so during the NativeInterpreterWrapper.run() execution on the DefaultDispatch thread.
Crash Log / Stack Trace:
09-03 12:53:21.619 2011 12355 I CameraService: CameraService::connect call (PID 29089 "org.fairscan.app", camera ID 0) and Camera API version 2
09-03 12:53:21.743 2011 29149 I CameraService: Start camera streaming for org.fairscan.app (PID 29089, UID 10414)
09-03 12:53:22.277 29205 29205 F DEBUG : Cmdline: org.fairscan.app
09-03 12:53:22.277 29205 29205 F DEBUG : pid: 29089, tid: 29117, name: DefaultDispatch >>> org.fairscan.app <<<
09-03 12:53:22.277 29205 29205 F DEBUG : #00 pc 0000000000290b68 /data/app/~~sJKpEpi-KixPwNy-XRJWIQ==/org.fairscan.app-T-DdofPx0VBXfLeNBHRtkA==/base.apk!libtensorflowlite_jni.so
...
09-03 12:53:22.278 29205 29205 F DEBUG : #14 pc 000000000007cf18 /data/app/~~sJKpEpi-KixPwNy-XRJWIQ==/org.fairscan.app-T-DdofPx0VBXfLeNBHRtkA==/base.apk!libtensorflowlite_jni.so (Java_org_tensorflow_lite_NativeInterpreterWrapper_run+88)
09-03 12:53:22.278 29205 29205 F DEBUG : #16 pc 000000000034fbd8 ... (org.tensorflow.lite.NativeInterpreterWrapper.g+616)
09-03 12:53:22.295 2233 29213 W ActivityTaskManager: Force finishing activity org.fairscan.app/.MainActivit
Environment:
Description:
The application crashes immediately after launch upon opening the camera preview and starting frame inference via TensorFlow Lite.
Steps to Reproduce:
Expected Behavior:
The camera stream should remain active, and the TFLite model should process frames without crashing the app process.
Actual Behavior:
A native crash (SIGSEGV) occurs in libtensorflowlite_jni.so during the NativeInterpreterWrapper.run() execution on the DefaultDispatch thread.
Crash Log / Stack Trace:
09-03 12:53:21.619 2011 12355 I CameraService: CameraService::connect call (PID 29089 "org.fairscan.app", camera ID 0) and Camera API version 2
09-03 12:53:21.743 2011 29149 I CameraService: Start camera streaming for org.fairscan.app (PID 29089, UID 10414)
09-03 12:53:22.277 29205 29205 F DEBUG : Cmdline: org.fairscan.app
09-03 12:53:22.277 29205 29205 F DEBUG : pid: 29089, tid: 29117, name: DefaultDispatch >>> org.fairscan.app <<<
09-03 12:53:22.277 29205 29205 F DEBUG : #00 pc 0000000000290b68 /data/app/~~sJKpEpi-KixPwNy-XRJWIQ==/org.fairscan.app-T-DdofPx0VBXfLeNBHRtkA==/base.apk!libtensorflowlite_jni.so
...
09-03 12:53:22.278 29205 29205 F DEBUG : #14 pc 000000000007cf18 /data/app/~~sJKpEpi-KixPwNy-XRJWIQ==/org.fairscan.app-T-DdofPx0VBXfLeNBHRtkA==/base.apk!libtensorflowlite_jni.so (Java_org_tensorflow_lite_NativeInterpreterWrapper_run+88)
09-03 12:53:22.278 29205 29205 F DEBUG : #16 pc 000000000034fbd8 ... (org.tensorflow.lite.NativeInterpreterWrapper.g+616)
09-03 12:53:22.295 2233 29213 W ActivityTaskManager: Force finishing activity org.fairscan.app/.MainActivit