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: Michael Davidsaver <mdavidsaver@gmail.com>
To: Andrew Johnson <anj@aps.anl.gov>, core-talk@aps.anl.gov
Date: Tue, 18 Apr 2017 16:00:40 -0400
On 04/18/2017 12:03 PM, Andrew Johnson wrote:
> 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.

Ha, this is what I get for being in a hurry.  I knew it didn't catch
self-assignment as I've made this mistake before.

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

I see you've already done this.  Thanks.


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
Re: Jenkins build became unstable: epics-base-3.15 #311 Andrew Johnson

Navigate by Date:
Prev: Jenkins build is back to normal : epics-base-3.15-mac-test #114 APS Jenkins
Next: Jenkins build is back to normal : epics-base-3.15-linux32-test #93 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 Andrew Johnson
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
ANJ, 18 Apr 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·