Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: 3.15 build rules suppress crash message [was: EPICS make problem]
From: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
To: Ralph Lange <ralph.lange@gmx.de>, EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Wed, 15 Mar 2017 22:25:16 +0100
Am 08.03.2017 um 12:01 schrieb Ralph Lange:
> On Wed, Mar 8, 2017 at 11:33 AM, Ben Franksen <
> benjamin.franksen@helmholtz-berlin.de> wrote:
>
>> The problem (and mystery!) is the absence of any message in the make
>> output under 3.15 that would indicate that snc crashed; whereas under
>> 3.14 I do see such a message in the make output. I can reproduce this
>> behavior reliably, regardless of the -j and -s make switches. My
>> conclusion is that something was changed in the build system between
>> 3.14 and 3.15 that causes the crash message ("segmentation fault (core
>> dumped)") to be suppressed, probably as an unintended side-effect.
>
> Have you verified the return code of the segfaulting command? I think
make
> uses that to determine if the command failed. IIRC, we had cases in Base
> where a failing script would not return 0 because of an output
redirection.
> Something in that area?

The program that crashed is snc which is a binary, not a script. Also
note that the make run /does/ fail in both cases (see the output I
posted). It just supresses the crash /message/ (which supposedly comes
from the system or the shell).

Cheers
Ben


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
EPICS make problem Benjamin Franksen
Re: EPICS make problem Torsten Bögershausen
3.15 build rules suppress crash message [was: EPICS make problem] Ben Franksen
Re: 3.15 build rules suppress crash message [was: EPICS make problem] Ralph Lange

Navigate by Date:
Prev: Thermocube EPICS Support Martin.Gaughran
Next: Re: EPICS make problem Ben Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: 3.15 build rules suppress crash message [was: EPICS make problem] J. Lewis Muir
Next: Re: EPICS make problem Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 15 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·