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 2020 2021 2022 2023 2024 2025 | 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 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Number of fields in record ssert error at runtime |
From: | Michael Westfall <[email protected]> |
Cc: | "[email protected] Talk" <[email protected]> |
Date: | Mon, 30 Apr 2018 16:20:41 -0300 |
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);' [http://www.gemini.edu/images/
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
GeminiLogo_4.5in_newSmall.png ]