Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Jenkins build became unstable: epics-base-3.15 #311
From: Andrew Johnson <anj@aps.anl.gov>
To: Michael Davidsaver <mdavidsaver@gmail.com>, <core-talk@aps.anl.gov>
Date: Tue, 18 Apr 2017 11:03:39 -0500
On 04/18/2017 10:20 AM, Michael Davidsaver wrote:
> I haven't been able to replicate this apparent crash.  Can you get a
> stack trace?

I suspect you meant something like this:

> diff --git a/src/ioc/db/dbUnitTest.c b/src/ioc/db/dbUnitTest.c
> index 7764f78..a92f8de 100644
> --- a/src/ioc/db/dbUnitTest.c
> +++ b/src/ioc/db/dbUnitTest.c
> @@ -196,7 +196,8 @@ void testdbGetArrFieldEqual(const char* pv, short dbfType, long nRequest, unsign
>      const long vSize = dbValueSize(dbfType);
>      const long nStore = vSize * nRequest;
>      long status;
> -    char *gbuf, *gstore, *pbuf = pbuf;
> +    char *gbuf, *gstore;
> +    const char *pbuf = pbufraw;
>  
>      if(dbNameToAddr(pv, &addr)) {
>          testFail("Missing PV \"%s\"", pv);

It surpsises me that gcc didn't warn about self-assignment of an
undefined value.

Please apply both fixes to 3.16 after the Jenkins test jobs have passed.

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
Re: Jenkins build became unstable: epics-base-3.15 #311 Michael Davidsaver
References:
Jenkins build became unstable: epics-base-3.15 #311 APS Jenkins
Re: Jenkins build became unstable: epics-base-3.15 #311 Andrew Johnson
Re: Jenkins build became unstable: epics-base-3.15 #311 Michael Davidsaver

Navigate by Date:
Prev: Re: Jenkins build became unstable: epics-base-3.15 #311 Michael Davidsaver
Next: Jenkins build is back to stable : epics-base-3.15 #312 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: Jenkins build became unstable: epics-base-3.15 #311 Michael Davidsaver
Next: Re: Jenkins build became unstable: epics-base-3.15 #311 Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 18 Apr 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·