SIGABRT is an error message frequently encountered during iOS development. What does this information mean? Where is the definition? Is it caused by a shrimp problem? How can this problem be solved? This article attempts to give answers to these questions.
# Define sighup 1
/* Hangup */
# Define SIGINT 2
/* Interrupt */
# Define sigquit 3
/* Quit */
# Define sigill 4
/* Illegal instruction (not reset when caught )*/
# Define sigtrap 5
/* Trace trap (not reset when caught )*/
# Define SIGABRT 6
/* Abort ()*/
# If (defined (_ posix_c_source )&&! Defined (_ darwin_c_source ))
# Define sigpoll 7
/* Pollable event ([XSR] generated, not supported )*/
# Else /*(! _ Posix_c_source | _ darwin_c_source )*/
# Define sigiot SIGABRT/* compatibility */
# Define sigemt 7
/* EMT instruction */
# Endif /*(! _ Posix_c_source | _ darwin_c_source )*/
# Define sigfpe 8
/* Floating point exception */
# Define sigkill 9
/* Kill (cannot be caught or ignored )*/
# Define sigbus 10
/* Bus Error */
# Define SIGSEGV 11
/* Segmentation violation */
# Define sigsys 12
/* Bad argument to system call */
# Define sigpipe 13
/* Write on a pipe with no one to read it */
# Define sigalrm 14
/* Alarm clock */
# Define sigterm 15
/* Software termination signal from kill */
# Define sigurg 16
/* Urgent condition on Io channel */
# Define sigstop 17
/* Sendable stop signal not from tty */
# Define sigtstp 18
/* Stop signal from tty */
# Define sigcont 19
/* Continue a stopped process */
# Define sigchld 20
/* To parent on child stop or exit */
# Define sigttin 21
/* To readers pgrp upon background tty read */
# Define sigttou 22
/* Like ttin for output if (TP-> t_local & ltostop )*/
# If (! Defined (_ posix_c_source) | defined (_ darwin_c_source ))
# Define sigio 23
/* Input/output possible signal */
# Endif
# Define sigxcpu 24
/* Exceeded CPU time limit */
# Define sigxfsz 25
/* Exceeded file size limit */
# Define sigvtalrm 26
/* Virtual time alarm */
# Define sigprof 27
/* Profiling time alarm */
# If (! Defined (_ posix_c_source) | defined (_ darwin_c_source ))
# Define sigwinch 28
/* Window size changes */
# Define siginfo 29
/* Information Request */
# Endif
# Define SIGUSR1 30
/* User defined signal 1 */
# Define sigusr2 31
/* User defined Signal 2 */