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: Fwd: bugfix of PCAS library
From: Andrew Johnson <anj@aps.anl.gov>
To: EPICS core-talk <core-talk@aps.anl.gov>
Cc: Wang Xiaoqiang <xiaoqiang.wang@psi.ch>
Date: Tue, 9 May 2017 17:57:00 -0500
Unless anyone objects I propose to cherry-pick this commit onto the 3.14
branch. As Xiaoqiang says in the commit message this change has already
been implemented in the monitorResponse methods; this adds the same code
to the readResponse and readNotifyResponse methods, and while I don't
claim to understand the PCAS code in detail I can see that the same
change is likely to be needed there for the PCAS to support dynamic
arrays properly.

Thanks Xiaoqiang!

- Andrew

-------- Forwarded Message --------
Subject: bugfix of PCAS library
Date: Fri, 5 May 2017 13:21:50 +0200
From: Wang Xiaoqiang <xiaoqiang.wang@psi.ch>
To: tech-talk <tech-talk@aps.anl.gov>


Hi,

The problem was discovered using a PCASpy server application.
https://github.com/paulscherrerinstitute/pcaspy/issues/43

A short summary is that the pcas library calculate the wrong size if a
container type gdd is returned by a server application, in a read action
with zero requested count.

The proposed change has been verified to fix the issue.
https://github.com/xiaoqiangwang/epics-base/commit/f1367b28c6e620f2b4abb276812df854c47e3a48

Best
Xiaoqiang

Replies:
Re: Fwd: bugfix of PCAS library Michael Davidsaver
Re: Fwd: bugfix of PCAS library Wang Xiaoqiang

Navigate by Date:
Prev: Jenkins build is back to normal : epics-base-3.16-mac-test #98 APS Jenkins
Next: Re: Fwd: bugfix of PCAS library Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Jenkins build is back to normal : epics-base-3.16-mac-test #98 APS Jenkins
Next: Re: Fwd: bugfix of PCAS library Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 10 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·