[opus] Crash when opus encoder destory on Android platform

Chenhui Lin spatblan at gmail.com
Thu Feb 28 10:32:35 UTC 2019

I integrated libopusenc(version 0.2.1) to Android platform. but I collected some crash when opus encode destory. error backstrace as following:

 1	#00 pc 0006828e /system/lib/libc.so (je_huge_salloc+133) [armeabi-v7a]
2	#01 pc 0006d303 /system/lib/libc.so (ifree+274) [armeabi-v7a]
3	#02 pc 0006d65d /system/lib/libc.so (je_free+72) [armeabi-v7a]
4	#03 pc 000025ef libopusenc.so ope_encoder_destroy [armeabi-v7a]

1	#00 pc 0006d22c /system/lib/libc.so (ifree+59) [armeabi-v7a]
2	#01 pc 0006d65d /system/lib/libc.so (je_free+72) [armeabi-v7a]
3	#02 pc 00002621 libopusenc.so ope_encoder_destroy [armeabi-v7a]

so, how can I resolved this crash? Is it possible to catch this crash or could you provide some information to help me to debug? Thanks. (sorry for my poor english.)

More information about the opus mailing list