EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: [Bug 1904207] Re: softIocPVA calls iocInit unrequested and then complains
From: mdavidsaver via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Fri, 13 Nov 2020 20:44:53 -0000
It turns out that this issue isn't specific to softIocPVA.

The specific warning which Dirk sees is due to a change in call ordering
which changes when the 'loadedDb' flag is set.

> loadedDb = true;    /* Give it the benefit of the doubt... */

I take this comment to mean "Assume that the script called iocInit".

While I'm not going to act on this now, it occurs to me that the recent
addition of getIocState(), and the existing dbStaticLib api, may remove
the need for assumptions about whether an IOC has actually been
initialized.

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1904207

Title:
  softIocPVA calls iocInit unrequested and then complains

Status in EPICS Base:
  New

Bug description:
  Since R7.0.4.2, softIocPVA automatically calls iocInit after reading the startup script, even if iocInit had already been called in that script. In that case it complains:
  iocBuild: IOC can only be initialized from uninitialized or stopped state

  softIoc does not do this only softIocPVA does.

  Please revert to the previous behavior which leaves the choice to the
  user if iocInit should be called or not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1904207/+subscriptions

References:
[Bug 1904207] [NEW] softIocPVA calls iocInit unrequested and then complains Dirk Zimoch via Core-talk

Navigate by Date:
Prev: [Bug 1904207] Re: softIocPVA calls iocInit unrequested and then complains mdavidsaver via Core-talk
Next: Build failed: EPICS Base 7 base-7.0-101 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025 
Navigate by Thread:
Prev: [Bug 1904207] Re: softIocPVA calls iocInit unrequested and then complains mdavidsaver via Core-talk
Next: [Bug 1904207] Re: softIocPVA calls iocInit unrequested and then complains mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  2025 
ANJ, 18 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·