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

🐛 App crash using QR scanner (useCodeScanner) #2341

Closed
4 of 5 tasks
Alejandro095 opened this issue Jan 2, 2024 · 28 comments · Fixed by #2494
Closed
4 of 5 tasks

🐛 App crash using QR scanner (useCodeScanner) #2341

Alejandro095 opened this issue Jan 2, 2024 · 28 comments · Fixed by #2494
Labels
🐛 bug Something isn't working

Comments

@Alejandro095
Copy link

Alejandro095 commented Jan 2, 2024

What's happening?

The app crashes after scanning a QR code and navigate to another screen (using React Native Navigation) The QR code is successfully scanned but when I want to navigate to another page after (inside onCodeScanned callback) and the app sometimes crashes.

If I unmount the component before navigating to another page it also crash, example.

  const [isActive, setIsActive] = React.useState(true);
  const [isMount, setIsMount] = React.useState(true);
  const device = useCameraDevice('back');

  const codeScanner = useCodeScanner({
    codeTypes: ['qr', 'ean-13'],
    onCodeScanned: codes => {
      setIsActive(false);
      setIsMount(false);  // <-- sometimes crash
      props.navigation.navigate('ANOTHER_SCREEN'); // React native navigation
    },
  });

  return isMount ? (
    <Camera
      style={styles.camera}
      device={device}
      isActive={isActive}
      audio={false}
      codeScanner={codeScanner}
    />
  ) : null;

Is this a mistake or am I doing it wrong?

Reproduceable Code

import React, {useEffect} from 'react';
import {StyleSheet, Text} from 'react-native';

import {
  Camera,
  useCameraDevice,
  useCameraPermission,
  useCodeScanner,
} from 'react-native-vision-camera';

export default function VisionScreen(props: any) {
  const {hasPermission, requestPermission} = useCameraPermission();
  const device = useCameraDevice('back');

  useEffect(() => {
    if (!hasPermission) {
      console.log(requestPermission());
    }
  }, [hasPermission, requestPermission]);

  const codeScanner = useCodeScanner({
    codeTypes: ['qr', 'ean-13'],
    onCodeScanned: codes => {
      props.navigation.navigate('ANOTHER_SCREEN'); // <-- crash
    },
  });

  if (device == null || !hasPermission) {
    return <Text>HasPermission False</Text>;
  }

  return (
    <Camera
      style={styles.camera}
      device={device}
      isActive={true}
      audio={false}
      codeScanner={codeScanner}
    />
  );
}
const styles = StyleSheet.create({
  camera: {
    width: 680,
    height: 680,
  },
});

Relevant log output

2024-01-02T22:18:53.980Z
693
Layer
FL_V_info: (BufferStateLayer)Name=SurfaceView - com.patrullaje/com.patrullaje.MainActivity@2b3fe50@0(BLAST)#0, Visible=1(Hiddenflag = 0, Alpha = 1.000000, [BufferInfo.mBuffer || mSidebandStream] = 2),Layer.flag=0x102
2024-01-02T22:18:53.982Z
636
libfacedetect
[FdDetectFace,122]: aeStable:1, brightValue:909, backlightPro:0, zoomRatio:0, handle: 0xf443c960, imgaddr: 0xe8de2000, imgw: 640, imgh: 360, imgs: 640
2024-01-02T22:18:53.983Z
636
FDV3
[find, 698]: src:640x360 detect:320 face_num=0 0.37 ms
2024-01-02T22:18:53.984Z
636
android.hardware.camera.provider@2.4-service
87, fp5510e_drv_set_pos: 167
2024-01-02T22:18:53.984Z
636
android.hardware.camera.provider@2.4-service
38, _fp5510e_write_dac_code: 167
2024-01-02T22:18:53.988Z
636
cmr_sensor
922, cmr_sns_thread_proc: evt 524548
2024-01-02T22:18:53.988Z
636
cmr_sensor
1328, cmr_sns_ioctl: cmd = 45, arg = 0xea8a7d08.
2024-01-02T22:18:53.988Z
636
gralloc4
unlockBuffer: id=28100000df7, vaddr=0xe4569000
2024-01-02T22:18:53.989Z
4925
BufferQueueProducer
[ImageReader-1280x720f23m2-4925-1](id:133d00000004,api:4,p:818,c:4925) queueBuffer: BufferQueue has been abandoned
2024-01-02T22:18:53.989Z
818
Surface
queueBuffer: error queuing buffer, -19
2024-01-02T22:18:53.989Z
818
Camera3-OutputStream
returnBufferCheckedLocked: Stream 2: Error queueing buffer to native window: No such device (-19)
2024-01-02T22:18:53.990Z
4925
CameraSession
Adding 1280 x 720 CodeScanner Output in Format #35...
2024-01-02T22:18:53.994Z
4925
CreateCaptureSession
Camera 0: Creating Capture Session #1002... Hardware Level: 0} | Outputs: [android.hardware.camera2.params.OutputConfiguration@fa22230e]
2024-01-02T22:18:53.994Z
4925
CreateCaptureSession
Using new API (>=28)
2024-01-02T22:18:53.995Z
818
Camera3-Device
waitUntilDrainedLocked: Camera 0: Waiting until idle (5000000000ns)
2024-01-02T22:18:53.996Z
636
awb_adpt
1503, awb_sprd_ctrl_calculation_v3_2: check handle success
2024-01-02T22:18:53.997Z
636
ATM
1102, atm_calc: smooth out frame_id 609 u4EVD 29696 smooth u4EVD 29849.599609  bv 909
2024-01-02T22:18:53.997Z
636
isp_blk_cmc10
266, _pm_cmc10_set_param: cmc_result: (2237 15214 16342; 15993 1635 16164; 16320 15718 1753).
2024-01-02T22:18:53.997Z
693
Layer
FL_V_info: (BufferStateLayer)Name=151dc61 com.patrullaje/com.patrullaje.MainActivity, Visible=1(Hiddenflag = 0, Alpha = 1.000000, [BufferInfo.mBuffer || mSidebandStream] = 2),Layer.flag=0x100
2024-01-02T22:18:53.997Z
693
Layer
FL_V_info: (BufferStateLayer)Name=SurfaceView - com.patrullaje/com.patrullaje.MainActivity@2b3fe50@0(BLAST)#0, Visible=1(Hiddenflag = 0, Alpha = 1.000000, [BufferInfo.mBuffer || mSidebandStream] = 2),Layer.flag=0x102
2024-01-02T22:18:53.997Z
636
ATM
1102, atm_calc: smooth out frame_id 610 u4EVD 29696 smooth u4EVD 29798.400391  bv 909
2024-01-02T22:18:53.997Z
636
isp_blk_cmc10
266, _pm_cmc10_set_param: cmc_result: (2237 15214 16342; 15993 1635 16164; 16320 15718 1753).
2024-01-02T22:18:53.998Z
636
Libae[FAE]
1409, face_luma_calc: NO FACE
2024-01-02T22:18:53.998Z
636
aft_sprd_lib
3406, trace_face_by_iou: old_roi (sx ex sy ey) = (0 0 0 0) 
2024-01-02T22:18:53.998Z
636
aft_sprd_lib
3421, trace_face_by_iou: face_roi_iou 0.000000
2024-01-02T22:18:53.998Z
636
aft_sprd_lib
3803, aft_proc_log_print: afm move diff : 0,diff_thr :0,diff_cnt : 0,g_diff(x,y,z):(0.196250,0.133750,0.093750),aem move diff : (num : r,g,b,cnt) = (0,0,0,0), scene_change_flag 0
2024-01-02T22:18:54.000Z
636
cmr_oem
9495, camera_get_af_support: af_support 1
2024-01-02T22:18:54.001Z
636
awb_adpt
1788, awb_sprd_ctrl_calculation_v3_2: AWB result : (1517,1024,1361) 5288K , fram_count : 304 , camera_id : 0, wb mode : 0; AWB lib 64x64: (1517,1024,1361) 5288K.
2024-01-02T22:18:54.006Z
636
cmr_sensor
922, cmr_sns_thread_proc: evt 524548
2024-01-02T22:18:54.339Z
5182
DEBUG
      #00 pc 00000000000ed984  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.339Z
