Closed GEllickson closed 6 years ago
UPDATED: Seeing this crash with over a 100 of our users now. Not just Samsung or 7/7.1 as I see a small number on other devices and on 6.0. Downloaded crashes from google play and I see an abort message for the crash: Abort message: 'timer.cc:38 Check failed: x >= 1 (0 vs. 1)
For some of the crashes, the second to last trace line is also different:
native: pc 0000000000063dec /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so (Java_com_google_android_libraries_vision_ocr_NativeOcr_nativeInitializeWithTypeAndResult+96)
native: pc 0000000000871d10 /data/user_de/0/com.google.android.gms/app_chimera/m/00000027/oat/arm64/DynamiteModulesA_GmsCore_prodmnc_xxhdpi_release.odex
We currently use play services version 11.2.0. We use MultiDetector with both a TextRecognizer and BarcodeDetector (but with custom processors). Originally we only used TextRecognizer, but this seemed to have started occurring when we added BarcodeDetector. If more information is needed or if it's even possible to catch this crash, please let me know.
I found the same crash on my Samsung S6 Edge device, when trying to build a TextRecognizer. The log cat looks like this:
`10-24 10:18:02.401 11605-11605/com.google.android.gms.samples.vision.ocrreader E/native: jni_helper.cc:170 GetContents failed: /data/user/0/com.google.android.gms/app_vision/ocr/data/models/semanticlift_engine_0.2.bincfg
10-24 10:18:02.403 11605-11605/com.google.android.gms.samples.vision.ocrreader A/native: timer.cc:38 Check failed: x >= 1 (0 vs. 1)
10-24 10:18:02.403 11605-11605/com.google.android.gms.samples.vision.ocrreader A/native: terminating.
--------- beginning of crash
10-24 10:18:02.404 11605-11605/com.google.android.gms.samples.vision.ocrreader A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 11605 (ision.ocrreader)
[ 10-24 10:18:02.405 2991: 2991 W/ ]
debuggerd: handling request: pid=11605 uid=11097 gid=11097 tid=11605
10-24 10:18:02.416 5323-5323/? E/audit: type=1400 audit(1508829482.408:30100): avc: denied { search } for pid=13003 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=524343 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009
10-24 10:18:02.416 5323-5323/? E/audit: type=1400 audit(1508829482.408:30101): avc: denied { search } for pid=13003 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=459060 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009
10-24 10:18:02.488 13003-13003/? A/DEBUG: x0 0000000000000000 x1 0000000000002d55 x2 0000000000000006 x3 0000000000000008
10-24 10:18:02.488 13003-13003/? A/DEBUG: x4 00000000000001f6 x5 0000008000000000 x6 00000072dfb9c000 x7 0000000000000000
10-24 10:18:02.488 13003-13003/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
10-24 10:18:02.488 13003-13003/? A/DEBUG: x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 0018136540e86b52
10-24 10:18:02.488 13003-13003/? A/DEBUG: x16 00000072df44fee0 x17 00000072df3f95ac x18 00000072b8df628d x19 00000072dfc4eb40
10-24 10:18:02.488 13003-13003/? A/DEBUG: x20 0000000000000006 x21 00000072dfc4ea98 x22 0000000000000002 x23 00000072db26d5d0
10-24 10:18:02.488 13003-13003/? A/DEBUG: x24 000000729dc7a780 x25 00000072bb7c6510 x26 000000729d59f478 x27 0000007fe72f1da8
10-24 10:18:02.488 13003-13003/? A/DEBUG: x28 0000000000000000 x29 0000007fe72f0f30 x30 00000072df3f6a54
10-24 10:18:02.488 13003-13003/? A/DEBUG: sp 0000007fe72f0f10 pc 00000072df3f95b4 pstate 0000000060000000
10-24 10:18:02.490 5323-5323/? E/audit: type=1400 audit(1508829482.478:30102): avc: denied { search } for pid=13003 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=524343 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009
10-24 10:18:02.498 5323-5323/? E/audit: type=1400 audit(1508829482.488:30103): avc: denied { search } for pid=13003 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=459060 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009
10-24 10:18:02.498 13003-13003/? A/DEBUG: backtrace:
10-24 10:18:02.498 13003-13003/? A/DEBUG: #00 pc 000000000006b5b4 /system/lib64/libc.so (tgkill+8)
10-24 10:18:02.498 13003-13003/? A/DEBUG: #01 pc 0000000000068a50 /system/lib64/libc.so (pthread_kill+64)
10-24 10:18:02.498 13003-13003/? A/DEBUG: #02 pc 0000000000023f68 /system/lib64/libc.so (raise+24)
10-24 10:18:02.498 13003-13003/? A/DEBUG: #03 pc 000000000001c9ec /system/lib64/libc.so (abort+52)
10-24 10:18:02.498 13003-13003/? A/DEBUG: #04 pc 00000000004750d0 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #05 pc 0000000000475770 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #06 pc 0000000000475814 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #07 pc 0000000000474830 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #08 pc 000000000026cee4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #09 pc 0000000000271190 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #10 pc 0000000000065794 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #11 pc 0000000000065488 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #12 pc 000000000027caf4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #13 pc 0000000000280274 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #14 pc 0000000000067c84 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #15 pc 0000000000067f64 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so
10-24 10:18:02.499 13003-13003/? A/DEBUG: #16 pc 0000000000063dec /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so`
Android Version: 7.0 Google Play Services Version: 11.7.43 (448-172403884) Project: ocr-reader (from Vision Samples)
+1, Consistently crashing on Galaxy S7 Edge when it tries to build TextRecognizer
Hi, we apologize for the native crash, this is a know issue that happens on Samsung Exynos arm64 devices with Google Play services version 10.7.x. It will be fixed in the next Google Play Services release.
@liuyl thanks for answering on this. If you know, can you tell us the approximate date/month of the next Google Play Services release?
When will the update get released? We're currently getting thousands of crashes per day and the Google Play Android Vitals say we have have excessive crash rate, which affects our ranking.
Any way to detect which devices have this issue so that we can disable it for the devices that are still on the buggy Google Play Services version?
Here're a list of Exynos arm64 devices I generated
j7elte,hero2lte,zeroflte,herolte,j7xelte,zerolte,on7xelte,a5xelte,a3xelte,j7e3g,a5y17lte,zerofltevzw,s5neolte,on5xelte,noblelte,zenlte,j7eltetmo,zerofltespr,nobleltevzw,zeroflteatt,a3y17lte,zerofltetmo,marinelteatt,j7eltemtr,j3popeltemtr,nobleltetmo,heroltebmc,a7y17lte,zerofltebmc,a7xelte,nobleltespr,s5neoltecan,noblelteatt,zeroltetmo,zeroltevzw,zerolteatt,j5y17lte,zenltevzw,zenltetmo,hero2ltebmc,j7y17lte,j3popeltetmo,zenlteatt,zeroltespr,a5y17ltecan,zeroltebmc,j7popeltemtr,zeroflteusc,zerofltemtr,zerofltetfnvzw,j3popelteatt,j7popeltetmo,zenltespr,gtaxlwifi,j3y17lte,nobleltebmc,zeroflteaio,j7velte,a8xelte,noblelteusc,zerofltechn,j7popelteatt,j7xeltecmcc,zeroltechn,gtaxllte,xcover4lte,j3popelteaio,noblelteskt,nobleltehk,on7elte,zeroflteskt,zerolteusc,nobleltelgt,gvlteatt,nobleltektt,zeroflteacg,a7xeltextc,zerofltektt,j7xlte,herolteskt,zerofltelra,zenltebmc,j7popelteaio,hero2lteskt,zerofltelgt,zerolteskt,j5y17ltedx,a5xeltextc,heroltektt,noblelteacg,j3popeltetfntmo,zerolteacg,heroltelgt,zeroltektt,hero2ltektt,zeroltelra,zenlteusc,hero2ltelgt,nobleltelra,zeroltelgt,j3popelteue,j7xeltektt,dream2lte,a3xeltekx,a8xelteskt,a7xeltektt,dreamlte,a5y17lteskt,j7popelteue,gtanotexllte,zenlteskt,matisse10wifikx,a7xelteskt,a5y17ltektt,a7xeltelgt,gtanotexlwifikx,a5xelteskt,a5y17ltelgt,gracelte,zenltektt,xcover4ltecan,a5xeltektt,on7xelteskt,gracerlteskt,on7xeltelgt,zerofltexx,zenltelgt,a5xeltelgt,on7xeltektt,gvwifiue,dreamlteks,gracerltektt,a7xeltecmcc,a5xeltecmcc,gvltevzw,gracerltelgt,j5y17ltektt,j7popelteskt,zenltechn,nobleltechn,j5y17ltelgt,a7y17lteskt,j5y17lteskt,j7y17ltektt,gracelteskt,dream2qltesq,gtaxlltekx,gvlte,dream2qltechn,hero2ltexx,graceqltechn,gtesveltevzw,heroltexx,j3y17ltelgt,gtanotexlltekx,graceltektt,nobleltedcm,graceltelgt,j7popeltetfntmo,zeroltexx,zenltekx,dream2qltecan,zerofltectc,j5y17ltextc,nobleltejv,graceltexx,zerofltedcm,graceqltetmo,shamu,dream2lteks,zeroltesbm,J700lte,gvltexsp
Great, thanks! What's the API call to get the device name corresponding to that?
Device name like Galaxy S7 edge, or like SM-G935F?
The former one won't be accurate. For example Galaxy S8+ has multiple models, part of them uses Qualcomm chipset which shouldn't crash.
I'm just looking for a way to programmatically check the running device against the great list you assembled, so that we can disable that feature for those users.
Sorry I misunderstood. That would be android.os.Build.DEVICE https://developer.android.com/reference/android/os/Build.html#DEVICE
Here're more devices that you want to disable: F5121, gts210vewifi, a9xltechn, SO-02J, F5321, gts28vewifi, zerofltexx-user, gts210velte, ASUS_A001, CPH1611, kate, PB2PRO, F5122,
Here's the code we use to disable the feature on affected devices.
` private static HashSet
private static boolean shouldDisableTextCheck() {
String deviceName = android.os.Build.DEVICE;
if(Util.isNullOrBlank(deviceName)) {
return false;
}
deviceName = Util.toLowerCaseInvariant(deviceName);
// Some devices crash on a certain version of Google Play Services.
// https://github.com/googlesamples/android-vision/issues/269#issuecomment-339464902
// We therefore check for it here.
return deviceWithDisabledTextCheck.contains(deviceName);
}`
I am seeing it on Asus ZenFone 5 (ASUS_T00J) as well. Here is the backtrace:
native: pc 00000000001b66f6 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 00000000002632cd /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 000000000026390e /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 00000000001bc573 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 00000000001bda57 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 000000000002f1af /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 000000000002ed01 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 00000000001c21c5 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 00000000001c45a2 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 00000000000317b2 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 0000000000031a62 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 0000000000031b25 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 000000000002d851 /data/data/com.google.android.gms/app_vision/ocr/libs/x86/libocr.so
native: pc 0000000000083585 /system/lib/libdvm.so
native: pc 0000000000002e5f [anon:libc_malloc]
native: pc 00000000000e094c /system/lib/libdvm.so
native: pc 0000000000237db9 /system/lib/libdvm.so
native: pc 00000000000057a3 <unknown>
native: pc 0000000000098ec0 /system/lib/libdvm.so
native: pc 0000000000094b01 /system/lib/libdvm.so
native: pc 00000000001139b8 /system/lib/libdvm.so
native: pc 0000000000126e89 /system/lib/libdvm.so
native: pc 0000000000237db9 /system/lib/libdvm.so
native: pc 0000000000005e9f <unknown>
native: pc 0000000000098ec0 /system/lib/libdvm.so
native: pc 0000000000094b01 /system/lib/libdvm.so
native: pc 00000000001146ce /system/lib/libdvm.so
native: pc 00000000000d4a1d /system/lib/libdvm.so
native: pc 000000000005f93a /system/lib/libandroid_runtime.so
native: pc 000000000006121c /system/lib/libandroid_runtime.so
native: pc 0000000000000f1c /system/bin/app_process
native: pc 000000000001dd7a /system/lib/libc.so
@liuyl Thanks for getting back to us. Can you confirm if this affects just text recognition or other detectors as well? We use both text and barcode detection, so we paused both off after the bug, but we'd like to still scan for barcodes if that won't crash anything.
This only affects text recognition API.
I am using sdk for text recognition in my app and getting same issue. I got lots of negative review due to this crash. Please let us know whenever this issue will be resolved.
I have same problem in Galaxy S7 edge. Please fix it as soon as possible. It kills me.
I have same problem. Many users have uninstalled and 1 star rating :( Please fix it soon. Thanks!
I Have same issue on Honor phone, any alternative solution for this problem?.
11-06 15:15:04.859 30810-30810/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 11-06 15:15:04.861 30810-30810/? A/DEBUG: Abort message: 'timer.cc:38 Check failed: x >= 1 (0 vs. 1) ' 11-06 15:15:04.862 30810-30810/? A/DEBUG: x0 0000000000000000 x1 00000000000077a9 x2 0000000000000006 x3 0000000000000008 11-06 15:15:04.862 30810-30810/? A/DEBUG: x4 0000000000000073 x5 0000008000000000 x6 0000007e4a513000 x7 0000000000000000 11-06 15:15:04.862 30810-30810/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001 11-06 15:15:04.862 30810-30810/? A/DEBUG: x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 000b942cb9043e02 11-06 15:15:04.862 30810-30810/? A/DEBUG: x16 0000007e47a22ec8 x17 0000007e479cbc28 x18 0000007e3b3e09ad x19 0000007e4a5c6b40 11-06 15:15:04.862 30810-30810/? A/DEBUG: x20 0000000000000006 x21 0000007e4a5c6a98 x22 0000000000000002 x23 0000007e36546f40 11-06 15:15:04.862 30810-30810/? A/DEBUG: x24 0000007e11cf2780 x25 0000007e21dd22c0 x26 0000007e11617478 x27 0000007fc1e52928 11-06 15:15:04.862 30810-30810/? A/DEBUG: x28 0000000000000000 x29 0000007fc1e51ab0 x30 0000007e479c90d0 11-06 15:15:04.862 30810-30810/? A/DEBUG: sp 0000007fc1e51a90 pc 0000007e479cbc30 pstate 0000000060000000 11-06 15:15:04.867 30810-30810/? A/DEBUG: backtrace: 11-06 15:15:04.867 30810-30810/? A/DEBUG: #00 pc 000000000006bc30 /system/lib64/libc.so (tgkill+8) 11-06 15:15:04.867 30810-30810/? A/DEBUG: #01 pc 00000000000690cc /system/lib64/libc.so (pthread_kill+64) 11-06 15:15:04.867 30810-30810/? A/DEBUG: #02 pc 0000000000023e68 /system/lib64/libc.so (raise+24) 11-06 15:15:04.867 30810-30810/? A/DEBUG: #03 pc 000000000001c8ec /system/lib64/libc.so (abort+52) 11-06 15:15:04.867 30810-30810/? A/DEBUG: #04 pc 00000000004750d0 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #05 pc 0000000000475770 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #06 pc 000000000047583c /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #07 pc 0000000000474830 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #08 pc 000000000026cee4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #09 pc 0000000000271190 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #10 pc 0000000000065794 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #11 pc 0000000000065488 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #12 pc 000000000027caf4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #13 pc 0000000000280274 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #14 pc 0000000000067c84 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #15 pc 0000000000067f64 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 15:15:04.867 30810-30810/? A/DEBUG: #16 pc 0000000000063dec /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so (Java_com_google_android_libraries_vision_ocr_NativeOcr_nativeInitializeWithTypeAndResult+96) 11-06 15:15:04.867 30810-30810/? A/DEBUG: #17 pc 0000000000871d10 /data/user_de/0/com.google.android.gms/app_chimera/m/0000000b/oat/arm64/DynamiteModulesA_GmsCore_prodmnc_xxhdpi_release.odex (offset 0x4e8000) 11-06 15:15:04.902 1715-12264/? I/DownloadState: @@@@@@@@@@@@ uid :10156 download :true
I have the same issue on Galaxy S6, Android 6.0.1, Device: zeroflte Those crashes started today!
It's working fine on Galaxy S7, Android 7.0, Device: herolte
Log:
I/native: jni_helper.cc:166 Loading model config /data/user/0/com.google.android.gms/app_vision/ocr/data/models/semanticlift_engine_0.2.bincfg 11-06 10:28:25.551 25253-25253/? E/native: jni_helper.cc:170 GetContents failed: /data/user/0/com.google.android.gms/app_vision/ocr/data/models/semanticlift_engine_0.2.bincfg 11-06 10:28:25.551 25253-25253/? I/native: jni_helper.cc:166 Loading model config /data/user/0/com.google.android.gms/app_vision/ocr/data/models/tfmini_lstm_engine_latin_0.2.bincfg 11-06 10:28:25.551 25253-25253/? A/native: timer.cc:38 Check failed: x >= 1 (0 vs. 1) 11-06 10:28:25.551 25253-25253/? A/native: terminating. 11-06 10:28:25.551 25253-25253/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 25253 (.dropspot.agent) 11-06 10:28:25.611 3062-3062/? A/DEBUG: 11-06 10:28:25.611 3062-3062/? A/DEBUG: Build fingerprint: 'samsung/zerofltedv/zeroflte:6.0.1/MMB29K/G920IDVS3EPJA:user/release-keys' 11-06 10:28:25.611 3062-3062/? A/DEBUG: Revision: '11' 11-06 10:28:25.611 3062-3062/? A/DEBUG: ABI: 'arm64' 11-06 10:28:25.611 3062-3062/? A/DEBUG: pid: 25253, tid: 25253, name: .dropspot.agent >>> com.dropspot.agent <<< 11-06 10:28:25.611 3062-3062/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 11-06 10:28:25.611 8624-8700/? I/Finsky: [124] com.google.android.finsky.l.c.a(23): Completed 0 account content syncs with 0 successful. 11-06 10:28:25.611 8624-8624/? I/Finsky: [1] com.google.android.finsky.services.e.a(5): Installation state replication succeeded. 11-06 10:28:25.621 3062-3062/? A/DEBUG: Abort message: 'timer.cc:38 Check failed: x >= 1 (0 vs. 1) ' 11-06 10:28:25.621 3062-3062/? A/DEBUG: x0 0000000000000000 x1 00000000000062a5 x2 0000000000000006 x3 0000000000000000 11-06 10:28:25.621 3062-3062/? A/DEBUG: x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000 11-06 10:28:25.621 3062-3062/? A/DEBUG: x8 0000000000000083 x9 0000000000011000 x10 0000000003ed6dc0 x11 0000000003ed6df0 11-06 10:28:25.621 3062-3062/? A/DEBUG: x12 0000000000000000 x13 0000007fb50b7000 x14 0000000000000000 x15 0000007fb50a9000 11-06 10:28:25.621 3062-3062/? A/DEBUG: x16 0000007fb50a9568 x17 0000007fb503c2f8 x18 0000007fb50baf50 x19 0000007fb54dd088 11-06 10:28:25.621 3062-3062/? A/DEBUG: x20 0000007fb54dcfc8 x21 0000000000000002 x22 0000000000000006 x23 0000007f7f14bef0 11-06 10:28:25.621 3062-3062/? A/DEBUG: x24 0000007f94854780 x25 0000007f96a49090 x26 0000007f94179478 x27 0000007fd5825558 11-06 10:28:25.621 3062-3062/? A/DEBUG: x28 0000000000000000 x29 0000007fd5824690 x30 0000007fb5039a94 11-06 10:28:25.621 3062-3062/? A/DEBUG: sp 0000007fd5824690 pc 0000007fb503c300 pstate 0000000020000000 11-06 10:28:25.631 3062-3062/? A/DEBUG: backtrace: 11-06 10:28:25.631 3062-3062/? A/DEBUG: #00 pc 000000000006a300 /system/lib64/libc.so (tgkill+8) 11-06 10:28:25.631 3062-3062/? A/DEBUG: #01 pc 0000000000067a90 /system/lib64/libc.so (pthread_kill+68) 11-06 10:28:25.631 3062-3062/? A/DEBUG: #02 pc 00000000000238d0 /system/lib64/libc.so (raise+28) 11-06 10:28:25.631 3062-3062/? A/DEBUG: #03 pc 000000000001e200 /system/lib64/libc.so (abort+60) 11-06 10:28:25.631 3062-3062/? A/DEBUG: #04 pc 00000000004750d0 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #05 pc 0000000000475770 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #06 pc 0000000000475814 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #07 pc 0000000000474830 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #08 pc 000000000026cee4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #09 pc 0000000000271190 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #10 pc 0000000000065794 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #11 pc 0000000000065488 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #12 pc 000000000027caf4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #13 pc 0000000000280274 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #14 pc 0000000000067c84 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #15 pc 0000000000067f64 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-06 10:28:25.631 3062-3062/? A/DEBUG: #16 pc 0000000000063dec /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so (Java_com_google_android_libraries_vision_ocr_NativeOcr_nativeInitializeWithTypeAndResult+96) 11-06 10:28:25.631 3062-3062/? A/DEBUG: #17 pc 00000000006e0d7c /data/data/com.google.android.gms/app_chimera/m/00000024/oat/arm64/
I started having the same issue today with Play Services version 11.7.45 (448-174122868) on a Galaxy S7 (SM-G930F) Android Version 7.0
Seems like it's the same problem from version 10.7.x
I am facing the same problem while instantiating TextRecognizer object in a Samsung s7 and s8. Is there any way to prevent the app crash if the device doesn't support the TextRecognizer? I was expecting something like a try-catch to handle the problem.
Thanks in advance
Getting this error as well on Samsung Galaxy S6
I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:1402
I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 1402
W/System: ClassLoader referenced unknown path:
W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000037/n/arm64-v8a
I/Vision: Loading library libocr.so
I/Vision: libocr.so library load status: true
I/Vision: Reading ocr models from /data/user/0/com.google.android.gms/app_vision/ocr/data/models
I/native: jni_helper.cc:166 Loading model config /data/user/0/com.google.android.gms/app_vision/ocr/data/models/semanticlift_engine_0.2.bincfg
E/native: jni_helper.cc:170 GetContents failed: /data/user/0/com.google.android.gms/app_vision/ocr/data/models/semanticlift_engine_0.2.bincfg
I/native: jni_helper.cc:166 Loading model config /data/user/0/com.google.android.gms/app_vision/ocr/data/models/tfmini_lstm_engine_latin_0.2.bincfg
A/native: timer.cc:38 Check failed: x >= 1 (0 vs. 1)
A/native: terminating.
I am really sorry for the crash, please refer to Yrlec's comment about how to disable textRecognizer on devices that may crash.
Is it possible to use an older version of the google play service library? I have tried to use an older version declaring in my gradle module an old dependency, but I believe that the app is still using the newest one, delivered by the Google Play Service application
The same problem on Huawei P9. Is there any solution to resolve this problem (not disable text recognition)?
@barmic12 Also on Huawei P9 plus with these details:
System on Chip HiSilicon KIRIN955 (Kirin 955)
CPU 4x ARM Cortex-A72 (2500 Mhz) 4x ARM Cortex-A53 (1800 Mhz)
GPU ARM Mali T880 (900 Mhz)
@liuyl We have done the suggested excluding of devices but there seem to be more, all of which are demoting the rating of the application to 1 star. Any chance you have a list with more affected devices?
If it helps I've decided to map P9 devices according to the Google play Supported devices and exclude them as well: P9: HWEVA P9 Lite premium: HWVNS-Q P9 plus: HWVIE P9 Lite: HWVNS-H P9 lite smart: HWDIG-L8940
Hope that Google will fix before we will have more surprises.
This happened for us all of a sudden. It was working a few weeks ago. We didn't change anything. Why would that be?
@lodenrogue Me too, my samsung s8 (dreamlte) was working a month ago, but today does not work :(
More devices are crashing on this with our latest Google play console crash reports: HUAWEI Mate 10 lite: HWRNE Huawei Mate 9 (HWMHA), Huawei P10 lite (HWWAS-H) Honor 8 (HWFRD) P10 (HWVTR) HUAWEI nova 2 Plus (HWBAC) HUAWEI GR5 2017 (HWBLN-H) M3 (hwbeethoven) Xperia X (F5121)
Do we have an ETA on the next Google Play Services release this is affecting an upcoming release for my team.
Day by day its bigger the number of crashing devices, is there a way for a downgrade? please let us know about an ETA on the next Google Play Services release
Hi all,
I also meet up on this error in this a few days.
@Yrlec thx for your suggestion.
crash device:- Samsung S7, Android 7.0 Samsung 8 plus Android 7.0 Huawei P9 lite Android 6.0
Error log :- 11-08 17:19:47.985 19278-19278/? E/System: java.lang.Runtime#loadLibrary(String, ClassLoader) is private and will be removed in a future Android release 11-08 17:19:47.990 19278-19278/? E/System: java.lang.Runtime#loadLibrary(String, ClassLoader) is private and will be removed in a future Android release 11-08 17:19:47.999 19278-19278/? E/ActivityThread: Failed to find provider info for com.tencent.mm.coolassist.debugprovider 11-08 17:19:48.033 17423-17423/com.silverlake.simulator E/native: jni_helper.cc:170 GetContents failed: /data/user/0/com.google.android.gms/app_vision/ocr/data/models/semanticlift_engine_0.2.bincfg 11-08 17:19:48.034 17423-17423/com.silverlake.simulator A/native: timer.cc:38 Check failed: x >= 1 (0 vs. 1) 11-08 17:19:48.034 17423-17423/com.silverlake.simulator A/native: terminating. 11-08 17:19:48.035 17423-17423/com.silverlake.simulator A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 17423 (rlake.simulator)
[ 11-08 17:19:48.038 3135: 3135 W/ ]
debuggerd: handling request: pid=17423 uid=10316 gid=10316 tid=17423
11-08 17:19:48.062 3335-3335/? E/audit: type=1400 audit(1510132788.054:121674): avc: denied { search } for pid=19316 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=1114223 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009 audit_filtered 11-08 17:19:48.062 3335-3335/? E/audit: type=1300 audit(1510132788.054:121674): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7d3108b480 a2=0 a3=0 items=0 ppid=3135 pid=19316 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="debuggerd64" exe="/system/bin/debuggerd64" subj=u:r:debuggerd:s0 key=(null) 11-08 17:19:48.062 3335-3335/? E/audit: type=1327 audit(1510132788.054:121674): proctitle="/system/bin/debuggerd64" 11-08 17:19:48.062 3335-3335/? E/audit: type=1400 audit(1510132788.054:121675): avc: denied { search } for pid=19316 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=1376452 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009 audit_filtered 11-08 17:19:48.062 3335-3335/? E/audit: type=1300 audit(1510132788.054:121675): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7d31026380 a2=0 a3=0 items=0 ppid=3135 pid=19316 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="debuggerd64" exe="/system/bin/debuggerd64" subj=u:r:debuggerd:s0 key=(null) 11-08 17:19:48.062 3335-3335/? E/audit: type=1327 audit(1510132788.054:121675): proctitle="/system/bin/debuggerd64" 11-08 17:19:48.147 19278-19278/? E/System: java.lang.Runtime#loadLibrary(String, ClassLoader) is private and will be removed in a future Android release 11-08 17:19:48.199 19316-19316/? A/DEBUG: 11-08 17:19:48.200 19316-19316/? A/DEBUG: Build fingerprint: 'samsung/dream2ltexx/dream2lte:7.0/NRD90M/G955FXXU1AQH3:user/release-keys' 11-08 17:19:48.200 19316-19316/? A/DEBUG: Revision: '10' 11-08 17:19:48.200 19316-19316/? A/DEBUG: ABI: 'arm64' 11-08 17:19:48.200 19316-19316/? A/DEBUG: pid: 17423, tid: 17423, name: rlake.simulator >>> com.silverlake.simulator <<< 11-08 17:19:48.200 19316-19316/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 11-08 17:19:48.206 19316-19316/? A/DEBUG: Abort message: 'timer.cc:38 Check failed: x >= 1 (0 vs. 1) ' 11-08 17:19:48.206 19316-19316/? A/DEBUG: x0 0000000000000000 x1 000000000000440f x2 0000000000000006 x3 0000000000000008 11-08 17:19:48.206 19316-19316/? A/DEBUG: x4 00000000000000f7 x5 0000008000000000 x6 000000730eab7000 x7 0000000000000000 11-08 17:19:48.206 19316-19316/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 ffffffffffffffff 11-08 17:19:48.206 19316-19316/? A/DEBUG: x12 0000000000000018 x13 0000000000000000 x14 0000000000000000 x15 000213a984fb1e14 11-08 17:19:48.206 19316-19316/? A/DEBUG: x16 000000730c293ed0 x17 000000730c23b9f4 x18 000000730a4ee8ed x19 000000730eb70b40 11-08 17:19:48.206 19316-19316/? A/DEBUG: x20 0000000000000006 x21 000000730eb70a98 x22 0000000000000002 x23 00000072dd0ae520 11-08 17:19:48.206 19316-19316/? A/DEBUG: x24 00000072d79f3780 x25 00000072cd959d40 x26 00000072d7318478 x27 0000007fe76fe4c8 11-08 17:19:48.206 19316-19316/? A/DEBUG: x28 0000000000000000 x29 0000007fe76fd650 x30 000000730c238d14 11-08 17:19:48.206 19316-19316/? A/DEBUG: sp 0000007fe76fd630 pc 000000730c23b9fc pstate 0000000060000000 11-08 17:19:48.209 3335-3335/? E/audit: type=1400 audit(1510132788.202:121676): avc: denied { search } for pid=19316 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=1114223 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009 audit_filtered 11-08 17:19:48.209 3335-3335/? E/audit: type=1300 audit(1510132788.202:121676): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7d3108b480 a2=0 a3=0 items=0 ppid=3135 pid=19316 auid=4294967295 uid=1045 gid=1045 euid=1045 suid=1045 fsuid=1045 egid=1045 sgid=1045 fsgid=1045 tty=(none) ses=4294967295 comm="debuggerd64" exe="/system/bin/debuggerd64" subj=u:r:debuggerd:s0 key=(null) 11-08 17:19:48.209 3335-3335/? E/audit: type=1327 audit(1510132788.202:121676): proctitle="/system/bin/debuggerd64" 11-08 17:19:48.217 3335-3335/? E/audit: type=1400 audit(1510132788.210:121677): avc: denied { search } for pid=19316 comm="debuggerd64" name="com.google.android.gms" dev="dm-1" ino=1376452 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0009 audit_filtered 11-08 17:19:48.217 3335-3335/? E/audit: type=1300 audit(1510132788.210:121677): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7d31026380 a2=0 a3=0 items=0 ppid=3135 pid=19316 auid=4294967295 uid=1045 gid=1045 euid=1045 suid=1045 fsuid=1045 egid=1045 sgid=1045 fsgid=1045 tty=(none) ses=4294967295 comm="debuggerd64" exe="/system/bin/debuggerd64" subj=u:r:debuggerd:s0 key=(null) 11-08 17:19:48.217 3335-3335/? E/audit: type=1327 audit(1510132788.210:121677): proctitle="/system/bin/debuggerd64" 11-08 17:19:48.217 19316-19316/? A/DEBUG: backtrace: 11-08 17:19:48.218 19316-19316/? A/DEBUG: #00 pc 000000000006f9fc /system/lib64/libc.so (tgkill+8) 11-08 17:19:48.218 19316-19316/? A/DEBUG: #01 pc 000000000006cd10 /system/lib64/libc.so (pthread_kill+64) 11-08 17:19:48.218 19316-19316/? A/DEBUG: #02 pc 0000000000025078 /system/lib64/libc.so (raise+24) 11-08 17:19:48.218 19316-19316/? A/DEBUG: #03 pc 000000000001cc04 /system/lib64/libc.so (abort+52) 11-08 17:19:48.218 19316-19316/? A/DEBUG: #04 pc 00000000004750d0 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #05 pc 0000000000475770 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #06 pc 0000000000475814 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #07 pc 0000000000474830 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #08 pc 000000000026cee4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #09 pc 0000000000271190 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #10 pc 0000000000065794 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #11 pc 0000000000065488 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #12 pc 000000000027caf4 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #13 pc 0000000000280274 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #14 pc 0000000000067c84 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #15 pc 0000000000067f64 /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #16 pc 0000000000063dec /data/data/com.google.android.gms/app_vision/ocr/libs/arm64-v8a/libocr.so 11-08 17:19:48.218 19316-19316/? A/DEBUG: #17 pc 0000000000387e60 /data/user_de/0/com.google.android.gms/app_chimera/m/00000023/oat/arm64/DynamiteModulesA_GmsCore_prodmnc_alldpi_release.odex (offset 0x4e7000) 11-08 17:19:48.755 3797-5289/? E/SensorService: getSensorList a sensor (Rear Ambient Light) without holding its required permission: com.samsung.permission.HRM_EXT 11-08 17:19:48.756 3797-5289/? E/SensorService: getSensorList a sensor (Rear Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT 11-08 17:19:48.756 3797-5289/? E/SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS 11-08 17:19:48.756 3797-5289/? E/SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS 11-08 17:19:48.756 3797-5289/? E/SensorService: getSensorList a sensor (ADPD143RI) without holding its required permission: com.samsung.permission.SSENSOR 11-08 17:19:48.756 3797-5289/? E/SensorService: getSensorList a sensor (Proximity Alert Sensor) without holding its required permission: com.samsung.permission.SSENSOR 11-08 17:19:48.756 3797-5289/? E/SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR 11-08 17:19:48.757 3797-5289/? E/SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS 11-08 17:19:48.757 3797-5289/? E/SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
Guys there's a new release out there now 11.6.0 but i'm not sure if they fixed this issue or not yet.
For it's currently getting worse and not better. Looks like they are pushing the faulty release to more users.
After this we also need a post mortem. How can a trivially reproducible bug get through QA? If Google just ran a very basic unit test on all CPU architectures they would have caught this. Given the number of apps and devices using this library, how come that has not been done? How come the faulty version gets rolled out to more devices after the bug has been identified?
did that latest push of there's fix this issue? I'm shocked that Google cant even Unit test this stuff!
There are 2 different play services and this might increase the confusion:
On Google Play Services version 10.7.x you may see crashes when using Text API on Samsung Exynos arm64 devices. This is a known issue and will be fixed in the next release.
Since both the play services application and the play services library are well above the 10.7.x version and this issue bug is still there I think what we actually wait for is a new release of the google vision library that fixes this bug.
Google Vision library releases can be followed here https://developers.google.com/vision/android/release-notes
I am also waiting for a fix on this issue. Maybe there is someone that can give us a rough estimation about when this is going to be fixed. If the fix will take a long time maybe some developers will choose to switch to alternative solutions.
So from a App development side, there is nothing we can really do other than wait for users to update there devices?
From App side we can do one thing which will minimize crashes. We can write code to track if app is crashing on device during instantiation of TextRecognizer object and then from next time we can bypass/disable OCR feature. But on other devices(on which there is no crash) it will work perfectly.
This will lead to crash once on impacted devices and from next time no crash(Yes, it will impact feature). I have pushed update for my App with this code change and it has significantly reduced crashes.
May be this will help little bit. Thanks
@radheshyamsingh24 there is no possibility to detect a native crash. If you try to put it in a try catch
block in java the exception will not be caught.
So the only real option is to use a fixed list of devices that will be excluded as describer by @Yrlec but this is far from perfect since you can have the exact same device type with different type of CPUs so you will end up blocking devices that would not crash. Also nobody can make a 100% complete list of devices that might have Exynos CPU so there is always the chance of new crashes on devices that are not in the list.
so this release 11.6.0 did not fix the issue, i guess we have to wait at least a month till the next release comes .
@radunicolescu : Yes we can't detect native crash in try catch block and device list was also not much helpful in my case. Thats why i have used Preference concept to solve this. Please have a look here
Nice idea @radheshyamsingh24. This might be indeed a possible option for handling this situation.
Joining the queue to wait a fix for this :) For ref:
荣耀8青春版 (HWPRA-H)
P10 lite (HWWAS-H)
Honor 9 (HWSTF)
Galaxy A5(2017) (a5y17lte)
i don't know why carshes numbers is getting bigger and bigger! i was only seeing few crashes on few devices now almost all new users are getting that error !
I also had this exact same problem and fixed it by using lower version of vision
compile 'com.google.android.gms:play-services-vision:10.0.0'
but since today started getting the error again. has anyone found any fix for this yet?
@bibek011 I have tried all versions and currently using version 10.0.0 but still not working
Facing the same issue here as well. I was working a couple of days back and all of a sudden my app starts to crash
Our app uses text and barcode detection, and a very small minority have been experiencing this crash. I can only see the crash through Google Play and not through our Crashlytics integration. The devices have only been various new-ish Samsung devices running Nougat (both 7 and 7.1), but majority with those same specs have been fine. The crash happens consistently with those users though, and effectively renders our in-app camera non-functional for them.
Is there anything I could do in-app to prevent this or is this a library bug? We do check if the detectors are operational before using them.