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  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: autosave bug
From: Tim Mooney <mooney@aps.anl.gov>
To: EPICS tech-talk <tech-talk@aps.anl.gov>, beamline_controls@aps.anl.gov, Beamline Controls and Data Acquisition <bcda@aps.anl.gov>
Date: Wed, 12 May 2010 14:31:02 -0500
Dear folks,  Autosave has a long-standing bug, in all versions since
array support was added (R4-0).  If the representation of an array PV
in a .sav file is exactly 119 bytes long, boot-time restore will
process the PV twice, first correctly as an array, then as a scalar
with no data.  This results in the first array element being set to zero.

A new version of autosave, in which the bug is fixed (R4-7), is
available at
http://www.aps.anl.gov/bcda/synApps/autosave/autosave.html

Thanks to Mark Rivers for finding this bug.

--
Tim Mooney (mooney@aps.anl.gov) (630)252-5417
Software Services Group, Advanced Photon Source, Argonne National Lab.

Navigate by Date:
Prev: Looking for runcontrol record sources emmanuel_mayssat
Next: Re: Looking for runcontrol record sources Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Looking for runcontrol record sources Claude Saunders
Next: *** buffer overflow detected ***: ./ioc terminated tanushyam bhattacharjee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·