5182
DEBUG
      #01 pc 00000000000d065c  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #02 pc 00000000000ca240  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #03 pc 00000000000c9f74  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #04 pc 00000000000ca4f0  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #05 pc 00000000000c8aa4  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #06 pc 00000000000c8b44  /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/lib/arm64/libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBufferNative+84) (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #07 pc 0000000000461554  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 12e00d030bcfeb51f978c01791e0cd24)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #08 pc 000000000020b02c  /apex/com.android.art/lib64/libart.so (nterp_helper+7468) (BuildId: 12e00d030bcfeb51f978c01791e0cd24)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #09 pc 000000000024164c  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/base.apk!classes6.dex]
2024-01-02T22:18:54.340Z
5182
DEBUG
      #10 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 12e00d030bcfeb51f978c01791e0cd24)
2024-01-02T22:18:54.340Z
5182
DEBUG
      #11 pc 00000000002f500c  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~9f9_OYifhXHTmjH5WPiaig==/com.patrullaje-bHBfKM2WH00-OorXnqPfzA==/base.apk!classes6.dex]
2024-01-02T22:18:54.340Z
5182
DEBUG
      #12 pc 0000000002052568  /memfd:jit-cache (deleted)

Camera Device

{
  "sensorOrientation": "landscape-right",
  "hardwareLevel": "limited",
  "maxZoom": 8,
  "minZoom": 1,
  "maxExposure": 300,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "isMultiCam": false,
  "minExposure": -300,
  "name": "BACK (0)",
  "hasFlash": false,
  "hasTorch": false,
  "position": "back",
  "id": "0"
}

Device

Samung Tab A7

VisionCamera Version

3.6.16

Can you reproduce this issue in the VisionCamera Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

@Alejandro095 Alejandro095 added the 🐛 bug Something isn't working label Jan 2, 2024
@klabusta
Copy link

klabusta commented Jan 5, 2024

Same here on Xiaomi Redmi Note 10 and weirdly only happening when navigating aways from the camera. 3.6.16

@coderOnHere
Copy link

I have the same problem. Sometimes, especially when the qr is in front of the camera before opening, the application crashes. Does anyone know what might be the problem? It should read qr information and navigate to another screen.

Happened on both pc emulators and real devices.

@hi-yeonju
Copy link

hi-yeonju commented Jan 8, 2024

isActive should start as false initially. And try use onInitialized onInitialized={handleInit}; handleInit = () => { settimeout(() => { setIsActive(true) }, [500]) }

@mrousavy
Copy link
Owner

mrousavy commented Jan 8, 2024

isActive should not be false initially - I fixed that race condition in this PR: #2339

I'll release an update soon, then you won't need that 500ms delay workaround anymore :)

The QR code issue is a different one, not sure what this is about but maybe this fixes it as well? #2355

@Wael-Zoaiter
Copy link

@mrousavy I'm still facing the same issue in v3.7.0

@mrousavy
Copy link
Owner

mrousavy commented Jan 9, 2024

Hm weird. There's nothing I can do without having adb logcat logs though. The logs shared here look like a tombstone, but there's no symbols in here (aka no filenames or stack traces).

I either need a crash with symbols ("symbolicated stacktrace"/tombstone), or the full adb logcat logs.

@Alejandro095
Copy link
Author

Alejandro095 commented Jan 9, 2024

@mrousavy I share you the full adb logcat logs (I exported from Android Studio) and a video of what I was doing. If you need something else let me know.

The code I was using is this (with the version 3.7.0)

import {useFocusEffect} from '@react-navigation/native';
import React, {useCallback, useEffect} from 'react';
import {StyleSheet, Text} from 'react-native';

import {
  Camera,
  useCameraDevice,
  useCameraPermission,
  useCodeScanner,
} from 'react-native-vision-camera';

export default function CamaraScreen(props: any) {
  const [isActive, setIsActive] = React.useState(true);
  const [isMount, setIsMount] = React.useState(true);

  const {hasPermission, requestPermission} = useCameraPermission();
  const device = useCameraDevice('back');

  useFocusEffect(
    useCallback(() => {
      console.log('Camera is mounted');
      setIsMount(true);
      return () => {
        console.log('Camera is unmounted');
        setIsMount(false);
      };
    }, []),
  );

  useEffect(() => {
    if (!hasPermission) {
      console.log(requestPermission());
    }
  }, [hasPermission, requestPermission]);

  const codeScanner = useCodeScanner({
    codeTypes: ['qr', 'ean-13'],
    onCodeScanned: codes => {
      //setIsActive(false);
      console.log(codes[0].value);
      props.navigation.navigate('ANOTHER_SCREEN'); // <-- crash
    },
  });

  if (device == null || !hasPermission) {
    return <Text>HasPermission False</Text>;
  }

  return isMount ? (
    <Camera
      style={styles.camera}
      device={device}
      isActive={isActive}
      audio={false}
      photo={false}
      video={false}
      codeScanner={codeScanner}
    />
  ) : null;
}
const styles = StyleSheet.create({
  camera: {
    width: 680,
    height: 680,
  },
});
Screen_Recording_20240110_023240_One.UI.Home.mp4

samsung-SM-X205-Android-13_2024-01-09_123256.logcat.json

@mrousavy
Copy link
Owner

Thanks for the detailed info! The log format is a bit weird (json instead of just logs), but I can work with that.

I just wonder if the crash is because of some call in the CodeScanner:

val image = reader.acquireNextImage() ?: return@setOnImageAvailableListener
if (isBusy) {
// We're currently executing on a previous Frame, so we skip this one.
// Close it and free it again, so that the Camera does not stall.
image.close()
return@setOnImageAvailableListener
}
isBusy = true
// TODO: Get correct orientation
val inputImage = InputImage.fromMediaImage(image, Orientation.PORTRAIT.toDegrees())
scanner.process(inputImage)
.addOnSuccessListener { barcodes ->
if (barcodes.isNotEmpty()) {
callback.onCodeScanned(barcodes, CodeScannerFrame(inputImage.width, inputImage.height))
}
}
.addOnFailureListener { error ->
callback.onError(error)
}
.addOnCompleteListener {
image.close()
isBusy = false
}

..or because of something in the CameraSession itself. One thing you could try is to wrap the method linked above in try catch statements:

    imageReader.setOnImageAvailableListener({ reader ->
      try {
        val image = reader.acquireNextImage() ?: return@setOnImageAvailableListener

        if (isBusy) {
          // We're currently executing on a previous Frame, so we skip this one.
          // Close it and free it again, so that the Camera does not stall.
          image.close()
          return@setOnImageAvailableListener
        }

        isBusy = true
        // TODO: Get correct orientation
        val inputImage = InputImage.fromMediaImage(image, Orientation.PORTRAIT.toDegrees())
        scanner.process(inputImage)
          .addOnSuccessListener { barcodes ->
            try {
              if (barcodes.isNotEmpty()) {
                callback.onCodeScanned(barcodes, CodeScannerFrame(inputImage.width, inputImage.height))
              }
            } catch (e: Throwable) {
              Log.e("VisionCamera", "Success callback threw an error!", e)
            }
          }
          .addOnFailureListener { error ->
            try {
              callback.onError(error)
            } catch (e: Throwable) {
              Log.e("VisionCamera", "Failure callback threw an error!", e)
            }
          }
          .addOnCompleteListener {
            try {
              image.close()
              isBusy = false
            } catch (e: Throwable) {
              Log.e("VisionCamera", "Completion callback threw an error!", e)
            }
          }
      } catch (e: Throwable) {
        Log.e("VisionCamera", "CodeScanner threw an error!", e)
      }
    }, CameraQueues.videoQueue.handler)

And then see what happens. It seems like this is a SIGSEV tho, so a C++ error that cannot really be caught. Might even be an issue in the Google MLKit barcode scanner library 🤔

@Alper-Demir-Eng
Copy link

@mrousavy
For me it only crashes if the View containing the Camera component is conditionally rendered, i.e. programmatically hidden or set to be visible, if the said container is always visible and never gets hidden it won't crash.

{isCamVisible ? ( <View> <Camera style={StyleSheet.absoluteFill} device={device} isActive={isCamActive} codeScanner={codeScanner} /> </View> ) : null}

@Alejandro095
Copy link
Author

Alejandro095 commented Jan 11, 2024

@mrousavy sorry for the format haha. Well now I copied the logs using Flipper and this is the output, but I didn't see any error log of the try catch statements in the output :(

log 11 01 23.txt

In other hand, in the section of Crash Reporter of Flipper I saw reports related to SIGSEGV
image

First report
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7f045093c660 in tid 29274 (pool-7-thread-4), pid 29175 (com.test)

Second report
second report.txt

Third report
third report.txt

EDIT: This time I use the emulator for the test.

EDIT 2: The app crashed at the third time I navigated to the screen where the camera component is located.

