googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.6k stars 2.94k forks source link

[Bug report] Title for the bug recognizeBitmapNative #893

Open guozhuoxing opened 3 weeks ago

guozhuoxing commented 3 weeks ago

Hi Dev team,

We are facing crashes in our app. We are using ML KIT bundled version for barcode scanning. Please find the stack trace below :

please give me some feedback

Rooted: 'No' API level: '33' OS version: '13' Kernel version: 'Linux version 4.14.186-g2c4e919b53ec #1 SMP PREEMPT Tue Aug 8 20:50:17 CST 2023 (aarch64)' ABI list: 'arm64-v8a,armeabi-v7a,armeabi' Manufacturer: 'Xiaomi' Brand: 'Redmi' Model: '21091116C' Build fingerprint: 'Redmi/pissarro/pissarro:13/TP1A.220624.014/V14.0.6.0.TKTCNXM:user/release-keys' ABI: 'arm64' pid: 23254, tid: 23912, name: pool-26-thread- >>> com.mihoyo.hoyowave <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x91b04a6878 x0 b400007202126550 x1 0000000000000081 x2 000000007fffffff x3 0000000000000000 x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000007368e10b60 x8 0000000000008000 x9 b400007250204878 x10 0000000000000050 x11 00000072bcb49d00 x12 00000072bcb49c30 x13 0000000000201bb8 x14 00000000002019f8 x15 0000000000000001 x16 000000740d9ceac0 x17 000000740d94b200 x18 0000000009588000 x19 b4000071b080066c x20 0000000000000008 x21 0000000000000001 x22 0000000000000000 x23 0000000000008000 x24 b4000091b04a6860 x25 b400007250204878 x26 00000000000000ff x27 0000000000000000 x28 0000000000000000 x29 00000000ffffffa3 sp 0000007368e10ee0 lr 0000007175507ee0 pc 0000007175507ef4

backtrace:

00 pc 00000000002d8ef4 /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so

#01 pc 00000000002d8fa8  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#02 pc 00000000002d7064  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#03 pc 00000000002d70f4  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#04 pc 00000000001b0d98  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#05 pc 00000000001b0c74  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#06 pc 00000000001b08c4  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#07 pc 00000000001b063c  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#08 pc 00000000001b994c  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#09 pc 00000000001acbf0  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#10 pc 00000000001ac984  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#11 pc 0000000000331f54  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#12 pc 00000000003351f0  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#13 pc 00000000000be360  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#14 pc 00000000000be6d0  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#15 pc 00000000000bdc7c  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#16 pc 00000000000aa7e0  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#17 pc 00000000000ab1e8  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#18 pc 00000000000a9598  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so
#19 pc 00000000000a94d0  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so (Java_com_google_android_libraries_barhopper_BarhopperV3_recognizeBitmapNative+336)
#20 pc 000000000047da70  /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/oat/arm64/base.odex (art_jni_trampoline+144)

build id: /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/lib/arm64/libbarhopper_v3.so (BuildId: 0a454aedfe8b3c349e50551052b0d16d. FileSize: 3805328. LastModified: 1980-12-31T22:01:02.000+0800. MD5: 0fee3d6cdd568b98e8115fc9136d326e) /data/app/~~IsX-XmZchFHve2QpjhkAkA==/com.mihoyo.hoyowave-3X8xhYUvMfXRsQtCMkjXsQ==/oat/arm64/base.odex (BuildId: unknown. FileSize: 27422712. LastModified: 2024-10-19T01:20:18.657+0800)

SDK Info: implementation "androidx.camera:camera-core:1.1.0" implementation "androidx.camera:camera-camera2:1.1.0" implementation "androidx.camera:camera-lifecycle:1.1.0" implementation "androidx.camera:camera-view:1.1.0" implementation 'com.google.mlkit:barcode-scanning:17.0.2'

Smartphone: Manufacturer: 'Xiaomi' Brand: 'Redmi' Model: '21091116C'