google / lyra

A Very Low-Bitrate Codec for Speech Compression
Apache License 2.0
3.84k stars 355 forks source link

Android app built as per readme crashes (on Samsung S23) #128

Open ykasidit opened 1 year ago

ykasidit commented 1 year ago

Hello,

Firstly, thanks for this open source codec.

Just cloned master today and built the android apk as per instructions but when clicking the app it immediately closes, below is the logcat trace at crash showing SIGSEGV to the pid 20122: 04-04 15:11:04.834 I/AdrenoGLES-0(20122): QUALCOMM build : a64c18f716, I644e985f0a 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Build Date : 12/15/22 04-04 15:11:04.834 I/AdrenoGLES-0(20122): OpenGL ES Shader Compiler Version: E031.41.03.21 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Local Branch : 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.VENDOR.13.2.0.11.00.00.855.443 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Remote Branch : NONE 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Reconstruct Branch : NOTHING 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Build Config : S P 14.1.4 AArch64 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 04-04 15:11:04.834 I/AdrenoGLES-0(20122): Driver Version : 0676.9 04-04 15:11:04.838 F/libc (20122): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x66befc0edf00f8 in tid 20122 (le.android.lyra), pid 20122 (le.android.lyra)

Attached is the tombstone dump (from /data/tombstones) of the crash for your kind review. tombstone_05.txt

jianchang69 commented 9 months ago

Samasungf S22 is also crash too... Dose anyone solve this issue?

JianhaoPeng commented 3 months ago

@ykasidit Hi, I also encountered this problem, have you solved this yet? I tried upgrade the version of sdk, but the compiling process failed, only version 30 can build successfully. Besides, is this apk can be adapted to android 15? Thank you so much.

smallpotato85 commented 1 month ago

I also encountered this problem. In my experience, this doesn't happen in Android 13 but happens from Android 14. I just tried to run provided lyra_android_example.so.apk but this happened.