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  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: asyn4-30 problem
From: Torsten Bögershausen <[email protected]>
To: Hinxx <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Wed, 7 Sep 2016 11:11:40 +0200
Hinko,

Is the problem fully reproducable ?
Did you do a real "make clean" ?

Does "git bisect" help ?
Can you run under valgrind ?

Questions over questions..


On 07/09/16 11:01, Hinxx wrote:
Hi Mark,

I'm trying out the asyn4-30 with latest areaDetector code in GIT.
When clicking on the 'Erase/Start' on the Timeseries panel of ADCSimulation
Detector I'm getting a segfault from asyn code:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff6e1ed700 (LWP 26572)]
0x00007ffff64738a7 in paramList::getStatus (this=0x0, index=38,
status=0x7fff6e1ec96c) at ../../asyn/asynPortDriver/asynPortDriver.cpp:335
335        if (index < 0 || index >= this->nVals) return asynParamBadIndex;
Missing separate debuginfos, use: debuginfo-install glibc-2.17-78.el7.x86_64
hdf5-1.8.12-7.el7.x86_64 jbigkit-libs-2.0-11.el7.x86_64
libgcc-4.8.3-9.el7.x86_64 libjpeg-turbo-1.2.90-5.el7.x86_64
libselinux-2.2.2-6.el7.x86_64 libstdc++-4.8.3-9.el7.x86_64
libtiff-4.0.3-14.el7.x86_64 libusb-0.1.4-3.el7.x86_64
libusbx-1.0.20-5.el7.centos.x86_64 libxml2-2.9.1-5.el7_1.2.x86_64
ncurses-libs-5.9-13.20130511.el7.x86_64 pcre-8.32-14.el7.x86_64
readline-6.2-9.el7.x86_64 systemd-libs-208-20.el7_1.6.x86_64
xz-libs-5.1.2-9alpha.el7.x86_64 zlib-1.2.7-13.el7.x86_64
(gdb) bt
#0  0x00007ffff64738a7 in paramList::getStatus (this=0x0, index=38,
status=0x7fff6e1ec96c) at ../../asyn/asynPortDriver/asynPortDriver.cpp:335
#1  0x00007ffff6475064 in asynPortDriver::getParamStatus (this=0x74c320,
list=8, index=38, paramStatus=0x7fff6e1ec96c) at
../../asyn/asynPortDriver/asynPortDriver.cpp:954
#2  0x00007ffff64789ee in asynPortDriver::doCallbacksGenericPointer
(this=0x74c320, genericPointer=0x7fffb0000990, reason=38, address=8) at
../../asyn/asynPortDriver/asynPortDriver.cpp:2605
#3  0x00007ffff7755232 in NDPluginTimeSeries::doTimeSeriesCallbacks
(this=0x74c320) at ../NDPluginTimeSeries.cpp:366
#4  0x00007ffff77556f8 in NDPluginTimeSeries::writeInt32 (this=0x74c320,
pasynUser=0x1385178, value=1) at ../NDPluginTimeSeries.cpp:472
#5  0x00007ffff64762b6 in writeInt32 (drvPvt=0x74c320, pasynUser=0x1385178,
value=1) at ../../asyn/asynPortDriver/asynPortDriver.cpp:1579
#6  0x00007ffff6480812 in processCallbackOutput (pasynUser=0x1385178) at
../../asyn/devEpics/devAsynInt32.c:489
#7  0x00007ffff6450334 in queueRequest (pasynUser=0x1385178,
priority=asynQueuePriorityLow, timeout=0) at
../../asyn/asynDriver/asynManager.c:1487
#8  0x00007ffff64827ef in processBo (pr=0x78fdc0) at
../../asyn/devEpics/devAsynInt32.c:1065
#9  0x00007ffff620f7ec in writeValue (prec=0x78fdc0) at ../boRecord.c:395
#10 0x00007ffff620f06c in process (prec=0x78fdc0) at ../boRecord.c:226
#11 0x00007ffff558b751 in dbProcess (precord=0x78fdc0) at ../dbAccess.c:641
#12 0x00007ffff559d60c in scanList (psl=0x18faab0) at ../dbScan.c:711
#13 0x00007ffff559cf4a in periodicTask (arg=0x18faab0) at ../dbScan.c:568
#14 0x00007ffff4c9c2a6 in start_routine (arg=0x1b30380) at
../../../src/libCom/osi/os/posix/osdThread.c:389
#15 0x00007ffff2a1bdf5 in start_thread () from /usr/lib64/libpthread.so.0
#16 0x00007ffff31301ad in clone () from /usr/lib64/libc.so.6


Does not happen with asyn4-27.

Cheers,
Hinko

Replies:
Re: asyn4-30 problem Hinxx
References:
asyn4-30 problem Hinxx

Navigate by Date:
Prev: asyn4-30 problem Hinxx
Next: Re: asyn4-30 problem Hinxx
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: asyn4-30 problem Hinxx
Next: Re: asyn4-30 problem Hinxx
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 07 Sep 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·