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: "Wang Xiaoqiang (PSI)" <[email protected]>
To: Bruce Hill <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 6 Dec 2016 09:38:00 +0000
Hi Bruce,

I replied you here https://github.com/paulscherrerinstitute/pcaspy/issues/29#issuecomment-265103000

I carried out the described test procedure on a SL6 64bit Linux PC. The problem appears definitely in a few seconds.

Best
Xiaoqiang

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Bruce Hill
Sent: Dienstag, 6. Dezember 2016 04:15
To: [email protected]
Subject: Re: deadlock in pcas 3.14.12.6-rc1

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 Bruce Hill
References:
deadlock in pcas 3.14.12.6-rc1 Wang Xiaoqiang (PSI)
Re: deadlock in pcas 3.14.12.6-rc1 Bruce Hill

Navigate by Date:
Prev: RE: Simultaneous Channel access matthew.taylor
Next: Re: Epics V4 Questions - New to Epics 4 Marty Kraimer
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: Re: deadlock in pcas 3.14.12.6-rc1 Bruce Hill
Next: Re: deadlock in pcas 3.14.12.6-rc1 Bruce Hill
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, 07 Dec 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·