EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: 3.15.0.2: Shutdown issues
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Tue, 18 Nov 2014 11:37:47 -0500
On 11/18/2014 11:00 AM, Michael Davidsaver wrote:
> ...
> Nope, this is a Base bug.  I can get the same error with softIoc.

I can fix this by switching dbProcessNotifyExit() and dbChannelExit()
from separate atexit callbacks to being called (conditionally) from the
exitDatabase() callback.  This fixes the crash Ben found.

The remaining atexit callbacks are:

> atExit dbBkptExit((nil))
> atExit exitDatabase((nil))
> atExit dbLockExit((nil))
> atExit ca_client_exit_handler((nil))
> atExit dbCaExit((nil))
> atExit cacExitHandler((nil))
> atExit twdShutdown((nil))
> atExit errlogExitHandler((nil))
> atExit ClockTime_Shutdown((nil))

From a quick look I would guess that at least dbBkptExit(),
dbLockExit(), and errlogExitHandler() can cause similar problems.  So
I'll look at making these conditional as well.


Replies:
Re: 3.15.0.2: Shutdown issues Michael Davidsaver
References:
3.15.0.2: Shutdown issues Ralph Lange
Re: 3.15.0.2: Shutdown issues Benjamin Franksen
Re: 3.15.0.2: Shutdown issues Benjamin Franksen
Re: 3.15.0.2: Shutdown issues Benjamin Franksen
Re: 3.15.0.2: Shutdown issues Michael Davidsaver

Navigate by Date:
Prev: Jenkins build is back to stable : epics-base-3.15 #144 APS Jenkins
Next: Re: 3.15.0.2: Shutdown issues Benjamin Franksen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: 3.15.0.2: Shutdown issues Michael Davidsaver
Next: Re: 3.15.0.2: Shutdown issues Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·