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: Eric Norum <[email protected]>
To: "Mark Rivers" <[email protected]>
Cc: [email protected]
Date: Tue, 20 Jul 2010 08:32:02 -0700
The stack trace indicates SciPlot:
.
.
#9  0x00012c75 in LineSet (w=0x108e800, x1=81, y1=-nan(0x400000), x2=84, y2=-nan(0x400000), color=1, style=1) at ../SciPlot.c:2115
#10 0x00018e0d in DrawCartesianYAxis (w=0x1, type=0) at ../SciPlot.c:4275
#11 0x0001c7d2 in DrawAll (w=0x108e800) at ../SciPlot.c:4321
#12 0x0000bb4b in cartesianPlotUpdateScreenFirstTime (cd=0x0) at ../medmCartesianPlot.c:1239
.
.


I suspect that those NANs are getting converted from floating-point to integer to compute the size of a memory allocation -- which ends up being ridiculously large.  I infer this from the beginning of the stack track:
#0  0x92f334a9 in malloc_error_break ()
#1  0x92f2e497 in szone_error ()
#2  0x92e5b976 in allocate_pages ()
#3  0x92e5c162 in large_and_huge_malloc ()
#4  0x92e532c8 in szone_malloc ()
#5  0x92e5cb8d in szone_realloc ()
#6  0x92e5c9ce in malloc_zone_realloc ()
#7  0x92e5c941 in realloc ()
#8  0x005c1478 in XtRealloc ()
#9  0x00012c75 in LineSet (w=0x108e800, x1=81, y1=-nan(0x400000), x2=84, y2=-nan(0x400000), color=1, style=1) at ../SciPlo.c:2115


On Jul 20, 2010, at 7:23 AM, Mark Rivers wrote:

> Was Lewis running with an XRT/Graph or SciPlot build?
> 
> Mark
> 
> 

-- 
Eric Norum
[email protected]






References:
MEDM crash when "Plot Array" of sscan detector with large value J. Lewis Muir
Re: MEDM crash when "Plot Array" of sscan detector with large value Tim Mooney
Re: MEDM crash when "Plot Array" of sscan detector with large value Andrew Johnson
Re: MEDM crash when "Plot Array" of sscan detector with large value Tim Mooney
RE: MEDM crash when "Plot Array" of sscan detector with large value Mark Rivers

Navigate by Date:
Prev: Re: 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 
Navigate by Thread:
Prev: Re: MEDM crash when "Plot Array" of sscan detector with large value Tim Mooney
Next: Re: MEDM crash when "Plot Array" of sscan detector with large value J. Lewis Muir
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 ·