Android apk crash: Fatal signal 4 (SIGILL), code 1 (ILL_ILLOPC)

I took a vacation and didn't know what was changed in the morning on the first day of work, which caused the apk to crash directly.

============

--------- beginning of crash
10-10 13:31:19.870  6410  7898 F libc    : Fatal signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xced4d59a in tid 7898 (Thread-1), pid 6410 (com.***.***)

10-10 13:31:19.982  7919  7919 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-10 13:31:19.982  7919  7919 F DEBUG   : Build fingerprint: '*****:9/********:userdebug/dev-keys'
10-10 13:31:19.982  7919  7919 F DEBUG   : Revision: '1234'
10-10 13:31:19.982  7919  7919 F DEBUG   : ABI: 'arm'
10-10 13:31:19.982  7919  7919 F DEBUG   : pid: 6410, tid: 7898, name: Thread-1  >>> com.**.**<<<
10-10 13:31:19.982  7919  7919 F DEBUG   : signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xced4d59a
10-10 13:31:19.983  7919  7919 F DEBUG   : Abort message: '[0m[**] Enter ****() function ((****:191))[0m
10-10 13:31:19.983  7919  7919 F DEBUG   : '
10-10 13:31:19.983  7919  7919 F DEBUG   :     r0  00000001  r1  00000001  r2  cedb1120  r3  00000003
10-10 13:31:19.983  7919  7919 F DEBUG   :     r4  cedaf0d0  r5  cec07970  r6  cec07970  r7  cec07400
10-10 13:31:19.983  7919  7919 F DEBUG   :     r8  0000190a  r9  0000190a  r10 ced7ea79  r11 000fe000
10-10 13:31:19.983  7919  7919 F DEBUG   :     ip  cedaf704  sp  cec073b0  lr  ced4d59b  pc  ced4d59a
10-10 13:31:19.986  7919  7919 F DEBUG   : 
10-10 13:31:19.986  7919  7919 F DEBUG   : backtrace:
10-10 13:31:19.987  7919  7919 F DEBUG   :     #00 pc 0004759a  /data/app/com.**.**-vm9FY6mCSTBuqATsU-vAjg==/base.apk (offset 0x1f000) (android::***::***()+358)
……
10-10 13:31:19.987  7919  7919 F DEBUG   :     #08 pc 00063625  /system/lib/libc.so (__pthread_start(void*)+22)
10-10 13:31:19.987  7919  7919 F DEBUG   :     #09 pc 0001df7d  /system/lib/libc.so (__start_thread+24)

============

After checking for a day, I finally found the reason. All kinds of tears...

The last line return true of the bool type function was deleted by mistake. Just add it up.
 

Guess you like

Origin blog.csdn.net/sinat_37343534/article/details/108996260