今天遇到的問題,所以查了下
當Xcode閃退提示“Message from debugger: Terminated due to signal 9”時拆祈,意思是程序收到信號9主動退出應用提针。收到信號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