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: tsub record: assert(prt->no_fields == 558) fails
From: John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 16 Jun 2020 16:03:34 +0000
All,

I am trying to add the tsub record from TPMAC to an IOC.  

Everything builds without trouble but when I run the IOC I get an assert failure for number of fields in the tsub record, see console output below.

This is linux-x86_64, using base 7.0.3, asyn-R4-38, motor-R7-1

Downloaded tpmac-master from 


BTW, I did poke around enough to realize I didn't know if 'prt->no_fields' is supposed to be the number of fields or the index of the last field. If I count the tsub record fields in my jbiTest.dbd I get 559.

Hoping you can help me figure out where I went astray. 

Regards,

John Dobbins

Research Support Specialist
Cornell High Energy Synchrotron Source
Cornell University

www.chess.cornell.edu







jad22@lnx615 $ ../../bin/linux-x86_64/jbiTest st.cmd
#!../../bin/linux-x86_64/jbiTest
< envPaths
epicsEnvSet("IOC","iocjbiTest")
epicsEnvSet("TOP","/nfs/chess/user/jad22/JBluIce/epics/jbiTest")
epicsEnvSet("TPMAC","/nfs/chess/user/jad22/epics/support/tpmac")
epicsEnvSet("EPICS_BASE","/nfs/chess/epics/release/base/base-7.0.2")
## Register all support components
dbLoadDatabase("../../dbd/jbiTest.dbd",0,0)
jbiTest_registerRecordDeviceDriver(pdbbase)



A call to 'assert(prt->no_fields == 558)'
    by thread '_main_' failed in ../O.Common/tsubRecord.h line 1145.
Dumping a stack trace of thread '_main_':
[          0x51447b]: ../../bin/linux-x86_64/jbiTest(epicsStackTrace+0x4b)
[          0x50ff8a]: ../../bin/linux-x86_64/jbiTest(epicsAssert+0x3a)
[          0x439c0b]: ../../bin/linux-x86_64/jbiTest(tsubRecordSizeOffset+0x3b)
[          0x4bcae8]: ../../bin/linux-x86_64/jbiTest(registerRecordTypes+0xc8)
[          0x439880]: ../../bin/linux-x86_64/jbiTest(jbiTest_registerRecordDeviceDriver+0x60)
[          0x5026b5]: ../../bin/linux-x86_64/jbiTest(iocshBody+0xb15)
[          0x439552]: ../../bin/linux-x86_64/jbiTest(main+0x12)
[    0x7f0bc7507545]: /lib64/libc.so.6(__libc_start_main+0xf5)
[          0x439752]: ../../bin/linux-x86_64/jbiTest(_start+0x29)
EPICS Release EPICS R7.0.2.
Local time is 2020-06-16 11:47:22.592146284 EDT
Please E-mail this message to the author or to tech-talk at aps.anl.gov


Replies:
Re: tsub record: assert(prt->no_fields == 558) fails Johnson, Andrew N. via Tech-talk
Re: tsub record: assert(prt->no_fields == 558) fails John Dobbins via Tech-talk

Navigate by Date:
Prev: Re: Lexium MDrive Ethernet Dr. Bastian Löher via Tech-talk
Next: Re: tsub record: assert(prt->no_fields == 558) fails 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: Re: ci-scripts 3.0 release: Windows on Travis Torsten Bögershausen via Tech-talk
Next: Re: tsub record: assert(prt->no_fields == 558) fails 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 
ANJ, 17 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·