Subject: |
MEDM crash when "Plot Array" of sscan detector with large value |
From: |
"J. Lewis Muir" <[email protected]> |
To: |
EPICS Tech-Talk <[email protected]> |
Date: |
Fri, 16 Jul 2010 17:11:22 -0500 |
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
--
J. Lewis Muir
Software Engineer
IMCA-CAT
(gdb) bt
#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 ../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
#13 0x00137940 in ~epicsGuardRelease [inlined] () at epicsGuard.h:68
#14 0x00137940 in oldSubscription::current (this=0x0, guard=@0xb0186d98, type=16, count=8000, pData=0x1800000) at ../oldSubscription.cpp:68
#15 0x00111327 in cac::eventRespAction (this=0xb00e80, iiu=@0xa7c000, hdr=@0xa7c1d4, pMsgBdy=0x1800000) at ../cac.cpp:877
#16 0x00110c95 in cac::executeResponse (this=0xb00e80, mgr=@0x0, iiu=@0x0, currentTime=@0x0, hdr=@0xb00eb4, pMshBody=0x0) at ../cac.cpp:1125
#17 0x0012df82 in tcpiiu::processIncoming (this=0xb00eb4, currentTime=@0xb0186ea8, mgr=@0xb0186ea0) at ../tcpiiu.cpp:1225
#18 0x0012ec91 in tcpRecvThread::run (this=0xa7c0bc) at ../tcpiiu.cpp:519
#19 0x001a122a in epicsThreadCallEntryPoint (pPvt=0xa7c0c0) at ../../../src/libCom/osi/epicsThread.cpp:85
#20 0x001aabd2 in start_routine (arg=0xb526b0) at ../../../src/libCom/osi/os/posix/osdThread.c:282
#21 0x92e83155 in _pthread_start ()
#22 0x92e83012 in thread_start ()
- Replies:
- 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
- Navigate by Date:
- Prev:
Re: devGpib problem Rod Nussbaumer
- Next:
Epics on ARM linux emmanuel_mayssat
- 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:
WINDOWS OS Version versus EPICS Ernest L. Williams Jr.
- 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
|