@dalisalvador
Copy link

@mrousavy For me it only crashes if the View containing the Camera component is conditionally rendered, i.e. programmatically hidden or set to be visible, if the said container is always visible and never gets hidden it won't crash.

{isCamVisible ? ( <View> <Camera style={StyleSheet.absoluteFill} device={device} isActive={isCamActive} codeScanner={codeScanner} /> </View> ) : null}

Same problem.
Quick dirty workaround opacity: 0

@dFelinger
Copy link

dFelinger commented Jan 14, 2024

Camera version 3.7.1
React navigation @react-navigation/native-stack
Tested on emulator Pixel 4 Api level 30

Camera screen has button with navigation to another screen pressed causes app crashes.
Without codeScanner prop app doesn't crashes.

logcat
01-14 16:41:26.259 14621 14640 W et.felinger.tm: JNI critical lock held for 30.703ms on Thread[15,tid=14640,Runnable,Thread*=0xdde13410,peer=0x13a00538,"Binder:14621_2"]
01-14 16:41:28.046   540  1163 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
01-14 16:41:28.046   540  1163 I chatty  : uid=1000(system) Binder:540_A identical 1 line
01-14 16:41:28.046   540  1163 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
01-14 16:41:28.070 14621 14682 W unknown:ReactNative: Attempt to set local data for view with unknown tag: -1
01-14 16:41:28.071 14621 14682 W unknown:ReactNative: Attempt to set local data for view with unknown tag: -1
01-14 16:41:28.471 14621 14621 I CameraSession: PreviewView Surface destroyed! Surface(name=null)/@0x81ab69a
01-14 16:41:28.471 14621 14621 I CameraSession: Destroying Preview Output...
01-14 16:41:28.515 14621 14621 I CameraSession: configure { ... }: Waiting for lock...
01-14 16:41:28.515 14621 14621 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false)
01-14 16:41:28.515 14621 14621 I CameraSession: Destroying previous outputs...
01-14 16:41:28.515 14621 14621 I SurfaceOutput: Closing BarcodeScanner..
01-14 16:41:28.520 14621 14621 I CameraView: invokeOnStopped()
01-14 16:41:28.525 14621 14621 I CameraSession: Creating outputs for Camera #0...
01-14 16:41:28.526 14621 14640 E BufferQueueProducer: [ImageReader-1280x720f23m2-14621-0](id:391d00000000,api:4,p:394,c:14621) queueBuffer: BufferQueue has been abandoned
01-14 16:41:28.526 14621 14621 I CameraSession: Adding 1280x720 CodeScanner Output in YUV_420_888...
01-14 16:41:28.527   394   495 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -19
01-14 16:41:28.527   394   495 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: No such device (-19)
01-14 16:41:28.528 14621 14640 E BufferQueueProducer: [ImageReader-1280x720f23m2-14621-0](id:391d00000000,api:4,p:394,c:14621) dequeueBuffer: BufferQueue has been abandoned
01-14 16:41:28.529   394 14712 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: No such device (-19)
01-14 16:41:28.541 14621 14621 I CreateCaptureSession: Camera #0: Creating Capture Session #2... (Hardware Level: 0 | Outputs: [VIDEO (1280 x 720 CodeScanner for [QR, EAN_13] (35))])
01-14 16:41:28.541 14621 14621 I CreateCaptureSession: Using new API (>=28)
01-14 16:41:28.542   394  5827 E CameraDeviceClient: cancelRequest: Camera 0: Canceling request ID 0 doesn't match current request ID -1
01-14 16:41:28.548 14621 14714 D TransportRuntime.SQLiteEventStore: Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
01-14 16:41:28.559 14621 14714 D TransportRuntime.JobInfoScheduler: Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
01-14 16:41:28.585   394  1483 I CameraLatencyHistogram: Stream 0 dequeueBuffer latency histogram (71) samples:
01-14 16:41:28.585   394  1483 I CameraLatencyHistogram:         5     10     15     20     25     30     35     40     45    inf (max ms)
01-14 16:41:28.585   394  1483 I CameraLatencyHistogram:      29.58   2.82   1.41   1.41   1.41   2.82   1.41   5.63   9.86   43.66 (%)
01-14 16:41:28.585   394  1483 I CameraLatencyHistogram: Stream 0 latency histogram for wait on max_buffers (1) samples:
01-14 16:41:28.585   394  1483 I CameraLatencyHistogram:        33     66     99    132    165    198    231    264    297    inf (max ms)
01-14 16:41:28.585   394  1483 I CameraLatencyHistogram:      100.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00 (%)
01-14 16:41:28.587   394   735 I CameraLatencyHistogram: Stream 1 dequeueBuffer latency histogram (71) samples:
01-14 16:41:28.587   394   735 I CameraLatencyHistogram:         5     10     15     20     25     30     35     40     45    inf (max ms)
01-14 16:41:28.587   394   735 I CameraLatencyHistogram:      94.37   4.23   1.41   0.00   0.00   0.00   0.00   0.00   0.00   0.00 (%)
01-14 16:41:28.598 14621 14717 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xae311e42 in tid 14717 (pool-6-thread-1), pid 14621 (et.felinger.tmc)
01-14 16:41:28.604   394   735 E Camera3-Device: configureStreams: Stream 2: DataSpace override not allowed for format 0x23
01-14 16:41:28.624   394   735 D Camera3-Device: Set real time priority for request queue thread (tid 14712)
01-14 16:41:28.626 14621 14703 I CreateCaptureSession: Camera #0: Successfully created CameraCaptureSession #2!
01-14 16:41:28.627 14621 14621 I CameraSession: Successfully configured Session with 1 outputs for Camera #0!
01-14 16:41:28.685 14725 14725 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-14 16:41:28.688   283   283 I tombstoned: received crash request for pid 14717
01-14 16:41:28.688 14725 14725 I crash_dump32: performing dump of process 14621 (target tid = 14717)
01-14 16:41:28.696 14725 14725 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-14 16:41:28.696 14725 14725 F DEBUG   : Build fingerprint: 'google/sdk_gphone_x86/generic_x86_arm:11/RSR1.201013.001/6903271:user/release-keys'
01-14 16:41:28.696 14725 14725 F DEBUG   : Revision: '0'
01-14 16:41:28.696 14725 14725 F DEBUG   : ABI: 'x86'
01-14 16:41:28.696 14725 14725 F DEBUG   : Timestamp: 2024-01-14 16:41:28+0700
01-14 16:41:28.696 14725 14725 F DEBUG   : pid: 14621, tid: 14717, name: pool-6-thread-1  >>> net.felinger.tmc <<<
01-14 16:41:28.696 14725 14725 F DEBUG   : uid: 10179
01-14 16:41:28.696 14725 14725 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xae311e42
01-14 16:41:28.696 14725 14725 F DEBUG   :     eax 00007e42  ebx ae30a000  ecx 00000000  edx ae55e340
01-14 16:41:28.696 14725 14725 F DEBUG   :     edi 00000500  esi ae55e340
01-14 16:41:28.696 14725 14725 F DEBUG   :     ebp ae55e128  esp ae55e0c0  eip ada4a0df
01-14 16:41:28.719   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f2f8a000 0x3f30dc000]
01-14 16:41:28.724 14621 14680 I BpBinder: onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
01-14 16:41:28.733 14621 14621 I CameraView: invokeOnStarted()
01-14 16:41:28.739 14621 14621 I CameraSession: Successfully updated CameraSession Configuration! isActive: true
01-14 16:41:28.749 14621 14621 I CameraSession: Preview Output destroyed!
01-14 16:41:28.760 14621 14621 I CameraView: Updating CameraSession...
01-14 16:41:28.765 14621 14703 I CameraSession: configure { ... }: Waiting for lock...
01-14 16:41:28.767 14621 14703 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=false, sidePropsChanged=false, isActiveChanged=false)
01-14 16:41:28.767 14621 14703 I CameraSession: Successfully updated CameraSession Configuration! isActive: true
01-14 16:41:28.801   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f3a63000 0x3f3bb5000]
01-14 16:41:28.826 14621 14621 I CameraView: Updating CameraSession...
01-14 16:41:28.827 14621 14703 I CameraSession: configure { ... }: Waiting for lock...
01-14 16:41:28.828 14621 14703 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
01-14 16:41:28.828 14621 14703 I CameraSession: isActive is false, skipping CameraDevice configuration.
01-14 16:41:28.828 14621 14703 I CameraSession: isActive is false, skipping CameraCaptureSession configuration.
01-14 16:41:28.828 14621 14703 I CameraView: invokeOnStopped()
01-14 16:41:28.903   353   379 E SurfaceFlinger: setDesiredDisplayConfigSpecs: failed to call setDesiredDisplayConfigSpecs: -22
01-14 16:41:28.903   540   560 E SurfaceFlinger: setDesiredDisplayConfigSpecs failed to transact: -22
01-14 16:41:28.918 14621 14703 I CameraSession: Successfully updated CameraSession Configuration! isActive: false
01-14 16:41:28.918 14621 14703 I CameraView: invokeOnInitialized()
01-14 16:41:28.938 14725 14725 F DEBUG   : backtrace:
01-14 16:41:28.938 14725 14725 F DEBUG   :       #00 pc 000f90df  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #01 pc 000d3efe  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #02 pc 000cc520  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #03 pc 000cc0d1  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #04 pc 000cc965  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #05 pc 000ca7a1  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #06 pc 000ca83e  /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/lib/x86/libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBufferNative+81) (BuildId: 5402c39fc6a5e63f2710767743fb517e)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #07 pc 00142132  /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+82) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #08 pc 0013b922  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #09 pc 001d0381  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+241) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #10 pc 00386701  /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+385) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #11 pc 0037bcad  /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+829) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #12 pc 007a83d8  /apex/com.android.art/lib/libart.so (MterpInvokeDirectRange+504) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #13 pc 00135ba1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_direct_range+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #14 pc 00201260  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.android.libraries.barhopper.BarhopperV3.recognize+28)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #15 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #16 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #17 pc 0032820c  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzf+60)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #18 pc 007a44ae  /apex/com.android.art/lib/libart.so (MterpInvokeDirect+1454) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #19 pc 001358a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #20 pc 0032830e  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzb+122)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #21 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #22 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #23 pc 001c5978  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzbk.zza+48)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #24 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #25 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #26 pc 001c5166  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzb.onTransact+42)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #27 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #28 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #29 pc 00362804  /system/framework/framework.jar (offset 0x92b000) (android.os.Binder.transact+12)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #30 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #31 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #32 pc 001a0cc6  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode.zza.zzb+14)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #33 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #34 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #35 pc 001c2f6a  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode.zzvt.zzd+22)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #36 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #37 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #38 pc 0032baea  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.barcode.internal.zzn.zza+206)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #39 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.938 14725 14725 F DEBUG   :       #40 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #41 pc 0032ae70  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.barcode.internal.zzk.zze+24)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #42 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #43 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #44 pc 0032ae3c  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.barcode.internal.zzk.run+4)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #45 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #46 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #47 pc 0032e4d6  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+22)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #48 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #49 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #50 pc 0032e9cc  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.vision.common.internal.zza.call+8)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #51 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #52 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #53 pc 00322e16  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.ModelResource.zza+74)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #54 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #55 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #56 pc 003279d8  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.zzn.run+20)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #57 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #58 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #59 pc 00327ba8  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.zzt.run+20)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #60 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #61 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #62 pc 00322b4e  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+26)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #63 pc 007a505e  /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1454) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #64 pc 00135921  /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #65 pc 00322af0  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+16)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #66 pc 007a505e  /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1454) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #67 pc 00135921  /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #68 pc 003278c0  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.zzk.run+4)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #69 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #70 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #71 pc 001f9e6a  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker+158)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #72 pc 007a14fe  /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #73 pc 001357a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #74 pc 001f8c2c  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run+4)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #75 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #76 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #77 pc 00322b1c  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+20)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #78 pc 007a505e  /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1454) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #79 pc 00135921  /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #80 pc 00327844  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ihLU7QPJZMgkBNeHyXU2zg==/net.felinger.tmc-MvKf8Kzj62qtnP9UCjgNpw==/base.apk!classes6.dex] (com.google.mlkit.common.sdkinternal.zzi.run+4)
01-14 16:41:28.939 14725 14725 F DEBUG   :       #81 pc 007a355e  /apex/com.android.art/lib/libart.so (MterpInvokeInterface+2126) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.958 14725 14725 F DEBUG   :       #82 pc 001359a1  /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.958 14725 14725 F DEBUG   :       #83 pc 000eb7d0  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
01-14 16:41:28.958 14725 14725 F DEBUG   :       #84 pc 0036fb02  /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16375758241455872412)+370) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #85 pc 00379b00  /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+176) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #86 pc 0078b325  /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+1061) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #87 pc 0014220d  /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #88 pc 0013b922  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #89 pc 001d0381  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+241) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #90 pc 0062f37c  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+620) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #91 pc 0062f595  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+85) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #92 pc 00697701  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+1537) (BuildId: 8191579dfafff37a5cbca70f9a73020f)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #93 pc 000e6974  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+100) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
01-14 16:41:28.959 14725 14725 F DEBUG   :       #94 pc 00078567  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
01-14 16:41:29.523   283   283 E tombstoned: Tombstone written to: /data/tombstones/tombstone_26
01-14 16:41:29.526   540   576 I BootReceiver: Copying /data/tombstones/tombstone_26 to DropBox (SYSTEM_TOMBSTONE)
01-14 16:41:29.526   540   576 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
01-14 16:41:29.539   540 14732 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
01-14 16:41:29.539   540 14731 W ActivityTaskManager:   Force finishing activity net.felinger.tmc/.MainActivity
01-14 16:41:29.552   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f2232000 0x3f2835000]
01-14 16:41:29.572   540   568 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
01-14 16:41:29.572   540   568 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
01-14 16:41:29.585   540   568 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
01-14 16:41:29.585   540   568 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
01-14 16:41:29.643   540  4512 D HostConnection: HostConnection::get() New Host Connection established 0xeba320b0, tid 4512
01-14 16:41:29.661   540  4512 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_YUV_Cache ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
01-14 16:41:29.671   540  4512 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
01-14 16:41:29.674   540  4512 D EGL_emulation: eglCreateContext: 0xeba37ec0: maj 3 min 0 rcv 3
01-14 16:41:29.675   540  4512 D EGL_emulation: eglMakeCurrent: 0xeba37ec0: ver 3 0 (tinfo 0xb1434a90) (first time)
01-14 16:41:29.707   701   721 I ndroid.systemu: NativeAlloc concurrent copying GC freed 2751(272KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 7013KB/13MB, paused 32us total 135.838ms
01-14 16:41:29.708   701   723 W System  : A resource failed to call release. 
01-14 16:41:29.767   540  4489 I WindowManager: WIN DEATH: Window{56f3082 u0 net.felinger.tmc/net.felinger.tmc.MainActivity}
01-14 16:41:29.767   540  4489 W InputDispatcher: Attempted to unregister already unregistered input channel '56f3082 net.felinger.tmc/net.felinger.tmc.MainActivity (server)'
01-14 16:41:29.767   540  3484 I ActivityManager: Process net.felinger.tmc (pid 14621) has died: prcp TOP 
01-14 16:41:29.770   290   290 I Zygote  : Process 14621 exited due to signal 11 (Segmentation fault)
01-14 16:41:29.771   298  7647 W EmulatedCamera_QemuCamera3: flush: Not implemented; ignored
01-14 16:41:29.771   394  5827 I Camera3-Device: disconnectImpl: E
01-14 16:41:29.771   394  5827 I CameraLatencyHistogram: ProcessCaptureRequest latency histogram (72) samples:
01-14 16:41:29.771   394  5827 I CameraLatencyHistogram:        40     80    120    160    200    240    280    320    360    inf (max ms)
01-14 16:41:29.771   394  5827 I CameraLatencyHistogram:      68.06   26.39   4.17   0.00   0.00   0.00   0.00   1.39   0.00   0.00 (%)
01-14 16:41:29.773   540   551 I system_server: Background young concurrent copying GC freed 100817(8560KB) AllocSpace objects, 23(1316KB) LOS objects, 24% free, 30MB/40MB, paused 45us total 116.367ms
01-14 16:41:29.773   540   570 I libprocessgroup: Successfully killed process cgroup uid 10179 pid 14621 in 0ms
01-14 16:41:29.773   540   553 W System  : A resource failed to call release. 
01-14 16:41:29.774   540   553 I chatty  : uid=1000(system) FinalizerDaemon identical 4 lines
01-14 16:41:29.774   540   553 W System  : A resource failed to call release. 
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.784   540  3484 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.785   540  3484 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
01-14 16:41:29.790   540 14731 W ActivityManager: Ignoring remove of inactive process: ProcessRecord{2cb7c9c 0:net.felinger.tmc/u0a179}
01-14 16:41:29.791   540   560 W ActivityManager: setHasOverlayUi called on unknown pid: 14621
01-14 16:41:29.792   540   558 W Looper  : Slow dispatch took 141ms android.ui h=android.view.ViewRootImpl$ViewRootHandler c=android.view.ViewRootImpl$4@b3d04ef m=0
01-14 16:41:29.826   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f0603000 0x3f0f68000]
01-14 16:41:29.840   540  1163 W ActivityManager: Unable to start service Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } U=0: not found
01-14 16:41:29.840   540  1163 W RemoteAppPredictionService: could not bind to Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } using flags 67108865
01-14 16:41:29.840   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f36df000 0x3f3a61000]
01-14 16:41:29.844   394  5827 W Camera3-OutputStream: disconnectLocked: While disconnecting stream 2 from native window, the native window died from under us
01-14 16:41:29.844   394  5827 I CameraLatencyHistogram: Stream 2 dequeueBuffer latency histogram (2) samples:
01-14 16:41:29.845   394  5827 I CameraLatencyHistogram:         5     10     15     20     25     30     35     40     45    inf (max ms)
01-14 16:41:29.845   394  5827 I CameraLatencyHistogram:      0.00   50.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   50.00 (%)
01-14 16:41:29.846   394  5827 I Camera3-Device: disconnectImpl: X
01-14 16:41:29.847   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f0f68000 0x3f18cd000]
01-14 16:41:29.849   306  1207 D goldfish-address-space: claimShared: Ask to claim region [0x3f18cd000 0x3f2232000]
01-14 16:41:29.854   394  5827 I CameraService: disconnect: Disconnected client for camera 0 for PID 14621
01-14 16:41:29.854   394  5827 I Camera3-Device: disconnectImpl: E
01-14 16:41:29.854   394  5827 I Camera2ClientBase: Closed Camera 0. Client was: net.felinger.tmc (PID 14621, UID 10179)
01-14 16:41:29.854   394  5827 I Camera3-Device: disconnectImpl: E
01-14 16:41:29.854   394  5827 E CameraService: binderDied: Java client's binder died, removing it from the list of active clients
01-14 16:41:29.871  1345  1345 I dolh    : onStart
01-14 16:41:29.872   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f6583000 0x3f6ee8000]
01-14 16:41:29.872  1345  1345 I dolh    : onResume
01-14 16:41:29.880   306   348 D goldfish-address-space: claimShared: Ask to claim region [0x3f6ee8000 0x3f784d000]
01-14 16:41:29.882   306  1207 D goldfish-address-space: claimShared: Ask to claim region [0x3f4603000 0x3f4f68000]
01-14 16:41:29.896   306  1207 D goldfish-address-space: claimShared: Ask to claim region [0x3f3a61000 0x3f3de3000]
01-14 16:41:29.899   306  1207 D goldfish-address-space: claimShared: Ask to claim region [0x3f4f68000 0x3f52ea000]
01-14 16:41:29.984   540   558 W Looper  : Slow dispatch took 192ms android.ui h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver@a9aa2e7 m=0
01-14 16:41:29.985   540   558 W Looper  : Slow delivery took 326ms android.ui h=android.view.ViewRootImpl$ViewRootHandler c=null m=31
01-14 16:41:30.005   540   558 W Looper  : Drained
01-14 16:41:30.036  1245  1245 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3206 
01-14 16:41:30.037  1245  1245 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2147 repeatCheckTimes = 0, locked = false
01-14 16:41:30.037  1245  1245 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1894 onStartInput(EditorInfo{EditorInfo{packageName=com.google.android.apps.nexuslauncher, inputType=0, inputTypeString=NULL, enableLearning=false, autoCorrection=false, autoComplete=false, imeOptions=0, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=-1, initialSelEnd=-1, initialCapsMode=0, label=null, fieldId=-1, fieldName=null, extras=null, hintText=null, hintLocales=[]}}, false)
01-14 16:41:30.038  1245  1245 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2147 repeatCheckTimes = 1, locked = false
0

