Terminated due to signal X

今天遇到的問題,所以查了下

當Xcode閃退提示“Message from debugger: Terminated due to signal 9”時,意思是程序收到信號9主動退出應(yīng)用。收到信號9的原因有:內(nèi)存不足,或CPU使用率過高時,程序主動終止了運行。

signal 是Linux/Unix 中的 signal 。來著:https://www.lifewire.com/signal-linux-command-4094016

Term: Default action is to terminate the process.//默認終止進程

Ign: Default action is to ignore the signal.//默認忽略信號

Core: Default action is to terminate the process and dump core.//默認終止進程并且內(nèi)核轉(zhuǎn)儲

Stop: Default action is to stop the process.//默認停止進程

SignalValueActionComment

or death of controlling process

SIGINT2TermInterrupt from

SIGQUIT3CoreQuit from

SIGILL4Coreillegal

SIGABRT6CoreAbort signal

SIGFPE8CoreFloating point

SIGKILL9TermKill signal

SIGSEGV11CoreInvalid memory

SIGPIPE13TermBroken pipe: write to pipe with no readers

SIGALRM14TermTimer signal

SIGTERM15TermTermination signal

SIGUSR130,10,16TermUser-defined signal 1

SIGUSR231,12,17TermUser-defined signal 2

SIGCHLD20,17,18IgnChild stopped or terminated

SIGCONT19,18,25Continue if stopped

SIGSTOP17,19,23StopStop process

SIGTSTP18,20,24StopStop typed at tty

SIGTTIN21,21,26Stoptty input for background process

SIGTTOU22,22,27Stoptty output for background process

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

友情鏈接更多精彩內(nèi)容