react-native-vision-camera: 🐛 App crashes randomly on Android device when navigating back to camera

What’s happening?

The app crashes randomly on Android (One Plus) device when navigating back to camera. I am using it for QR code functionality.

Reproduceable Code

import React, { useEffect, useState, useCallback } from 'react';
import { StyleSheet, Linking, PermissionsAndroid } from 'react-native';
import { Box, Text, useTheme, Button, ArrowRightIcon } from '@razorpay/blade/components';
import {
  Camera,
  CameraPermissionStatus,
  useCodeScanner,
  useCameraDevice,
  CameraRuntimeError,
} from 'react-native-vision-camera';
import SafeAreaView from 'shared/components/SafeAreaView/SafeAreaView';
import { useNavigation } from '@react-navigation/native';
import NavigationHeader from '../shared/components/NavigationHeader/NavigationHeader';
import { CAMERA_PERMISSION_REASON } from '../shared/typings/permissions';
import { Svg, Defs, Rect, Mask, Circle } from 'react-native-svg';

const QrCodeScanner: React.FC = () => {
  const { theme } = useTheme();
  const { navigate, goBack } = useNavigation();
  const [isCameraInitialized, setIsCameraInitialized] = useState(false);
  const [cameraPermission, setCameraPermission] = useState<CameraPermissionStatus>();
  const cameraDevice = useCameraDevice('back');

  useEffect(() => {
    Camera.getCameraPermissionStatus().then((permission) => {
      console.log('camera permission', permission);
      setCameraPermission(permission);
    });
  }, []);

  useEffect(() => {
    if (cameraPermission !== 'granted') {
      requestCameraPermission();
    }
  }, [cameraPermission]);

  const requestCameraPermission = async () => {
    try {
      const permission = await PermissionsAndroid.request(PermissionsAndroid.PERMISSIONS.CAMERA);
      if (permission === PermissionsAndroid.RESULTS.GRANTED) {
        setCameraPermission('granted');
      } else {
        setCameraPermission('denied');
      }
    } catch (err) {
      console.log(`requestCameraPermission error:` + err);
    }
  };

  const onCameraInitialized = useCallback(() => {
    console.log('Camera initialized!');
    setIsCameraInitialized(true);
  }, []);

  // Camera error callbacks
  const onError = useCallback((error: CameraRuntimeError) => {
    console.error(`camera error: ${error}`);
  }, []);

  const handleSettingsClick = async () => {
    await Linking.openSettings();
    goBack();
  };

  const codeScanner = useCodeScanner({
    codeTypes: ['qr'],
    onCodeScanned: (codes) => {
      const [code] = codes;
      console.log('QR code', { upi: code?.value });
      //TODO: send the QR code value to Transfer Money Screen
      if (code?.value) {
        navigate('TransferMoney');
      }
    },
  });

  if (cameraPermission == null) {
    //TODO: add loader
    return null;
  }

  // In case no camera Device detected
  if (cameraDevice == null)
    return (
      <Box
        flex={1}
        backgroundColor={'brand.gray.200.highContrast'}
        justifyContent={'center'}
        alignItems={'center'}
        paddingX={'spacing.6'}
      >
        <Text textAlign="center" size="large" color="surface.text.normal.highContrast">
          No camera detected. Please check your device
        </Text>
      </Box>
    );

  return (
    <SafeAreaView color={theme.colors.surface.background.level2.lowContrast}>
      <NavigationHeader title="Scan any QR" showRightCloseIcon={false} />
      {cameraPermission === 'granted' ? (
        <Box flex={1}>
          <Camera
            style={StyleSheet.absoluteFill}
            device={cameraDevice}
            onInitialized={onCameraInitialized}
            isActive={true}
            codeScanner={codeScanner}
            zoom={1}
            onError={onError}
          />
        </Box>
      ) : (
        <Box
          flex={1}
          backgroundColor={'brand.gray.200.highContrast'}
          justifyContent={'center'}
          alignItems={'center'}
          paddingX={'spacing.6'}
        >
          {cameraPermission === 'denied' ? (
            <Box width={'100%'}>
              <Text textAlign="center" size="large" color="surface.text.normal.highContrast">
                {CAMERA_PERMISSION_REASON}
              </Text>
              <Button
                marginTop={'spacing.10'}
                alignSelf={'flex-start'}
                icon={ArrowRightIcon}
                iconPosition={'right'}
                onClick={handleSettingsClick}
                isFullWidth={true}
              >
                Go To Settings
              </Button>
            </Box>
          ) : null}
        </Box>
      )}
    </SafeAreaView>
  );
};

export default QrCodeScanner;

Relevant log output

