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  <20152016  2017  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: iocLogClient and atExit crash
From: <[email protected]>
To: <[email protected]>
Date: Thu, 8 Oct 2015 17:53:03 +0000
Hi,

I had an IOC crash during exiting while in logClientSend() - errlogThread() was trying to send a message after logClientDestroy() had already been called by epicsExitCallAtExits(). I was able to remove the crash by adding the line:

	epicsAtExit(errlogRemoveListener, (void*)listener);

to the end of the errlogAddListener() function so that the log client is removed from the listener list before it is destroyed. I hope that is the correct fix. 

This was running base 3.14.12.4 on window x64 compiled with VS 2010

Regards,

Freddie 



Replies:
Re: iocLogClient and atExit crash Michael Davidsaver

Navigate by Date:
Prev: asyn R4-27 available Mark Rivers
Next: Re: iocLogClient and atExit crash Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: asyn R4-27 available Mark Rivers
Next: Re: iocLogClient and atExit crash Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·