Fatal Signal 31 error 原因排查


Fatal Signal 31 error when upgrading android app from API 24 to 26

轉載自 Stack Overflow ( upgrade - Fatal Signal 31 error when upgrading android app from API 24 to 26 - Stack Overflow )

 

Android 8 O (SDK 26) limits which system calls are allowed for security reasons by enabling a feature called secure computing in the Linux kernel.

This means only whitelisted calls can be executed and that any other call will result in signal 31 (SIGSYS), code 1 (SYS_SECCOMP), like you are experiencing.

You will need to examine the stack trace of this signal to find out which system call was not allowed (which was not listed completely in your question).

 

You can find a list of allowed calls here ( libc/SYSCALLS.TXT - platform/bionic.git - Git at Google (googlesource.com) ). Any other call is not allowed.

You can find what Google wrote about this here. ( Android Developers Blog: Seccomp filter in Android O (googleblog.com) )


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM