potentially unexpected fatal signal 11( call fclose(fd) twice)

Fri May 22 02:40:01 2020 kern.info kernel: [   20.024000] potentially unexpected fatal signal 11.
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.036000] CPU: 0 PID: 1142 Comm: check_forver Tainted: G           O 3.10.14 #10
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.048000] task: 83f8b9e8 ti: 8310a000 task.ti: 8310a000
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.060000] $ 0   : 00000000 77967570 00412060 00414000
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.072000] $ 4   : 00000001 00001fa0 fffffffc 00000049
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.080000] $ 8   : 00000000 00000fa6 800a0ee8 fffffff0
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.092000] $12   : 00000000 00000002 00000000 00410000
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.104000] $16   : 779a7fec 00412068 7f8109c8 ffffffff
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.112000] $20   : 77a63310 0045cefc ffffffff 0045dc1c
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.124000] $24   : 00411638 779d32e0                  
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.132000] $28   : 779ab3a0 7f8109b0 7ff86fd0 77983a84
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.144000] Hi    : 00000249
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.148000] Lo    : 0001cbed
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.156000] epc   : 77983aec 0x77983aec
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.164000]     Tainted: G           O
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.172000] ra    : 77983a84 0x77983a84
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.180000] Status: 0100ff13      USER EXL IE
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.188000] Cause : 40800008
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.192000] BadVA : 00414004
Fri May 22 02:40:01 2020 kern.warn kernel: [   20.196000] PrId  : 00019650 (MIPS 24KEc)
Fri May 22 02:40:01 2020 user.emerg syslog: Segmentation fault

 

 

Answer:

segmentationviolation

在POSIX兼容的平台上,SIGSEGV是当一个进程执行了一个无效的内存引用,或发生段错误时发送给它的信号。SIGSEGV的符号常量在头文件signal.h中定义。因为在不同平台上,信号数字可能变化,因此符号信号名被使用。通常,它是信号#11。

Root Cause:

check_forver call fclose(fd) twice.

你可能感兴趣的:(BUG)