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 assertion failure from dbLock.c on IOC exit
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Fri, 25 Jul 2014 13:43:49 -0400
The small change to the startup order allows the hello.db example to
shutdown.  Now the order is as follows.  Where dbCaExit is clearly too
late, so an input link with CP might case the same problem.

> epics> exit
> atExit dbProcessNotifyExit((nil))
> atExit dbBkptExit((nil))
> atExit exitDatabase((nil))
> atExit dbChannelExit((nil))
> atExit dbLockExit((nil))
> atExit dbCaExit((nil))
> atExit ca_client_exit_handler((nil))
> atExit cacExitHandler((nil))
> atExit twdShutdown((nil))
> atExit errlogExitHandler((nil))
> atExit ClockTime_Shutdown((nil))



> diff --git a/src/ioc/misc/iocInit.c b/src/ioc/misc/iocInit.c
> index 5f3d505..5e950af 100644
> --- a/src/ioc/misc/iocInit.c
> +++ b/src/ioc/misc/iocInit.c
> @@ -135,8 +135,8 @@ static int iocBuild_2(void)
>      initDevSup();
>      initHookAnnounce(initHookAfterInitDevSup);
>  
> -    initDatabase();
>      dbLockInitRecords(pdbbase);
> +    initDatabase();
>      dbBkptInit();
>      initHookAnnounce(initHookAfterInitDatabase);




Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: 3.15 assertion failure from dbLock.c on IOC exit Michael Davidsaver
Re: 3.15 assertion failure from dbLock.c on IOC exit Andrew Johnson
References:
3.15 assertion failure from dbLock.c on IOC exit Andrew Johnson
Re: 3.15 assertion failure from dbLock.c on IOC exit Michael Davidsaver

Navigate by Date:
Prev: Re: 3.15 assertion failure from dbLock.c on IOC exit Michael Davidsaver
Next: Re: 3.15 assertion failure from dbLock.c on IOC exit 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 
Navigate by Thread:
Prev: Re: 3.15 assertion failure from dbLock.c on IOC exit Michael Davidsaver
Next: Re: 3.15 assertion failure from dbLock.c on IOC exit 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, 25 Jul 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·