@SveBo
Copy link

SveBo commented Jan 19, 2024

@mrousavy For me it only crashes if the View containing the Camera component is conditionally rendered, i.e. programmatically hidden or set to be visible, if the said container is always visible and never gets hidden it won't crash.

For me the following workaround seems to work out:

I set Camera.isActive to false and wait a few moments before hiding the container

@marcshilling
Copy link

Same stack trace as #2116

@klabusta
Copy link

I set Camera.isActive to false and wait a few moments before hiding the container

Although not a great workaround, this works for me.

@klabusta
Copy link

The following setup works for me:

"react-native-vision-camera": "3.7.1",
"@mgcrea/vision-camera-barcode-scanner": "0.7.0",

        {!isEmulator &&
        isActiveDelayed &&
        (Platform.OS === 'ios' ? (
          <ScanCameraIOs isActive={isActive} onCodeRead={handleCodeRead} /> // with frameprocessor
        ) : (
          <ScanCameraAndroid isActive={isActive} onCodeRead={handleCodeRead} /> // no frameprocessor
        ))}
  useEffect(() => {
    if (!isActive) {
      setTimeout(() => {
        setIsActiveDelayed(false);
      }, 200);
    } else {
      setIsActiveDelayed(true);
    }
  }, [isActive]);

For iOS I had to use the vision-camera-barcode-scanner frameprocessor because of the slowness issues: #2060 (comment)

