g+
g+ Communities
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 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
<== Date ==> <== Thread ==>

Subject: Re: scan thread suspended
From: Ralph Lange <Ralph.Lange@gmx.de>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Tue, 29 Jan 2013 13:25:48 +0100
On 29.01.2013 11:33, Martin Konrad wrote:
> Hello,
> I just found a suspended thread on one of our IOCs:
>
> epics> epicsThreadShowAll
>             NAME EPICS ID PTHREAD ID OSIPRI OSSPRI STATE
>           _main_ 0x1e03190 0 0 0 OK
>           errlog 0x1e0d290 139706921178880 10 0 OK
>           taskwd 0x28268b0 139706921043712 10 0 OK
>       timerQueue 0x1e8bf60 139706920642304 70 0 OK
>            cbLow 0x1e8b710 139706840516352 59 0 OK
>         cbMedium 0x28163f0 139706839987968 64 0 OK
>           cbHigh 0x364bf00 139706839459584 71 0 OK
>         dbCaLink 0x1e11e60 139706838931200 50 0 OK
>       logRestart 0x1e12620 139706920908544 10 0 OK
>       timerQueue 0x1e12cf0 139706919847680 70 0 OK
>         scanOnce 0x41b08b0 139706837841664 70 0 OK
>           scan10 0x41ed360 139706837313280 60 0 OK
>            scan5 0x41ed600 139706836784896 61 0 OK
>            scan2 0x41ed8a0 139706836256512 62 0 OK
>            scan1 0x41edb40 139706835728128 63 0 SUSPEND
>          scan0.5 0x41edde0 139706835199744 64 0 OK
>          scan0.2 0x41ee080 139706834671360 65 0 OK
>          scan0.1 0x41ee320 139706834142976 66 0 OK
> ...
>
> What can cause a scan thread to be suspended? The IOC is using base
> R3.14.11-10. There are no messages in the IOC log. According to the
> log there was no user interaction using the IOC shell.

Martin,

what platform is this on? Linux?

Under vxWorks, the most common reason for a processing thread (scan or
callback) to get suspended are access faults, e.g. access to addresses
that have no hardware (memory, I/O) connected to them. Usually bugs in
device/driver support.
Under Linux, these create segmentation faults that crash the IOC, and I
haven't seen suspended processing threads yet.

~Ralph


Replies:
Re: scan thread suspended Martin Konrad
References:
scan thread suspended Martin Konrad

Navigate by Date:
Prev: scan thread suspended Martin Konrad
Next: Re: scan thread suspended Martin Konrad
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
Navigate by Thread:
Prev: scan thread suspended Martin Konrad
Next: Re: scan thread suspended Martin Konrad
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <2013
ANJ, 29 Jan 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·