EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: deadlock in pcas 3.14.12.6-rc1
From: Bruce Hill <[email protected]>
To: <[email protected]>
Date: Mon, 5 Dec 2016 19:14:50 -0800
Hi Xiaoqiang,
Do you have a pcaspy example that I can run to reproduce this?

I'm running pcaspy 0.6.2 currently, but could also build from a github branch if available.

Thanks,
- Bruce


On 11/10/2016 08:59 AM, Wang Xiaoqiang (PSI) wrote:
Hi,

I am testing the support of dynamic array in the recent base 3.14.12.6-rc1.
Using a normal pcaspy application, which updates ~15 Hz. It repeatedly gets into a deadlock state.

The analysis has been put up here
https://github.com/paulscherrerinstitute/pcaspy/issues/29

The solution could be reversing the lock order during casEventSys::process. But it does not seem to be easy,
because the chain of calls involved.

Best
Xiaoqiang

--
Bruce Hill
Member Technical Staff
SLAC National Accelerator Lab
2575 Sand Hill Road M/S 10
Menlo Park, CA  94025


Replies:
RE: deadlock in pcas 3.14.12.6-rc1 Wang Xiaoqiang (PSI)
References:
deadlock in pcas 3.14.12.6-rc1 Wang Xiaoqiang (PSI)

Navigate by Date:
Prev: Re: Epics V4 Questions - New to Epics 4 White, Greg
Next: BEAST alarm plugin. 장진수
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: deadlock in pcas 3.14.12.6-rc1 Wang Xiaoqiang (PSI)
Next: RE: deadlock in pcas 3.14.12.6-rc1 Wang Xiaoqiang (PSI)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 06 Dec 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·