I'd love to see this less hacky.

@mrousavy
Copy link
Owner

mrousavy commented Feb 1, 2024

Working on a fix for this issue here: #2494 👀

Still in development, so don't test yet. Long way to go, this is a really complicated issue (as you can see in the changes/Files of that PR)...

@mrousavy
Copy link
Owner

mrousavy commented Feb 6, 2024

Just released VisionCamera 3.9.0-beta.1, which includes the big PersistentCaptureSession PR that aims to fix all the blackscreen issues.... 👀🎉

You can try that new beta out yourself and let me know if you still encounter blackscreen issues. I'll continue to test on more devices in the meantime, organize the code a bit better, and then I'll tackle the preview stretching, focus, and flash issues!

If that fixes the blackscreen issues for you, please consider sponsoring me on GitHub to say thanks! ❤️

@mgcrea
Copy link

mgcrea commented Feb 7, 2024

@mrousavy I am hit by this signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) libbarhopper_v3.so fault using either my frame processor or your codeScanner API while using 3.9.0-beta.1.

In the case of my frame processor the crash always happen when the unmount slips during a scan (which when using a 5fps processor happens pretty quickly!). Testing with:

  TEST_CRASH &&
    // eslint-disable-next-line react-hooks/rules-of-hooks
    useEffect(() => {
      const interval = setInterval(() => {
        setIsMounted(prevIsMounted => {
          console.log(`\n->isMounted=${!prevIsMounted}\n`);
          return !prevIsMounted;
        });
      }, 4000);
      return () => {
        clearInterval(interval);
      };
    }, []);

