Check out example codes for "Runtime Error: Runtime ErrorAbort signal from abort(3) (SIGABRT)". It will help you in understanding the concepts better.

Code Example 1

SIGABRT –
If an error itself is detected by the program then this signal 
is generated using call to abort(). This signal is also used by
standard library to report an internal error. assert() function
in c++ also uses abort() to generate this signal.

Learn ReactJs, React Native from akashmittal.com