Subject: |
Re: MEDM crash when "Plot Array" of sscan detector with large value |
From: |
Tim Mooney <[email protected]> |
To: |
[email protected] |
Date: |
Mon, 19 Jul 2010 16:54:46 -0500 |
Lewis, Just for completeness, I see this on my system as well.
I could get the sscan record to avoid posting PV's that contain
NaN's, but I have a lot of other stuff that also gets plotted,
and that also can post NaN's, so my plan is to sit tight until
we know whether/when MEDM will be fixed.
Tim
On 7/16/2010 5:11 PM, 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.
To reproduce this, load an sscan scan.db database like this
dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db",\
"P=ioc23:,MAXPTS1=8000,MAXPTS2=1000,MAXPTS3=10,MAXPTS4=10,\
MAXPTSH=8000")
, and load this record
record(ai, "ioc23:BigNumber") {
field(VAL, "1e38")
field(PINI, "YES")
}
into an IOC.
Open the scan_full.adl screen with MEDM:
medm -x -macro 'P=ioc23:,N=1,S=scan1' scan_full.adl
In the Positioners section, enter "time" in the Read field and 1.0 in
the "STEP SIZE" field (which should set the number of points to 1).
In the Detectors section, enter "ioc23:BigNumber" in the 01 detector field.
Click the SCAN button to execute the scan.
Click the 01 detector button and choose "Plot Array". MEDM will crash.
Choosing "Plot From Scalars" will also make it crash.
Maybe this has something to do w/ how the large double gets converted
into a float??
Environment:
* RHEL 5.5 or Mac OS X 10.5.8
* EPICS host architecture of darwin-x86 or linux-x86_64
* EPICS Base 3.14.11 (+ Known Problems patches)
* synApps 5.5 (+ asyn 4-13-1, autosave 4-7, mca 6-12-1)
* MEDM 3.1.4
Thanks,
Lewis
--
Tim Mooney ([email protected]) (630)252-5417
Software Services Group, Advanced Photon Source, Argonne National Lab.
- Replies:
- Re: MEDM crash when "Plot Array" of sscan detector with large value Andrew Johnson
- References:
- MEDM crash when "Plot Array" of sscan detector with large value J. Lewis Muir
- Navigate by Date:
- Prev:
Re: MEDM crash when "Plot Array" of sscan detector with large value Andrew Johnson
- Next:
Re: MEDM crash when "Plot Array" of sscan detector with large value Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
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: MEDM crash when "Plot Array" of sscan detector with large value Andrew Johnson
- Next:
Re: MEDM crash when "Plot Array" of sscan detector with large value Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|