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