--------- beginning of crash
2023-10-26 18:42:12.645 10240-15914 libc                    com.razorpay.wallet.app              A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7c423ec61d in tid 15914 (pool-23-thread-), pid 10240 (rpay.wallet.app)
2023-10-26 18:42:13.187 16156-16156 DEBUG                   pid-16156                            A  Process name is com.razorpay.wallet.app, not key_process
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  keyProcess: 0
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  Build fingerprint: 'OnePlus/OnePlus8T_IND/OnePlus8T:13/RKQ1.211119.001/R.127b032-1_1:user/release-keys'
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  Revision: '0'
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  ABI: 'arm64'
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  Timestamp: 2023-10-26 18:42:12.909158160+0530
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  Process uptime: 304s
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  Cmdline: com.razorpay.wallet.app
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  pid: 10240, tid: 15914, name: pool-23-thread-  >>> com.razorpay.wallet.app <<<
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  uid: 11272
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000007c423ec61d
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x0  0000007c4d0d7b88  x1  000000000000032c  x2  0000007c4d0d7ca8  x3  0000000000000010
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x4  0000000000000000  x5  0000000000000019  x6  0000007c4d0d7f48  x7  0000000600000006
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x8  0000000000000000  x9  0000000000000196  x10 00000000000000cb  x11 b400007c5c9e5140
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x12 0000000000000195  x13 000000000000061d  x14 0000007c423ec61d  x15 0000007c423ec11d
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x16 0000007c423ec000  x17 0000007e9cb9969c  x18 00000000000e05fc  x19 0000007c4d0d7ca8
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x20 0000007c4d0d7c48  x21 0000007c4d0d7de0  x22 0000000000000196  x23 00000000000000cb
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x24 b400007de245b778  x25 0000007dfa816000  x26 0000000000000007  x27 0000007c4d0d8498
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      x28 0000007c4d0d84d8  x29 00000000000006ef
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A      lr  0000007c5176bff4  sp  0000007c4d0d7b80  pc  0000007c5176c0bc  pst 0000000080001000
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A  backtrace:
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A    NOTE: Function names and BuildId information is missing for some frames due
                                                                                                      NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
                                                                                                      NOTE: found under the lib/ directory are readable.
                                                                                                      NOTE: On this device, run setenforce 0 to make the libraries readable.
                                                                                                      NOTE: Unreadable libraries:
                                                                                                      NOTE:   /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #00 pc 00000000001290bc  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #01 pc 00000000000816a8  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #02 pc 000000000007b294  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #03 pc 000000000007afe8  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #04 pc 000000000007b544  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #05 pc 0000000000079924  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #06 pc 00000000000799c4  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #07 pc 0000000000377030  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #08 pc 00000000003605a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #09 pc 00000000003ae360  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+320) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #10 pc 0000000000398584  /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*)+1488) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #11 pc 000000000050cf34  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+12964) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #12 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #13 pc 0000000000057e50  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk (com.google.android.libraries.barhopper.BarhopperV3.recognize+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #14 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #15 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #16 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #17 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #18 pc 0000000000054fac  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk (m.pp.g+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #19 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #20 pc 000000000037c560  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+672) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #21 pc 0000000000377168  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #22 pc 0000000002028160  /memfd:jit-cache (deleted) (m.pp.b+7984)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #23 pc 00000000003605a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #24 pc 00000000004906bc  /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*)+1248) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #25 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #26 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #27 pc 0000000000091c90  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk (m.bgj.a+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #28 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #29 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #30 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #31 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #32 pc 000000000003b8f4  /data/user_de/0/com.google.android.gms/app_chimera/m/000005ce/dl-VisionBarcode.optional_234212100400.apk (m.bq.onTransact+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #33 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #34 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #35 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #36 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #37 pc 00000000001c28e0  /system/framework/framework.jar (android.os.Binder.transact+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #38 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #39 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #40 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #41 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #42 pc 000000000049bf68  [anon:dalvik-classes.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk] (com.google.android.gms.internal.mlkit_vision_barcode.zza.zzb+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #43 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #44 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #45 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #46 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #47 pc 00000000004be254  [anon:dalvik-classes.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk] (com.google.android.gms.internal.mlkit_vision_barcode.zzvt.zzd+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #48 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #49 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #50 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #51 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #52 pc 0000000000267290  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.vision.barcode.internal.zzn.zza+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #53 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #54 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #55 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #56 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #57 pc 00000000002666d4  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.vision.barcode.internal.zzk.zze+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #58 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #59 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #60 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #61 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #62 pc 00000000002666b4  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.vision.barcode.internal.zzk.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #63 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #64 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #65 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #66 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #67 pc 0000000000269d28  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #68 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #69 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #70 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #71 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #72 pc 000000000026a22c  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.vision.common.internal.zza.call+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #73 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #74 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #75 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #76 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #77 pc 000000000025fafc  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.ModelResource.zza+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #78 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #79 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #80 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #81 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #82 pc 00000000002646f8  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.zzn.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #83 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #84 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #85 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #86 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #87 pc 00000000002648c8  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.zzt.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #88 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #89 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #90 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #91 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #92 pc 000000000025f864  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #93 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #94 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #95 pc 000000000050a300  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1648) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #96 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #97 pc 000000000025f810  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #98 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #99 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #100 pc 000000000050a300  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1648) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #101 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #102 pc 00000000002645f0  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.zzk.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #103 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #104 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #105 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #106 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #107 pc 00000000002488d8  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #108 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #109 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #110 pc 0000000000509f9c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+780) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #111 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #112 pc 0000000000247774  /apex/com.android.art/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #113 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #114 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #115 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #116 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #117 pc 000000000025f838  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #118 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #119 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #120 pc 000000000050a300  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1648) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #121 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #122 pc 0000000000264574  [anon:dalvik-classes5.dex extracted in memory from /data/app/~~4vreUcrzzBqpREmXbJw3jA==/com.razorpay.wallet.app-3AR20caY-0DZLZ1EGZiUgw==/base.apk!classes5.dex] (com.google.mlkit.common.sdkinternal.zzi.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #123 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #124 pc 0000000000491214  /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*)+4152) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #125 pc 000000000050acac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4124) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #126 pc 00000000003797d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #127 pc 000000000010ee0c  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+0)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #128 pc 000000000037cde0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.1377403774332988508)+356) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #129 pc 000000000037c560  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+672) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #130 pc 0000000000377168  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #131 pc 00000000003605a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #132 pc 000000000034b930  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #133 pc 00000000004f3e38  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1888) (BuildId: 3cd43dfd934282c944e52afdac5120fb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #134 pc 00000000000e5a08  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: e9653d1f6c173c6b86b171a5be6af6eb)