I tried to track the unmount using a parent component with:

  const isMountedRef = useSharedValue<boolean>(true);
  useEffect(() => {
    return () => {
      console.log("unmont!");
      isMountedRef.value = false;
    };
  }, [isMountedRef]);
  
    const frameProcessor = useFrameProcessor(
    (frame) => {
      "worklet";
      if (isMountedRef.value === false) {
        console.log("abort!");
        return;
      }
      runAsync(frame, () => {
        "worklet";
        runAtTargetFps(fps, () => {
          "worklet";
          scanCodes(frame, {});

to abort the scan if unmount but alas it's not enough. Any ideas on how you could detect unmount and either skip calling frame processors soon enough or keep around the frame as I guess the segmentation fault is the frame that has gone away.

Any ideas on how we could fix this?

@mrousavy
Copy link
Owner

mrousavy commented Feb 8, 2024

@mgcrea I need the full logs

@mgcrea
Copy link

mgcrea commented Feb 8, 2024

@mgcrea I need the full logs

@mrousavy crash with codeScanner (full adb dump), added newlines on mount toggle and kept a couple of working unmount and the last failed one:

https://gist.github.com/mgcrea/8776644d047af93f4f73fdb3f0b05914

It's clearly a race condition as it can crash on the first unmount or after a dozen, usually around 5.

Related crash:

02-08 09:31:51.454 27273  7299 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x70c91f60fa in tid 7299 (pool-5-thread-4), pid 27273 (escannerexample)
02-08 09:31:51.628  7877  7877 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-08 09:31:51.628  7877  7877 F DEBUG   : Build fingerprint: 'OnePlus/OnePlus6/OnePlus6:11/RKQ1.201217.002/2111252325:user/release-keys'
02-08 09:31:51.628  7877  7877 F DEBUG   : Revision: '0'
02-08 09:31:51.628  7877  7877 F DEBUG   : ABI: 'arm64'
02-08 09:31:51.629  7877  7877 F DEBUG   : Timestamp: 2024-02-08 09:31:51+0100
02-08 09:31:51.629  7877  7877 F DEBUG   : pid: 27273, tid: 7299, name: pool-5-thread-4  >>> com.visioncameracodescannerexample <<<
02-08 09:31:51.629  7877  7877 F DEBUG   : uid: 10337
02-08 09:31:51.629  7877  7877 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x70c91f60fa
02-08 09:31:51.629  7877  7877 F DEBUG   :     x0  0000006e00a61508  x1  0000000000000206  x2  0000000000000000  x3  0000000000000010
02-08 09:31:51.629  7877  7877 F DEBUG   :     x4  0000000000000000  x5  0000006e00a618c8  x6  0000000000000120  x7  0000006e00a62100
02-08 09:31:51.629  7877  7877 F DEBUG   :     x8  0000000000000000  x9  0000000000000103  x10 00000000000000b9  x11 00000072dafa04c0
02-08 09:31:51.629  7877  7877 F DEBUG   :     x12 0000000000000102  x13 000000000008c0fa  x14 00000070c91f60fa  x15 00000070c91f5bfa
02-08 09:31:51.629  7877  7877 F DEBUG   :     x16 00000070c916a000  x17 00000073cd4cbb74  x18 00000070c924a5f4  x19 0000006e00a61628
02-08 09:31:51.629  7877  7877 F DEBUG   :     x20 0000006e00a615c8  x21 0000006e00a61760  x22 0000000000000103  x23 00000000000000b9
02-08 09:31:51.629  7877  7877 F DEBUG   :     x24 0000000000000000  x25 0000000000000100  x26 0000006e00a62198  x27 0000006e00a61e18
02-08 09:31:51.629  7877  7877 F DEBUG   :     x28 0000007138b23970  x29 0000006e00a622e0
02-08 09:31:51.629  7877  7877 F DEBUG   :     lr  0000006e005b3598  sp  0000006e00a61500  pc  0000006e005b3660  pst 0000000080000000
02-08 09:31:51.759  7877  7877 F DEBUG   : backtrace:
02-08 09:31:51.759  7877  7877 F DEBUG   :       #00 pc 00000000000ed660  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #01 pc 00000000000d03c8  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #02 pc 00000000000ca240  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #03 pc 00000000000c9f64  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #04 pc 00000000000ca4f0  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #05 pc 00000000000c8aa4  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #06 pc 00000000000c8b44  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/lib/arm64/libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBufferNative+84) (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #07 pc 0000000000050c7c  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.odex (art_jni_trampoline+204)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #08 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #09 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #10 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #11 pc 000000000030f9c4  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+696) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #12 pc 0000000000682788  /apex/com.android.art/lib64/libart.so (MterpInvokeDirectRange+436) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #13 pc 000000000012dc14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct_range+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #14 pc 00000000004ac42a  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.android.libraries.barhopper.BarhopperV3.recognize+28)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #15 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #16 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #17 pc 00000000004b7ce8  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzf+60)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #18 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #19 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #20 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #21 pc 000000000205d1dc  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzb+524)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #22 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #23 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #24 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #25 pc 000000000030e904  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #26 pc 000000000067ccf4  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #27 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #28 pc 0000000000479734  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzbk.zza+48)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #29 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #30 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #31 pc 00000000004790e8  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzb.onTransact+42)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #32 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #33 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #34 pc 00000000003714d4  /system/framework/framework.jar (offset 0x93b000) (android.os.Binder.transact+12)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #35 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #36 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #37 pc 000000000045c066  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.android.gms.internal.mlkit_vision_barcode.zza.zzb+14)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #38 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #39 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #40 pc 0000000000477530  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.android.gms.internal.mlkit_vision_barcode.zzvt.zzd+22)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #41 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #42 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #43 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #44 pc 0000000002045378  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.mlkit.vision.barcode.internal.zzn.zza+776)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #45 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #46 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #47 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #48 pc 000000000030e904  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #49 pc 000000000067e6c4  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1032) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #50 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.759  7877  7877 F DEBUG   :       #51 pc 00000000004ba204  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.vision.barcode.internal.zzk.zze+24)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #52 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #53 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #54 pc 00000000004ba1de  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.vision.barcode.internal.zzk.run+4)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #55 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #56 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #57 pc 00000000004bd1ea  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+22)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #58 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #59 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #60 pc 00000000004bd5d2  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.vision.common.internal.zza.call+8)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #61 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #62 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #63 pc 00000000004b3542  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.ModelResource.zza+74)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #64 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #65 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #66 pc 00000000004b778a  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.zzn.run+20)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #67 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #68 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #69 pc 00000000004b787e  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.zzt.run+20)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #70 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #71 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #72 pc 00000000004b3326  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+26)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #73 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #74 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #75 pc 00000000004b32e0  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+16)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #76 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #77 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #78 pc 00000000004b76bc  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.zzk.run+4)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #79 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #80 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #81 pc 00000000001fb956  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker+158)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #82 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #83 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #84 pc 00000000001fa718  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run+4)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #85 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #86 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #87 pc 00000000004b3300  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+20)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #88 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #89 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #90 pc 00000000004b7670  /data/app/~~EoiCw6qP9q17YRrPLW2cMA==/com.visioncameracodescannerexample-7TaaHtsWkYBYbDxlfdFEPg==/oat/arm64/base.vdex (com.google.mlkit.common.sdkinternal.zzi.run+4)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #91 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #92 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #93 pc 00000000000ed090  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #94 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #95 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #96 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #97 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #98 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #99 pc 00000000005553d8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #100 pc 00000000005a4788  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #101 pc 00000000000b0048  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)
02-08 09:31:51.760  7877  7877 F DEBUG   :       #102 pc 00000000000503c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)

From my frame processor:

https://gist.github.com/mgcrea/f7ec3a8767066fa7cf040e5fcd72db9e

02-08 09:50:54.298 11681 11847 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x70c629ad67 in tid 11847 (pool-5-thread-7), pid 11681 (escannerexample)
02-08 09:50:54.474 11988 11988 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-08 09:50:54.474 11988 11988 F DEBUG   : Build fingerprint: 'OnePlus/OnePlus6/OnePlus6:11/RKQ1.201217.002/2111252325:user/release-keys'
02-08 09:50:54.474 11988 11988 F DEBUG   : Revision: '0'
02-08 09:50:54.474 11988 11988 F DEBUG   : ABI: 'arm64'
02-08 09:50:54.474 11988 11988 F DEBUG   : Timestamp: 2024-02-08 09:50:54+0100
02-08 09:50:54.474 11988 11988 F DEBUG   : pid: 11681, tid: 11847, name: pool-5-thread-7  >>> com.visioncameracodescannerexample <<<
02-08 09:50:54.474 11988 11988 F DEBUG   : uid: 10337
02-08 09:50:54.474 11988 11988 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x70c629ad67
02-08 09:50:54.474 11988 11988 F DEBUG   :     x0  00000070c8742fb8  x1  00000000000003aa  x2  0000000000000000  x3  0000000000000010
02-08 09:50:54.474 11988 11988 F DEBUG   :     x4  0000000000000000  x5  0000000000000004  x6  0000000000000000  x7  00000070c8743920
02-08 09:50:54.474 11988 11988 F DEBUG   :     x8  0000000000000000  x9  00000000000001d5  x10 0000000000000040  x11 00000072c8bc15b0
02-08 09:50:54.474 11988 11988 F DEBUG   :     x12 00000000000001d4  x13 0000000000021d67  x14 00000070c629ad67  x15 00000070c629a967
02-08 09:50:54.474 11988 11988 F DEBUG   :     x16 00000070c6279000  x17 00000073cd4cbb74  x18 00000070c63387f6  x19 00000070c87436d0
02-08 09:50:54.474 11988 11988 F DEBUG   :     x20 00000070c8743008  x21 00000070c87439b8  x22 00000000000001d5  x23 0000000000000040
02-08 09:50:54.474 11988 11988 F DEBUG   :     x24 0000007138b21360  x25 0000000000000001  x26 0000000000007573  x27 00000070c8743638
02-08 09:50:54.474 11988 11988 F DEBUG   :     x28 00000072c8bc15b0  x29 0000007188b52d50
02-08 09:50:54.474 11988 11988 F DEBUG   :     lr  0000006e007f0598  sp  00000070c8742fb0  pc  0000006e007f0660  pst 0000000080000000
02-08 09:50:54.606 11988 11988 F DEBUG   : backtrace:
02-08 09:50:54.606 11988 11988 F DEBUG   :       #00 pc 00000000000ed660  /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #01 pc 00000000000ed714  /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #02 pc 00000000000c9cf4  /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #03 pc 00000000000ca4f0  /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #04 pc 00000000000c8aa4  /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #05 pc 00000000000c8b44  /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/lib/arm64/libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBufferNative+84) (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #06 pc 000000000013ced4  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #07 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #08 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #09 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #10 pc 000000000030f9c4  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+696) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #11 pc 0000000000682788  /apex/com.android.art/lib64/libart.so (MterpInvokeDirectRange+436) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #12 pc 000000000012dc14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct_range+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #13 pc 000000000049e74c  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.android.libraries.barhopper.BarhopperV3.recognize+28)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #14 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #15 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #16 pc 00000000004ad1b8  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzf+60)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #17 pc 000000000067f610  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #18 pc 000000000012d914  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #19 pc 00000000004ad2ba  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzb+122)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #20 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #21 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #22 pc 0000000000462c74  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzbk.zza+48)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #23 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #24 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #25 pc 0000000000462462  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzb.onTransact+42)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #26 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #27 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #28 pc 00000000003714d4  /system/framework/framework.jar (offset 0x93b000) (android.os.Binder.transact+12)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #29 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #30 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #31 pc 000000000043df0e  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.android.gms.internal.mlkit_vision_barcode.zza.zzb+14)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #32 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #33 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #34 pc 000000000046023e  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.android.gms.internal.mlkit_vision_barcode.zzvt.zzd+22)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #35 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #36 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #37 pc 00000000004b0a9a  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.barcode.internal.zzn.zza+206)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #38 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #39 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #40 pc 00000000004afe1c  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.barcode.internal.zzk.zze+24)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #41 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #42 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.606 11988 11988 F DEBUG   :       #43 pc 00000000004afde8  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.barcode.internal.zzk.run+4)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #44 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #45 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #46 pc 00000000004b3486  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+22)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #47 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #48 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #49 pc 00000000004b397c  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.vision.common.internal.zza.call+8)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #50 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #51 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #52 pc 00000000004a7da6  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.ModelResource.zza+74)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #53 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #54 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #55 pc 00000000004ac984  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.zzn.run+20)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #56 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #57 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #58 pc 00000000004acb54  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.zzt.run+20)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #59 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #60 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #61 pc 00000000004a7ade  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+26)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #62 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #63 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #64 pc 00000000004a7a80  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+16)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #65 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #66 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #67 pc 00000000004ac86c  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.zzk.run+4)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #68 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #69 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #70 pc 00000000001fb956  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker+158)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #71 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #72 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #73 pc 00000000001fa718  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run+4)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #74 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #75 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #76 pc 00000000004a7aac  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+20)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #77 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #78 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #79 pc 00000000004ac7f0  [anon:dalvik-classes.dex extracted in memory from /data/app/~~5ay4DRkfwgIfxEsE3dmN-w==/com.visioncameracodescannerexample-3G_IuGab5y0BdcPWsLrbjQ==/base.apk] (com.google.mlkit.common.sdkinternal.zzi.run+4)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #80 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #81 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #82 pc 00000000000ed090  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #83 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #84 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #85 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #86 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #87 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #88 pc 00000000005553d8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #89 pc 00000000005a4788  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308) (BuildId: 32cda5ceec1e68666841a6ebde60d2e1)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #90 pc 00000000000b0048  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)
02-08 09:50:54.607 11988 11988 F DEBUG   :       #91 pc 00000000000503c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)

@tala-coder
Copy link

tala-coder commented Feb 20, 2024

Im using "react-native-vision-camera": "3.9.0", "react-native": "^0.72.7" and i have same issue.
here a 3 logs after app is crashed. @mrousavy

image

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x74ad952d96 in tid 31154 (pool-11-thread-), pid 25291 (om.mobileclient)`
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Build fingerprint: 'OnePlus/OnePlusN10_EEA/OnePlusN10:11/RKQ1.201217.002/2207061428:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-02-20 13:16:51+0100
pid: 25291, tid: 31154, name: pool-11-thread-  >>> com.mobileclient <<<
uid: 10405
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x74ad952d96
    x0  000000738e305198  x1  000000000000011c  x2  0000000000000000  x3  0000000000000010
    x4  0000000000000000  x5  000000738e305558  x6  0000000000000100  x7  000000738e305d90
    x8  0000000000000000  x9  000000000000008e  x10 0000000000000083  x11 b4000076f2084fa0
    x12 000000000000008d  x13 0000000000063d96  x14 00000074ad952d96  x15 00000074ad952896
    x16 00000074ad8ef000  x17 0000007812449b74  x18 00000074ad9cf5f4  x19 000000738e3052b8
    x20 000000738e305258  x21 000000738e3053f0  x22 000000000000008e  x23 0000000000000083
    x24 0000000000000000  x25 0000000000000100  x26 000000738e305e28  x27 000000738e305aa8
    x28 b400007582040c00  x29 000000738e305e90
    lr  0000007390cc5598  sp  000000738e305190  pc  0000007390cc5660  pst 0000000080001000
 backtrace:
      #00 pc 00000000000ed660  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #01 pc 00000000000d03c8  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #02 pc 00000000000ca240  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #03 pc 00000000000c9f64  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #04 pc 00000000000ca4f0  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #05 pc 00000000000c8aa4  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #06 pc 00000000000c8b44  /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/lib/arm64/libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBufferNative+84) (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #07 pc 000000000013ced4  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #08 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #09 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #10 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #11 pc 000000000030f9c4  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+696) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #12 pc 0000000000682788  /apex/com.android.art/lib64/libart.so (MterpInvokeDirectRange+436) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #13 pc 000000000012dc14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct_range+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #14 pc 00000000004ea034  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes6.dex] (com.google.android.libraries.barhopper.BarhopperV3.recognize+28)
      #15 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #16 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #17 pc 00000000002d4be8  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzf+60)
      #18 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #19 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #20 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #21 pc 00000000021afd5c  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzb+524)
      #22 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #23 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #24 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #25 pc 000000000030e904  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #26 pc 000000000067ccf4  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #27 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #28 pc 0000000000490a78  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzbk.zza+48)
      #29 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #30 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #31 pc 0000000000490266  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzb.onTransact+42)
      #32 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #33 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #34 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #35 pc 00000000021b758c  /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Binder.transact+140)
      #36 pc 000000000219021c  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.android.gms.internal.mlkit_vision_barcode.zza.zzb+124)
      #37 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #38 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #39 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #40 pc 000000000030e904  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #41 pc 000000000067ccf4  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #42 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #43 pc 000000000048e042  [anon:dalvik-classes6.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes6.dex] (com.google.android.gms.internal.mlkit_vision_barcode.zzvt.zzd+22)
      #44 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #45 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #46 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #47 pc 000000000218ba48  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.mlkit.vision.barcode.internal.zzn.zza+776)
      #48 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #49 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #50 pc 00000000003185d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #51 pc 000000000030e904  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #52 pc 000000000067e6c4  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1032) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #53 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #54 pc 00000000002d784c  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.vision.barcode.internal.zzk.zze+24)
      #55 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #56 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #57 pc 00000000002d7818  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.vision.barcode.internal.zzk.run+4)
      #58 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #59 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #60 pc 00000000002daeba  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+22)
      #61 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #62 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #63 pc 00000000002db3b0  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.vision.common.internal.zza.call+8)
      #64 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #65 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #66 pc 00000000002cf7f2  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.ModelResource.zza+74)
      #67 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #68 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #69 pc 00000000002d43b4  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.zzn.run+20)
      #70 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #71 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #72 pc 00000000002d4584  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.zzt.run+20)
      #73 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #74 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #75 pc 00000000002cf52a  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+26)
      #76 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #77 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #78 pc 00000000002cf4cc  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+16)
      #79 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #80 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #81 pc 00000000002d429c  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.zzk.run+4)
      #82 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #83 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #84 pc 00000000001fb956  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker+158)
      #85 pc 000000000067cf94  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #86 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #87 pc 00000000001fa718  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run+4)
      #88 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #89 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #90 pc 00000000002cf4f8  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+20)
      #91 pc 000000000067fef0  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #92 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #93 pc 00000000002d4220  [anon:dalvik-classes7.dex extracted in memory from /data/app/~~ZJdVOFdDEH5pMMU9HOp8gA==/com.mobileclient-OL41mYLgHTgARHqkkgSqsQ==/base.apk!classes7.dex] (com.google.mlkit.common.sdkinternal.zzi.run+4)
      #94 pc 000000000067e9cc  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #95 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #96 pc 00000000000ed090  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
      #97 pc 0000000000305f00  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7972480776628613073)+268) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #98 pc 000000000066b9fc  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #99 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #100 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #101 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #102 pc 00000000005553d8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #103 pc 00000000005a4788  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308) (BuildId: d9fbc1e2acfbd99ded7f8a16c7338d0c)
      #104 pc 00000000000b0048  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)
      #105 pc 00000000000503c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 07fbaeed7b7a19203975f06be6f1d5ef)
  const handleScanQRCode = useCodeScanner({
    codeTypes: ['qr'],
    onCodeScanned: (codes: Code[]) => {
      if (!isReadyToScan) return;
      const scannedUrl = codes[0]?.value;
      const branchId = extractBranchIdFromURL(scannedUrl || '');
      Vibration.vibrate();
      if (!branchId || !isValidBranchId(branchId, branchesIds)) {
        showInvalidQRCodeError();
      } else {
        navigation.navigate('ServiceProductScreen', {
          branchId,
          isOnline: false,
        });
      }
      setIsReadyToScan(false);
    },
  });
...
  {device && (
          <Camera
            className="h-full w-full"
            device={device}
            isActive={true}
            codeScanner={handleScanQRCode}
          />
        )}

@huanguolin
Copy link

Same issue here.

"react-native-vision-camera": "3.9.0", 
"react-native": "^0.72.7",
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Build fingerprint: 'Sony/A202SO/A202SO:13/65.1.D.3.9/065001D003000901165108286:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-02-26 14:56:17.717281136+0900
Process uptime: 7694s
Cmdline: com.mobilepart.teacher
pid: 28646, tid: 9262, name: pool-18-thread-  >>> com.mobilepart.teacher <<<
uid: 10687
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x000000721f0b01c2
    x0  000000721ef77a28  x1  0000000000000164  x2  000000755a81d2cc  x3  0000000000000010
    x4  0000000000000000  x5  000000721ef77de8  x6  b400007300000100  x7  000000721ef78620
    x8  0000000000000000  x9  00000000000000b2  x10 00000000000000a4  x11 b40000741ed9b450
    x12 00000000000000b1  x13 00000000000301c2  x14 000000721f0b01c2  x15 000000721f0afbc2
    x16 000000721f080000  x17 000000755a7820e4  x18 000000721f18cdf1  x19 000000721ef77b48
    x20 000000721ef77ae8  x21 000000721ef77c80  x22 00000000000000b2  x23 00000000000000a4
    x24 0000000000000000  x25 0000000000000100  x26 000000721ef786b8  x27 000000721ef78338
    x28 b40000729e3cb340  x29 000000721ef78820
    lr  00000070a735d598  sp  000000721ef77a20  pc  00000070a735d660  pst 0000000080001000
backtrace:
      #00 pc 00000000000ed660  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #01 pc 00000000000d03c8  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #02 pc 00000000000ca240  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #03 pc 00000000000c9f64  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #04 pc 00000000000ca4f0  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #05 pc 00000000000c8aa4  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #06 pc 00000000000c8b44  /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBufferNative+84) (BuildId: cf64ac3d5cfd71b04d3bc4112d678e48)
      #07 pc 0000000000355630  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #08 pc 000000000033eba4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #09 pc 000000000037c03c  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+300) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #10 pc 000000000037b860  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1960) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #11 pc 00000000004985e4  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+11116) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #12 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #13 pc 000000000027cac0  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.android.libraries.barhopper.BarhopperV3.recognize+0)
      #14 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #15 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #16 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #17 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #18 pc 000000000034b900  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzf+0)
      #19 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #20 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #21 pc 00000000004962a4  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+2092) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #22 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #23 pc 000000000034b9c4  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.barcode.bundled.internal.zzb.zzb+0)
      #24 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #25 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #26 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #27 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #28 pc 00000000001ee19c  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzbk.zza+0)
      #29 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #30 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #31 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #32 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #33 pc 00000000001ed990  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.android.gms.internal.mlkit_vision_barcode_bundled.zzb.onTransact+0)
      #34 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #35 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #36 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #37 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #38 pc 00000000001b9ee8  /system/framework/framework.jar (android.os.Binder.transact+0)
      #39 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #40 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #41 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #42 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #43 pc 00000000001c94ac  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.android.gms.internal.mlkit_vision_barcode.zza.zzb+0)
      #44 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #45 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #46 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #47 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #48 pc 00000000001eb780  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.android.gms.internal.mlkit_vision_barcode.zzvt.zzd+0)
      #49 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #50 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #51 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #52 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #53 pc 000000000034f124  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.barcode.internal.zzn.zza+0)
      #54 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #55 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #56 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #57 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #58 pc 000000000034e564  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.barcode.internal.zzk.zze+0)
      #59 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #60 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #61 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #62 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #63 pc 000000000034e544  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.barcode.internal.zzk.run+0)
      #64 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #65 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #66 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #67 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #68 pc 0000000000351bb0  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+0)
      #69 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #70 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #71 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #72 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #73 pc 00000000003520b4  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.vision.common.internal.zza.call+0)
      #74 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #75 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #76 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #77 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #78 pc 00000000003464ec  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.ModelResource.zza+0)
      #79 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #80 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #81 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #82 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #83 pc 000000000034b0f4  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.zzn.run+0)
      #84 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #85 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #86 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #87 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #88 pc 000000000034b2c4  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.zzt.run+0)
      #89 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #90 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #91 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #92 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #93 pc 0000000000346254  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+0)
      #94 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #95 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #96 pc 00000000004961dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #97 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #98 pc 0000000000346200  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+0)
      #99 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #100 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #101 pc 00000000004961dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #102 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #103 pc 000000000034afec  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.zzk.run+0)
      #104 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #105 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #106 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #107 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #108 pc 00000000002474e4  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker+0)
      #109 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #110 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #111 pc 0000000000495e6c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #112 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #113 pc 0000000000246380  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run+0)
      #114 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #115 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #116 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #117 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #118 pc 0000000000346228  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+0)
      #119 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #120 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #121 pc 00000000004961dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #122 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #123 pc 000000000034af70  [anon:dalvik-classes19.dex extracted in memory from /data/app/~~o0DJueGdxsdbGpzbRNJrOg==/com.mobilepart.teacher-L6aGGx-wMPf4--6FR06KRA==/base.apk!classes19.dex] (com.google.mlkit.common.sdkinternal.zzi.run+0)
      #124 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #125 pc 00000000005136f0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #126 pc 0000000000496d1c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #127 pc 0000000000357dd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #128 pc 000000000010eaf0  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+0)
      #129 pc 0000000000371b14  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.8722505846101882172)+232) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #130 pc 000000000037140c  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #131 pc 0000000000355768  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #132 pc 000000000033eba4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #133 pc 000000000023a9ac  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #134 pc 000000000053b96c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600) (BuildId: 02bec5940be704b863f6514fc7d81c41)
      #135 pc 00000000000ba598  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 2938f6235116cbc48464ee0f7622625e)
      #136 pc 0000000000053f3c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 2938f6235116cbc48464ee0f7622625e)

@mrousavy
Copy link
Owner

I just released a V4 beta, can you try if that fixes the bugs?

@mgcrea
Copy link

mgcrea commented Mar 25, 2024

@mrousavy looks like this is it!! it did crash after a couple tries using 3.9.1 and we did not reproduce crashes (so far) with 4.0.0-beta.10. Awesome 🎉! thanks for your time and effort.

Btw, after more testing we found out that the issue was clearly a race condition when an unmount of the component did interrupt an ongoing scan.

@nassimmiled
Copy link

This bug was fixed in the new version 3.9.2 or not yet?

@pke
Copy link

pke commented Apr 26, 2024

not fixed in any 3.x version @nassimmiled

1 similar comment
@pke
Copy link

pke commented Apr 26, 2024

not fixed in any 3.x version @nassimmiled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet