EPICS Home

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  Index 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: Weirdness with self-defined record type
From: Ralph Lange via Core-talk <core-talk at aps.anl.gov>
To: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Tue, 7 Jul 2020 15:53:27 +0200
I am stumbling over this:

In a module (currently against the 3.15 branch on Debian Linux) I have defined a local record type. What I am seeing:
If the first record instance that my IOC loads is of that new record type, the database gets corrupted.
The IOC commands (dbl, dbDumpRecord) show a fake bi record that either has a weird name (arbitrary bytes), shows "(null)" or an empty string. Almost every time, the IOC segfaults while doing the 'dbl' or 'dbDumpRecord'. Stray pointer, obviously.
As soon as the first record being loaded is not an instance of my locally defined type, everything is fine.

I will certainly dive in and find what's causing this, but if someone has seen this before, I would appreciate a heads-up to shorten that procedure.

Thanks a lot,
~Ralph

Replies:
Re: Weirdness with self-defined record type Johnson, Andrew N. via Core-talk
Re: Weirdness with self-defined record type Ralph Lange via Core-talk

Navigate by Date:
Prev: [Bug 1884339] Re: Inaccessible CA servers on Windows Andrew Johnson via Core-talk
Next: Re: Weirdness with self-defined record type Johnson, Andrew N. 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 
Navigate by Thread:
Prev: Build failed: epics-base base-7.0-578 AppVeyor via Core-talk
Next: Re: Weirdness with self-defined record type Johnson, Andrew N. 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