EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: IOC error message on camonitor disconnect
From: Michael Davidsaver <[email protected]>
To: EPICS core-talk <[email protected]>
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  <20172018  2019  2020  2021  2022  2023  2024 
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  <20172018  2019  2020  2021  2022  2023  2024