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  2015  2016  2017  2018  2019  <20202021  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  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS R3.15.8 and asubRecord issue.
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Mike Westfall <mdw at gentoo.net>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 18 Jun 2020 18:20:10 +0000
Hi Mike,

On Jun 18, 2020, at 1:00 PM, Mike Westfall via Tech-talk <tech-talk at aps.anl.gov> wrote:


I was trying to compile a simple IOC with an aSub record under EPICS R3.15.8, and I got this error on startup:

dbLoadDatabase("dbd/asub-ioc.dbd")
asub_ioc_registerRecordDeviceDriver(pdbbase)

A call to 'assert(prt->no_fields == 308)'
    by thread '_main_' failed in ../O.Common/aSubRecord.h line 663.
Dumping a stack trace of thread '_main_':

This error was not noted when compiling the same IOC under EPICS R3.14.12.8
I wonder what's going on...

The error means that when your asubRecord.o file was compiled the asubRecord.h file it was built from was created with a different asubRecord.dbd or dbCommon.dbd file than the one the IOC has just loaded. This may mean you didn’t do a ‘make distclean’ when changing Base versions in your RELEASE file, you’re linking with the wrong version of libdbRecStd, or the IOC is loading the wrong .dbd file.

I will look at changing the error message to make it clearer that this is an IOC build problem.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


References:
EPICS R3.15.8 and asubRecord issue. Mike Westfall via Tech-talk

Navigate by Date:
Prev: EPICS R3.15.8 and asubRecord issue. Mike Westfall via Tech-talk
Next: Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS R3.15.8 and asubRecord issue. Mike Westfall via Tech-talk
Next: new version for CA Lab (EPICS <-> LabVIEW interface) 1.7.0.1 Carsten Winkler via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 18 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·