On 11/28/22 12:37, Michael Davidsaver wrote:
On 11/28/22 12:05, Marco A. Barra Montevechi Filho via Tech-talk wrote:
Thanks for the suggestion, Pedro!
At the end of the day, i figured that maybe autosave fdbrestore function would do what i wanted. Unfortunately, the function was resulting in segmentation fault. Looking in tech-talk i found this thread: https://epics.anl.gov/tech-talk/2014/msg01851.php <https://epics.anl.gov/tech-talk/2014/msg01851.php> which suggested that for autosave versions before 5.4.1 it is a known bug which is fixed after that. Since im using autosave 5-10-2 and the PVs are not very long, i gave up using autosave for this.
Could you provide any details which might go into a ticket?
Specific arguments used? ideally a stack trace? etc...
https://github.com/epics-modules/autosave/issues
I haven't tried fdbrestore() previously, so I'm not certain about the
caput() errors. It certainly didn't crash on me.
Did you do full cleanup and rebuild when switching between autosave versions?
(eg. "make distclean", or just deleting and re-downloading the source)
Linking in old object code files is great way to experience some bizarre crashes.
epics> var save_restoreDebug 5
epics> fdbrestore "ioc_settings.sav"
save_restore:fdbrestore:entry
save_restore:request_manual_restore: entry
save_restore task: calling do_manual_restore('ioc_settings.sav')
save_restore:do_manual_restore: entry for file 'ioc_settings.sav'
epics> do_manual_restore:ca_put() to 'TST:Speed-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:DM-Sel.VAL'failed.
do_manual_restore:ca_put() to 'TST:SampT-Sel.VAL'failed.
do_manual_restore:ca_put() to 'TST:SampT:N-Sel.VAL'failed.
do_manual_restore:ca_put() to 'TST:SampDet-Sel.VAL'failed.
do_manual_restore:ca_put() to 'TST:Plt-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Samp-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Plt:N-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Samp:N-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Gn:X-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Gn:Y-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Gn:Z-SP.VAL'failed.
do_manual_restore:ca_put() to 'TST:Tl-Sel.VAL'failed.
save_restore: manual restore status=1 (0==success)
- Replies:
- Re: How to: IOC reading information from file? Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
- Re: How to: IOC reading information from file? Marco A. Barra Montevechi Filho via Tech-talk
- References:
- How to: IOC reading information from file? Marco A. Barra Montevechi Filho via Tech-talk
- Re: How to: IOC reading information from file? Nariyoshi, Pedro via Tech-talk
- Re: How to: IOC reading information from file? Marco A. Barra Montevechi Filho via Tech-talk
- Re: How to: IOC reading information from file? Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: How to: IOC reading information from file? Michael Davidsaver via Tech-talk
- Next:
RE: Epics Archiver Appliance requests and DST/Timezones Manoussakis, Adamandios 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
2020
2021
<2022>
2023
2024
- Navigate by Thread:
- Prev:
Re: How to: IOC reading information from file? Michael Davidsaver via Tech-talk
- Next:
Re: How to: IOC reading information from file? Cobb, Tom (DLSLtd,RAL,LSCI) 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
2020
2021
<2022>
2023
2024
|