I tried to sign Pdf with Android device. I successfully sign the example PDF without any error but when I tried to sign another PDF which file size is bigger than example, the error always occur which is
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 16953 (com.chilkattest), pid 16953 (com.chilkattest) pid: 16953, tid: 16953, name: com.chilkattest >>> com.chilkattest <<< #00 pc 008cdf44 /data/app/~~cJ2uq7xVy9POOEsEnUdOcA==/com.chilkattest-KCcMwMYehe8TciUfXzA62g==/base.apk!libchilkat.so (offset 0xc4000) (BuildId:ceb579f3889717d2c8ae2ef5d22e17d6391eaab9) #01 pc 0051f7b0 /data/app/~~cJ2uq7xVy9POOEsEnUdOcA==/com.chilkattest-KCcMwMYehe8TciUfXzA62g==/base.apk!libchilkat.so (offset 0xc4000) (BuildId: ceb579f3889717d2c8ae2ef5d22e17d6391eaab9) #02 pc 00357054 /data/app/~~cJ2uq7xVy9POOEsEnUdOcA==/com.chilkattest-KCcMwMYehe8TciUfXzA62g==/base.apk!libchilkat.so (offset 0xc4000) (CkPdf::LoadFile(char const*)+128) (BuildId: ceb579f3889717d2c8ae2ef5d22e17d6391eaab9) #03 pc 0029f565 /data/app/~~cJ2uq7xVy9POOEsEnUdOcA==/com.chilkattest-KCcMwMYehe8TciUfXzA62g==/base.apk!libchilkat.so (offset 0xc4000) (Java_com_chilkatsoft_chilkatJNI_CkPdf_1LoadFile+69) (BuildId: ceb579f3889717d2c8ae2ef5d22e17d6391eaab9) #11 pc 0007a62c /data/data/com.chilkattest/code_cache/.overlay/base.apk/classes3.dex (com.chilkatsoft.CkPdf.LoadFile+4) #14 pc 00043458 /data/data/com.chilkattest/code_cache/.overlay/base.apk/classes3.dex (com.chilkattest.MainActivity.signPDF+20) #17 pc 000433c8 /data/data/com.chilkattest/code_cache/.overlay/base.apk/classes3.dex (com.chilkattest.MainActivity.onCreate+380)
From what I have researched, It might be about memory.
The code that I use is on based on https://www.example-code.com/android/sign_pdf_simple.asp
Is anyone has encountered this error and find any solutions, please help?
I've tried on emulator and physical device. The application always crash.