EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: nexplained hangup in semTake(), Re: channel access security deadlock from asInit()
From: "Jeff Hill" <[email protected]>
To: "'Kay-Uwe Kasemir'" <[email protected]>
Cc: "'Andrew Johnson'" <[email protected]>
Date: Thu, 19 Apr 2007 13:18:29 -0600
Kay,

FWIW, I have been reviewing the differences in the source code between
R3.14.8.2 and R3.14.9. Before R3.14.9 there was a design flaw where the
access security callback was directly placing the response in the server's
output protocol stream. That design creates a vulnerability to any one
client that is not reading its input stream for any reason. If so, the
access security system could block in the rsrv callback until that client
does read its input stream, and in the interim any other client that tries
to register with the access security system will block for the access
security system's lock. This isn't a classic deadlock, but it would
definitely exhibit the symptoms you are reporting. A busy server is quite
likely to end up with a client that does not read its input at one time or
another (independent of course of what client library implementation is in
use).

So I believe that you are seeing another manifestation of a problem you have
previously identified, and we have already fixed in R3.14.9.

HTH,

Jeff




References:
channel access security deadlock from asInit() Kay-Uwe Kasemir
RE: channel access security deadlock from asInit() Jeff Hill
nexplained hangup in semTake(), Re: channel access security deadlock from asInit() Kay-Uwe Kasemir

Navigate by Date:
Prev: Re: Lake Shore Temperature Controller 340 Kurt Goetze
Next: Strange channel access problem Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Unexplained hangup in semTake(), Re: channel access security deadlock from asInit() Andrew Johnson
Next: Lake Shore Temperature Controller 340 Pearson, MR (Matthew)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·