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.55k stars 2.93k forks source link

SIGABRT in libtranslate_jni.so when using MLKit Translate #485

Open ow-ro opened 2 years ago

ow-ro commented 2 years ago

We are noticing SIGABRTs happening in Translate. Doesn't occur in our testing, however we see crash reports in crashlytics happening to a small percentage of our users repeatedly. They don't provide much info. Doesn't seem specific to any device model/android version.

They do seem to all be triggered by the .translate() call. No response from that call, and native crash occurs 10-50 seconds later.

image

SDK Info:

zhouyiself commented 2 years ago

Sorry about the crashes but it's hard to debug without additional info. Any more detailed crash trace you can get?