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

Subject: Autosave and IOC shutdown
From: Ralph Lange <[email protected]>
To: Tim Mooney <[email protected]>
Cc: EPICS Core-Talk <[email protected]>
Date: Tue, 23 Sep 2014 17:34:45 +0200
Hi Tim,

EPICS 3.15 is trying to make it easier for an IOC to cleanly shutdown. It add tests and better control over shutdown hooks. Autosave, on the other hand, starts a thread - running the save_restore() function - that is designed to never shut down.

That seems like a clear conflict of interests, that shows as frequent error messages on shutdown:

A call to 'assert(dbLockIsInitialized)'
by thread 'save_restore' failed in ../../../src/ioc/db/dbLock.c line 255.
EPICS Release EPICS R3.15.0.1-DEV $$Date$$.
Local time is 2014-09-23 14:17:13.090976814 UTC
Please E-mail this message to the author or to [email protected]
Calling epicsThreadSuspendSelf()

(Autosave trying to use cleaned-up stuff in Base.)

Do you have any thoughts on this?

Cheers,
~Ralph




Replies:
RE: Autosave and IOC shutdown Mooney, Tim M.

Navigate by Date:
Prev: Software Engineer Job Opening at PSI, Switzerland Simon Rees
Next: RE: Bug in autosave 5.4 Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  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: Software Engineer Job Opening at PSI, Switzerland Simon Rees
Next: RE: Autosave and IOC shutdown Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·