Closed kennywfl closed 6 years ago
Hi @kennywfl, from which of the mentioned device is the reported stack trace? SIGBUS is very unusual on 64-bit platform and can possibly indicate hardware fault.
Also, please tell us which recognizers were active at the time of the crash?
Also, which exact version of BlinkID SDK was running at the time of crash? Symbolification of the crash with symbols from BlinkID v3.14 (the latest) show invalid stack trace - this can be for two reasons:
Hi @DoDoENT
Hi @kennywfl, from which of the mentioned device is the reported stack trace? SIGBUS is very unusual on 64-bit platform and can possibly indicate hardware fault.
The stack trace is obtained from the Samsung Galaxy J5, I encounter this also on the Samsung Galaxy C9 Pro phone. For some reason, my app has excluded 64-bit library from the build currently, will that cause any issue?
Also, please tell us which recognizers were active at the time of the crash?
The current active recognizer is MyKadRecognizerSettings only.
Also, which exact version of BlinkID SDK was running at the time of crash?
The current version of BlinkID SDK that we're running was v3.13.
Hi @kennywfl!
For some reason, my app has excluded 64-bit library from the build currently, will that cause any issue?
I've managed to rebuild the usable stack trace using the 32-bit binary symbols from BlinkID v3.13. Unfortunately, the crash appears to be 32-bit specific (and not so easy fixable) and should not happen while using BlinkID SDK in 64-bit mode - it appears that this device in 32-bit mode requires 64-bit-mode data alignment when accessing data (which is logical, considering it has 64-bit processor) which we do not ensure for 32-bit versions of our SDK (the SDK should work correctly on native 32-bit ARM processors and ensuring 64-bit mode data alignment compatibility in 32-bit mode is easier said than done).
Can you try reproducing the crash by using MyKad scanning with our showcase app? - the app will automatically send crash report to us via crashlytics and we ensured that this app works in 64-bit mode. If my hypothesis is correct, the app should work correctly in 64-bit mode.
Google has announced that until August 2019 all apps on PlayStore will need to have 64-bit support, so if adding 64-bit binary solves your problem, you can kill two birds with one stone. If app size is a problem, we recommend using APK splits - we use that for all our apps that are published on PlayStore.
Hi @DoDoENT !
Can you try reproducing the crash by using MyKad scanning with our showcase app? - the app will automatically send crash report to us via crashlytics and we ensured that this app works in 64-bit mode. If my hypothesis is correct, the app should work correctly in 64-bit mode.
I already tried that and it's actually working fine, guess I'll need to work with the 64-bit library to see if it crash again in those devices, I'll update here again if there's any issue. Thanks for the help!
Hi guys,
I have experiences some intermittent crashes on some of my test device, but upon uninstall and reinstall, the crash issue gone, could you tell me what's the possible causes? Below are the crash log that I obtained.
I also notice that only Samsung device will encounter this issue, had tested with Xperia XZs, Nexus 5, and some Xiaomi devices and have no issue so far. Update: now it crashed on device from Vivo also, so it no longer limited to Samsung.
Device that I have tested with crash: Samsung Galaxy C9 Pro (Android ver. 6.0.1) Samsung Galaxy J5 (2016) (Android ver. 6.0.1) Samsung Galaxy Mega 2 (Android ver. 4.4.4) *new Vivo Y55s (Android ver. 6.0.1)