Program received signal: "SIGABRT"

来源:互联网 发布:现在用网络怎么赚钱 编辑:程序博客网 时间:2024/05/17 18:04
SIG is a common prefix for signal names. ABRT is an abbreviation for abort. 

SIGABRT is sent by the process to itself when it calls the abort libc function, defined in stdlib.h. The SIGABRT signal can be caught, but it cannot be blocked; if the signal handler returns then all open streams are closed and flushed and the program terminates (dumping core if appropriate).This means that the abort call never returns.

Because of this characteristic, it is often used to signal fatal conditions in support libraries, situations where the current operation cannot be completed but the main program can perform cleanup before exiting. It is used when an assertion fails.


可能错误:

调用了不存在的方法

原创粉丝点击