[cmake-developers] kernel log segfault warning messages when building/testing CMake
Rolf Eike Beer
eike at sf-mail.de
Tue Oct 23 15:20:43 EDT 2018
Am Dienstag, 23. Oktober 2018, 20:58:51 CEST schrieb Alan W. Irwin:
> My "merlin" computer automatically builds and tests (including the
> PLplot contract test) CMake each day at 4:32 Pacific time, and I have
> noticed for some time now that those successful "merlin" tests (clean for
> the CMake dashboard, but with 8 compile warnings but no errors for the
> KWSys dashboard that is also generated by the CMake test) are always
> accompanied by segfault warnings in the kernel log file for my Debian
> Buster system. At least some of those segfaults seem to
> be associated with the KWSys part of this test. Here are those log
> warnings for today (taken from /var/log/messages):
I get those daily, here from my sparc:
[1540252.631482] kwsysTestProces[44830]: segfault at 4 ip 0000000000011c68
(rpc 0000000000011c28) sp 00000000ffd7b670 error 1 in
kwsysTestProcess[10000+e000]
[1540255.178055] kwsysTestProces[45441]: segfault at 4 ip 0000000000011c68
(rpc 0000000000011c28) sp 00000000ff933670 error 1 in
kwsysTestProcess[10000+e000]
[1541099.090339] kwsysTestProces[65043]: segfault at 4 ip 0000000000011c68
(rpc 0000000000011c28) sp 00000000ffad96b0 error 1 in
kwsysTestProcess[10000+e000]
[1541099.096219] kwsysTestProces[65049]: segfault at 4 ip 0000000000011c68
(rpc 0000000000011c28) sp 00000000ff95f6b0 error 1 in
kwsysTestProcess[10000+e000]
This is intentional, there are test binaries that segfault to test if that is
properly detected by the signal handler/debug/ctest/whatever code.
> I don't notice any other platform on KWSys dashboard that also has the
> 8 build warnings, but it is likely my fairly recent gcc compiler
> (Debian Buster ccache and gcc/g++ 8.2.0) is more sensitive to
> problematic code in KWSys than prior versions of the gcc compiler
> suite.
I run gcc 8.2 on castor, but I don't know why this does not trigger these
warnings.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20181023/913cf8c4/attachment.sig>
More information about the cmake-developers
mailing list