coredump: Support signal number
Change-Id: If220bcd0865569a566e08aa53cae748fdc6317d0 Refs: #1340
This commit is contained in:
committed by
Masamichi Takagi
parent
11ef2f8092
commit
0c1cae45fe
168
test/issues/1340/result_aarch64.log
Normal file
168
test/issues/1340/result_aarch64.log
Normal file
@@ -0,0 +1,168 @@
|
||||
*** C1340T01 start *******************************
|
||||
** Check signal in coredump. GPE
|
||||
Terminate by signal 11
|
||||
./C1340.sh: line 37: 18499 Segmentation fault (core dumped) ${MCEXEC} ./segv
|
||||
[ OK ] core for McKernel process found
|
||||
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-3.el8
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
Type "show copying" and "show warranty" for details.
|
||||
This GDB was configured as "aarch64-redhat-linux-gnu".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
Find the GDB manual and other documentation resources online at:
|
||||
<http://www.gnu.org/software/gdb/documentation/>.
|
||||
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from ./segv...done.
|
||||
[New LWP 18499]
|
||||
Core was generated by `'.
|
||||
Program terminated with signal SIGSEGV, Segmentation fault.
|
||||
#0 0x00000000004005fc in main (argc=1, argv=0x3ffffffffe08) at segv.c:8
|
||||
8 *ptr = 0xdead;
|
||||
*** C1340T01 PASSED ******************************
|
||||
rm: cannot remove './core.*': No such file or directory
|
||||
|
||||
*** C1340T02 start *******************************
|
||||
** Check signal in coredump. raise 3
|
||||
Terminate by signal 3
|
||||
./C1340.sh: line 65: 18535 Quit (core dumped) ${MCEXEC} ./raise_sig ${signum}
|
||||
[ OK ] core for McKernel process found
|
||||
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-3.el8
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
Type "show copying" and "show warranty" for details.
|
||||
This GDB was configured as "aarch64-redhat-linux-gnu".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
Find the GDB manual and other documentation resources online at:
|
||||
<http://www.gnu.org/software/gdb/documentation/>.
|
||||
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from ./segv...done.
|
||||
[New LWP 18535]
|
||||
Core was generated by `'.
|
||||
Program terminated with signal SIGQUIT, Quit.
|
||||
#0 0x0000100000036d0c in raise () from /usr/lib64/libc.so.6
|
||||
*** C1340T02 PASSED ******************************
|
||||
rm: cannot remove './core.*': No such file or directory
|
||||
|
||||
*** C1340T03 start *******************************
|
||||
** Check signal in coredump. raise 4
|
||||
Terminate by signal 4
|
||||
./C1340.sh: line 65: 18571 Illegal instruction (core dumped) ${MCEXEC} ./raise_sig ${signum}
|
||||
[ OK ] core for McKernel process found
|
||||
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-3.el8
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
Type "show copying" and "show warranty" for details.
|
||||
This GDB was configured as "aarch64-redhat-linux-gnu".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
Find the GDB manual and other documentation resources online at:
|
||||
<http://www.gnu.org/software/gdb/documentation/>.
|
||||
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from ./segv...done.
|
||||
[New LWP 18571]
|
||||
Core was generated by `'.
|
||||
Program terminated with signal SIGILL, Illegal instruction.
|
||||
#0 0x0000100000036d0c in raise () from /usr/lib64/libc.so.6
|
||||
*** C1340T03 PASSED ******************************
|
||||
rm: cannot remove './core.*': No such file or directory
|
||||
|
||||
*** C1340T04 start *******************************
|
||||
** Check signal in coredump. raise 6
|
||||
Terminate by signal 6
|
||||
./C1340.sh: line 65: 18606 Aborted (core dumped) ${MCEXEC} ./raise_sig ${signum}
|
||||
[ OK ] core for McKernel process found
|
||||
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-3.el8
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
Type "show copying" and "show warranty" for details.
|
||||
This GDB was configured as "aarch64-redhat-linux-gnu".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
Find the GDB manual and other documentation resources online at:
|
||||
<http://www.gnu.org/software/gdb/documentation/>.
|
||||
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from ./segv...done.
|
||||
[New LWP 18606]
|
||||
Core was generated by `'.
|
||||
Program terminated with signal SIGABRT, Aborted.
|
||||
#0 0x0000100000036d0c in raise () from /usr/lib64/libc.so.6
|
||||
*** C1340T04 PASSED ******************************
|
||||
rm: cannot remove './core.*': No such file or directory
|
||||
|
||||
*** C1340T05 start *******************************
|
||||
** Check signal in coredump. raise 8
|
||||
Terminate by signal 8
|
||||
./C1340.sh: line 65: 18641 Floating point exception(core dumped) ${MCEXEC} ./raise_sig ${signum}
|
||||
[ OK ] core for McKernel process found
|
||||
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-3.el8
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
Type "show copying" and "show warranty" for details.
|
||||
This GDB was configured as "aarch64-redhat-linux-gnu".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
Find the GDB manual and other documentation resources online at:
|
||||
<http://www.gnu.org/software/gdb/documentation/>.
|
||||
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from ./segv...done.
|
||||
[New LWP 18641]
|
||||
Core was generated by `'.
|
||||
Program terminated with signal SIGFPE, Arithmetic exception.
|
||||
#0 0x0000100000036d0c in raise () from /usr/lib64/libc.so.6
|
||||
*** C1340T05 PASSED ******************************
|
||||
rm: cannot remove './core.*': No such file or directory
|
||||
|
||||
*** C1340T06 start *******************************
|
||||
** Check signal in coredump. raise 11
|
||||
Terminate by signal 11
|
||||
./C1340.sh: line 65: 18676 Segmentation fault (core dumped) ${MCEXEC} ./raise_sig ${signum}
|
||||
[ OK ] core for McKernel process found
|
||||
GNU gdb (GDB) Red Hat Enterprise Linux 8.2-3.el8
|
||||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
Type "show copying" and "show warranty" for details.
|
||||
This GDB was configured as "aarch64-redhat-linux-gnu".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
Find the GDB manual and other documentation resources online at:
|
||||
<http://www.gnu.org/software/gdb/documentation/>.
|
||||
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from ./segv...done.
|
||||
[New LWP 18676]
|
||||
Core was generated by `'.
|
||||
Program terminated with signal SIGSEGV, Segmentation fault.
|
||||
#0 0x0000100000036d0c in raise () from /usr/lib64/libc.so.6
|
||||
*** C1340T06 PASSED ******************************
|
||||
rm: cannot remove './core.*': No such file or directory
|
||||
Reference in New Issue
Block a user