3.18.1: test suite core dumps and test suite fails
[tkloczko@barrel SPECS]$ coredumpctl gdb 1282741
PID: 1282741 (cmsysTestProces)
UID: 1000 (tkloczko)
GID: 1000 (tkloczko)
Signal: 11 (SEGV)
Timestamp: Fri 2020-07-31 13:55:16 BST (8min ago)
Command Line: /home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/x86_64-redhat-linux-gnu/Source/kwsys/cmsysTestProcess run 4
Executable: /home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/x86_64-redhat-linux-gnu/Source/kwsys/cmsysTestProcess
Control Group: /user.slice/user-1000.slice/session-170.scope
Unit: session-170.scope
Slice: user-1000.slice
Session: 170
Owner UID: 1000 (tkloczko)
Boot ID: 4cf322fe64f74e0eb334b194f909e72f
Machine ID: d033f66b249a4ec09acfa81ac205554f
Hostname: barrel
Storage: /var/lib/systemd/coredump/core.cmsysTestProces.1000.4cf322fe64f74e0eb334b194f909e72f.1282741.1596200116000000000000.lz4
Message: Process 1282741 (cmsysTestProces) of user 1000 dumped core.
Stack trace of thread 1282741:
#0 0x00005573c3b61170 n/a (/home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/x86_64-redhat-linux-gnu/Source/kwsys/cmsysTestProcess + 0x3170)
#1 0x642f3d5954545f48 n/a (n/a + 0x0)
GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 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 "x86_64-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 /home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/x86_64-redhat-linux-gnu/Source/kwsys/cmsysTestProcess...
warning: core file may not match specified executable file.
[New LWP 1282741]
warning: Unexpected size of section `.reg-xstate/1282741' in core file.
Core was generated by `/home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/x86_64-redhat-linux-gnu/Source/kwsys'.
Program terminated with signal SIGSEGV, Segmentation fault.
warning: Unexpected size of section `.reg-xstate/1282741' in core file.
#0 0x00005573c3b61170 in test4 (argc=3, argv=0x7ffe069200f8) at /home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/Source/kwsys/testProcess.c:607
607 return test4(argc, argv);
glibc-2.31.9000-19.fc33.x86_64
(gdb) bt full
Missing separate debuginfos, use: dnf debuginfo-install#0 0x00005573c3b61170 in test4 (argc=3, argv=0x7ffe069200f8) at /home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/Source/kwsys/testProcess.c:607
invalidAddress = 0x4
#1 main (argc=<optimized out>, argv=0x7ffe069200f8) at /home/tkloczko/rpmbuild/BUILD/cmake-3.18.1/Source/kwsys/testProcess.c:607
n = <optimized out>
Edited by Tomasz Kłoczko