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: IOC error message on camonitor disconnect
From: Michael Davidsaver <mdavidsaver@gmail.com>
To: EPICS core-talk <core-talk@aps.anl.gov>
Date: Mon, 31 Jul 2017 16:41:57 +0200
All,

On 07/31/2017 11:58 AM, Michael Davidsaver wrote:
> This smells like a race where the send/recv buffer "stack" pointers are
> being changed unexpectedly, probably zeroed.  However, I don't yet see
> where.

With this in mind, I found two issues:

* calls to send_err() in camessage() were missing SEND_LOCK().
* cas_send_bs_msg() could set "send.stk=0" outside of SEND_LOCK().

Freddie reports that these changes avoid the crash, but he still sees
the "Missaligned protocol rejected" message.

I'm planning to commit these to the 3.14 branch.

https://github.com/epics-base/epics-base/compare/R3.15.5...mdavidsaver:rsrv-locking


Michael

Replies:
Re: IOC error message on camonitor disconnect Andrew Johnson
Re: IOC error message on camonitor disconnect Michael Davidsaver
References:
Re: IOC error message on camonitor disconnect Michael Davidsaver

Navigate by Date:
Prev: Re: IOC error message on camonitor disconnect Michael Davidsaver
Next: areaDetector developers meeting @ ITER Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: IOC error message on camonitor disconnect Michael Davidsaver
Next: Re: IOC error message on camonitor disconnect Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 01 Aug 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·