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  <20182019  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  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Number of fields in record ssert error at runtime
From: Mark Rivers <[email protected]>
To: Michael Westfall <[email protected]>, "[email protected] Talk" <[email protected]>
Date: Mon, 30 Apr 2018 14:06:37 +0000
Hi Mike,


My first guess would be that the record.dbd and record.h files are inconsistent.  Try doing "make uninstall" in the module with the record and the module with the IOC.


Mark



________________________________
From: [email protected] <[email protected]> on behalf of Michael Westfall <[email protected]>
Sent: Monday, April 30, 2018 8:54 AM
To: [email protected] Talk
Subject: Number of fields in record ssert error at runtime


What might be the cause of an assert error at runtime concerning the number of fields in a record?

This happens when the xxxRecordSizeOffset() function is called during record initialization.
The above function is defined in the xxxRecord.h file that is generated at compile time.

The line where it fails says 'assert(pdbRecordType->no_fields==99);'

Why would a record have a different number of fields at runtime than were defined in the structure defining the record?

This is a custom record that we are trying to use.

Thanks for any help...

--

Mike Westfall
Control Systems Software Engineer

[http://www.gemini.edu/images/GeminiLogo_4.5in_newSmall.png]

Replies:
Re: Number of fields in record ssert error at runtime Michael Westfall
References:
Number of fields in record ssert error at runtime Michael Westfall

Navigate by Date:
Prev: Number of fields in record ssert error at runtime Michael Westfall
Next: Re: Number of fields in record ssert error at runtime Michael Westfall
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Number of fields in record ssert error at runtime Michael Westfall
Next: Re: Number of fields in record ssert error at runtime Michael Westfall
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 30 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·