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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Autosave for waveform with 1 element |
From: | "Paduan Donadio, Marcio" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Sat, 8 Jul 2017 03:23:01 +0000 |
Hello,
here at SLAC, we saw that autosave is failing to recover the data for a waveform with 1 element. For testing purposes, we changed manually NELM to 2 and the recovery succeeded. Another test was to manually edit the sav file, adding the keyword @array@ and
the recovering succeeded, too.
I saw the following comment in 5.4.1 release: "Previously, restoring an array which had been saved with zero or one values failed. Also, manual restore (including restore by configMenu) of any array PV caused a seg fault.".
As we are using 5.7.1, I think this problem is already corrected since 5.4.1. The behavior was observed when using EPICS 3.15.
The strange thing is that the same version of autosave seems to be working in EPICS 3.14, but not in 3.15.
I saw that autosave uses ca_element_count() from the channel access API. Maybe something changed in this function in EPICS 3.15?
Thank you for your help.
Márcio Paduan Donadio System Control Engineer - SLAC |