2023-10-26 18:42:13.188 16156-16156 DEBUG                   pid-16156                            A        #135 pc 000000000007f27c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: e9653d1f6c173c6b86b171a5be6af6eb)
---------------------------- PROCESS ENDED (10240) for package com.razorpay.wallet.app ----------------------------

Camera Device

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

Device

One plus 8t

VisionCamera Version

3.6.4

Can you reproduce this issue in the VisionCamera Example app?

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

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Reactions: 7
  • Comments: 18 (11 by maintainers)

Most upvoted comments

Use 3.5.1 V it is working

i have same issue when i use the scanQR

import React, { useState, useEffect, useCallback } from 'react'
import {
  Modal,
  TouchableOpacity,
  Platform,
  Text,
  StyleSheet
} from 'react-native'
import MCI from 'react-native-vector-icons/MaterialCommunityIcons'
import {
  Camera,
  useCameraDevice,
  useCameraPermission,
  useCodeScanner
} from 'react-native-vision-camera'

const QrScannerModal = ({ modalVisible, setModalVisible, onRead }) => {
  const [permsGranted, setPermsGranted] = useState(false)
  const [displayCamera, setDisplayCamera] = useState(false)
  const { hasPermission, requestPermission } = useCameraPermission()

  const device = useCameraDevice('back', [])

  const codeScanner = useCodeScanner(
    {
      codeTypes: ['qr'],
      onCodeScanned: codes => {
        onRead(codes[0].value)
      }
    },
    []
  )

  return (
    <Modal
      animationType="slide"
      transparent={true}
      visible={true}
      style={{
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        marginTop: 22
      }}
    >
      <Camera
        style={{ flex: 1, width: '100%', height: '100%' }}
        device={device}
        isActive={modalVisible}
        codeScanner={codeScanner}
      />

      <TouchableOpacity
        onPress={() => setModalVisible(false)}
        style={{
          position: 'absolute',
          top: Platform.OS == 'ios' ? '4%' : 10,
          left: 10,
          zIndex: 1,
          backgroundColor: '#fff',
          borderRadius: 20,
          padding: 5
        }}
      >
        <MCI
          name="close"
          size={30}
          onPress={() => setModalVisible(false)}
          color="black"
        />
      </TouchableOpacity>
    </Modal>
  )
}

export default QrScannerModal

im using “react-native”: “0.72.6” “react-native-vision-camera”: “^3.6.4”,

but when i use “react-native-vision-camera”: “^3.5.1”

it is works properly

Can you share a screen recording of this happening in the example app?

Same issue

“react-native”: “0.72.6” “react-native-vision-camera”: “3.6.4”

In the “3.5.1” version it works correctly