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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Bug in autosave 5.4
From: "Mooney, Tim M." <[email protected]>
To: Ralph Lange <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Tue, 23 Sep 2014 15:58:42 +0000
Thanks, Ralph.  I added this to the autosave web page.  This will be fixed in autosave R5-4-2.

Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


________________________________________
From: Ralph Lange [[email protected]]
Sent: Tuesday, September 23, 2014 3:31 AM
To: Mooney, Tim M.
Cc: EPICS Tech-Talk
Subject: Bug in autosave 5.4

Hi Tim,

There's a bug in autosave 5.4, which can cause segfaults (or similar,
depending on OS) when using the iocShell command 'set_pass1_restoreFile()'.

While being defined with two arguments, the iocShell integration layer
calls the internal function with the pointer of a "third" argument
structure. This is a stray pointer, which is likely to segfault the IOC
when being dereferenced inside libautosave.

- Segfaults are immediate at IOC boot time after calling
'set_pass1_restoreFile()' - no sleeping danger.
- 'set_pass0_restoreFile()' is not affected.

The attached patch fixes the issue - please apply it upstream.

Cheers,
~Ralph



References:
Bug in autosave 5.4 Ralph Lange

Navigate by Date:
Prev: Autosave and IOC shutdown Ralph Lange
Next: RE: Autosave and IOC shutdown Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Bug in autosave 5.4 Ralph Lange
Next: Record timestamp does not update (Debian Linux only) Michael Ritzert
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·