C JNI library splits all Android apps

I use ffmpeg compiled for android and now it works pretty well, however sometimes errors (based on some Android phone configurations) appear and the application simply forcibly closes this message:

Fatal signal 11 (SIGSEGV) at 0x00000001 (code = 1), stream 20745 (AsyncTask # 2)

The ffmpeg call is inside try / catch; however, this does not seem to bother.

So, how can I prevent this force from closing and show the user a message?

+4
source share
2 answers

I'm afraid I can’t do this. See also this answer, which hints why.

ffmpeg , . , . Java , ffmpeg, C, , Java.

try/catch , ffmpeg Java. , Java, , , - ffmpeg , , ffmpeg , . , ffmpeg , , .

+1

ffmpeg , . , ffmpeg.

, , , ., , Android, .

. , , ffmpeg, .

0

All Articles