EPICS Home

Experimental Physics and Industrial Control System


 
1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: ca question
From: hill@luke.atdiv.lanl.gov (Jeff Hill)
To: tech-talk@aps.anl.gov
Date: Fri, 4 Aug 95 17:15:58 MDT
R3.12 BUG Report 
(CA client fails to properly clear event when channel is disconnected)

SYMPTOM:
Assert failure in bucketLib.c when ALH/probe exit and the IOC is 
disconnected.

FIX:
Properly clear event resource when IOC is disconnected.
A patch will end up in a 3.12 bug fix release.

EXPLANATION:
This bug occurs when all of the following are true:

o You called ca_clear_event() prior to calling ca_clear_channel() instead
	of calling only ca_clear_channel() (and letting it clear the event).
o The channel was disconnected when you cleared the event.

It appears that this leak has existed for a very long time and was not
detected because most applications call ca_clear_channel() to clear
both the event and the channel. This was caught because the new resource 
id table code didnt allow itself to be deleted while a resource id was still 
in use.

Jeff

______________________________________________________________________
Jeffrey O. Hill			Internet	johill@lanl.gov
LANL MS H820			Voice		505 665 1831
Los Alamos, NM 87545 USA 	FAX		505 665 5107


Navigate by Date:
Prev: Re: CA server message buffers Peregrine McGehee
Next: [no subject] Matt Bickley
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: UAE - the Universal Application Environment Nick Rees
Next: [no subject] Matt Bickley
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020