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  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: MEDM crash when "Plot Array" of sscan detector with large value
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Mon, 19 Jul 2010 15:39:46 -0500
Hi Lewis,

On Friday 16 July 2010 17:11:22 J. Lewis Muir wrote:
> MEDM crashes if I open scan_full.adl, execute an sscan scan which
> produces large detector values for the first detector, wait for it to
> complete, and then open scanDetPlot.adl by clicking on the 01 button in
> the Detectors section and choosing "Plot Array".  Attached is a GDB
> stack trace in case it is useful.

Your line numbers don't seem to match mine; line 2115 is not in LineSet(), 
although it does execute that line when LineSet() calls ItemGetNew() and the 
the items further down the stack are consistent with that line number being 
correct.  This may be due to optimizations by your compiler, so I'm not too 
concerned by it.

> Maybe this has something to do w/ how the large double gets converted
> into a float??

The crash is probably related to the two NaN values that are shown in your 
stack trace as arguments to LineSet(), which I suspect come from NaN value(s) 
in the dataset; Infinities and NaNs can also be generated by CALC expressions 
in recent versions of Base, or can come from numeric conversions or other math 
functions.

I have not attempted to reproduce the crash myself.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


References:
MEDM crash when "Plot Array" of sscan detector with large value J. Lewis Muir

Navigate by Date:
Prev: Re: Epics on ARM linux tanushyam bhattacharjee
Next: Re: MEDM crash when "Plot Array" of sscan detector with large value Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MEDM crash when "Plot Array" of sscan detector with large value J. Lewis Muir
Next: Re: MEDM crash when "Plot Array" of sscan detector with large value Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·