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: base-3.16.1 bug
From: Andrew Johnson <anj@aps.anl.gov>
To: Michael Davidsaver <mdavidsaver@gmail.com>, Ralph Lange <ralph.lange@gmx.de>
Cc: EPICS Core Talk <core-talk@aps.anl.gov>
Date: Wed, 6 Sep 2017 18:17:07 -0500
On 09/06/2017 12:12 PM, Michael Davidsaver wrote:
> @Andrew Will you be adding a test to trigger this regression before
> fixing it?  src/std/rec/test/regressTest.c would be a easy place.

I had already started creating a new softTest program, analogous to the
asyncSoftTest code already under std/rec/test. Will finish off tomorrow.

>> I would say the dummy method returning OK is the way to go. Other link
>> types might return errors that are worth reporting, and it is certainly
>> a property of the CONSTANT link that a put() operation is never
>> producing an error.
> 
> I agree with this.

Thanks for responding.

> Another inconsistency.  CA put w/ callback is losing the error.  I see
> that dbNotify ignores the result of dbProcess().  It would be nice if it
> didn't...

That's a whole other level of complexity, the result would have to be
saved in the processNotify object by dbNotify and then retrieved and
returned to the client by the rsrv callback routine — the first part is
easy, but the second isn't obvious...

> I also noticed that dbNotify doesn't propagate some errors in it's
> putCallback for link fields.

Similar, I think that's a different bug (and I shouldn't really have
been spending time writing tests for the original problem at the moment,
but I did).

- 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: base-3.16.1 bug Andrew Johnson
References:
Re: base-3.16.1 bug Andrew Johnson
Re: base-3.16.1 bug Ralph Lange
Re: base-3.16.1 bug Michael Davidsaver

Navigate by Date:
Prev: Re: base-3.16.1 bug Michael Davidsaver
Next: Re: base-3.16.1 bug Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: base-3.16.1 bug Michael Davidsaver
Next: Re: base-3.16.1 bug Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 07 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·