EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: bug in VxWorks memPartInfoGet (used by VxStats)
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Tue, 03 Jun 2003 12:54:02 +0200
Hoff, Lawrence wrote:
> 
>         At SNS, we ran into a bug in memPartInfoGet, using VxWorks
> kernel 5.4.2 and VxStats. Apparently there is a bug in memPartInfoGet()
> which can corrupt the heap if another task preempts memPartInfoGet()
> and does a heap operation (e.g. malloc/free). There is an SPR covering
> this bug which seems to imply that the bug also exists in kernel
> version 5.5. It is not clear which earlier versions of VxWorks might
> also be affected, but the date on the SPR is more than 3 years ago.

Quite interesting.

Two or more years ago we ran into this same problem with VxWorks 5.2
(which we still use). Only it was worse because our IOCs hung up
completely. It turned out that the problem occurred only when the IOC
had GPIB support for a LAN-GPIB gateway running and also vxStats. I
suspected the RPC library then but now it seems that the severity of our
problem was probably only due to a lot of allocation/deallocation done
by the RPC library -- and the actual bug is in memPartInfo. Well, back
then (and until today) we disabled the VxStats memory check records in
these IOCs and all was fine (or at least seemed to be).

Ben

References:
bug in VxWorks memPartInfoGet (used by VxStats) Hoff, Lawrence

Navigate by Date:
Prev: RE: bug in VxWorks memPartInfoGet (used by VxStats) Jeff Hill
Next: VxWorks on x86 John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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: bug in VxWorks memPartInfoGet (used by VxStats) Jeff Hill
Next: multicast storms, or how do WRS SPRs work Hoff, Lawrence
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·