EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: bug report
From: "Jeff Hill" <[email protected]>
To: "EPICS-tech-talk" <[email protected]>
Date: Mon, 27 Aug 2001 15:25:28 -0600
All,

This is a bug report for a problem discovered in EPICS R3.14,
EPICS R3.13, and possibly also EPICS R3.12.

Symptoms:

Clients disconnect unexpectedly when canceling event (monitor)
subscriptions using ca_clear_event(), but this may not be
noticed because the problem is probably rare under low or 
moderate load, and because CA clients automatically 
reconnect. The problem was only reproducible here under heavy 
load presented when the R3.14 client side regression tests were 
run on a fast Linux workstation. For example, when the tests 
were run on a 500 MHz NT host I was unable to reproduce the bug.

On vxWorks you may see threads with the name "CA client" and also 
"CA event" even if there are no clients connected (the casr 
diagnostic will also incorrectly report that clients are connected). 
As the IOC stays in long term operation without a reboot, and 
depending on the frequency of occurrence at your site (if any), you 
may also notice that memory and file descriptors are not reclaimed.

Fix:

I have committed a patch to CVS, and it will be incorporated
into the next release of R3.13 and also R3.14. 

Background:

The problem was discovered when regression testing EPICS R3.14.
The cause was a deadlock occurring when a CA event (monitor)
subscription was canceled when the CA circuit was simultaneously
in event (monitor) flow control mode and the event (monitor) 
subscription also had a corresponding update in the queue. 

Sorry about any incontinence this has caused.

Jeff
__________________________________________________________
Jeff Hill                     Internet     [email protected]
LANL MS H820                  Voice        505 665 1831
Los Alamos NM 87545 USA       FAX          505 665 5107
BEGIN:VCARD
VERSION:2.1
N:Hill;Jeff
FN:Jeff Hill
ORG:LANL;LANSCE-8
TITLE:Senior Software Engineer
TEL;WORK;VOICE:(505) 665-1831
TEL;WORK;FAX:(505) 665-5107
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;MPF 398 Rm 108;MS H820=0D=0AP.O. Box 1663;Los Alamos;NM;87545;United States=
 of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:MPF 398 Rm 108=0D=0AMS H820=0D=0AP.O. Box 1663=0D=0ALos Alamos, NM 87545=0D=
=0AUnited States of America
EMAIL;PREF;INTERNET:[email protected]
EMAIL;INTERNET:[email protected]
REV:20010208T020805Z
END:VCARD

Replies:
RE: bug report Jeff Hill

Navigate by Date:
Prev: Re: portable ca server Kay-Uwe Kasemir
Next: RE: bug report Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: portable ca server Kay-Uwe Kasemir
Next: RE: bug report Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·