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  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Suspended thread
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 12 Jul 2023 20:38:57 +0000

Folks,

 

I have a Linux IOC (base 7.0.7) that is throwing the following error a few seconds after iocInit:

 

Thread % (0x7f711c021600) suspended

 

I would like to figure out what thread that is and why it is being suspended.  This is the output of epicsThreadShowAll:

 

epics> epicsThreadShowAll

            NAME       EPICS ID   LWP ID   OSIPRI  OSSPRI  STATE

          _main_      0x1a631a0    71073      0       0       OK

          errlog      0x1a82680    71075     10       0       OK

      timerQueue      0x1c0c120    71076     60       0       OK

      timerQueue      0x1c0c9d0    71077     60       0       OK

         serial1      0x1c0dc20    71078     50       0       OK

          taskwd 0x7f7210000d60    71079     10       0       OK

         serial2      0x1c09fa0    71080     50       0       OK

         serial3      0x1c10bf0    71081     50       0       OK

         serial4      0x1c127c0    71082     50       0       OK

         serial5      0x1c16de0    71083     50       0       OK

         serial6      0x1c152b0    71084     50       0       OK

         serial7      0x1c1a950    71085     50       0       OK

         serial8      0x1c18ba0    71086     50       0       OK

         serial9      0x1c1c800    71087     50       0       OK

        serial10      0x1c20e30    71088     50       0       OK

        serial11      0x1c1f5c0    71089     50       0       OK

        serial12      0x1c23240    71090     50       0       OK

        serial13      0x1c252a0    71091     50       0       OK

        serial14      0x1c27320    71092     50       0       OK

        serial15      0x1c2b4d0    71093     50       0       OK

        serial17      0x1c29920    71094     50       0       OK

        serial18      0x1c2d760    71095     50       0       OK

         USB1808      0x1c31e20    71096     50       0       OK

MultiFunctionPol      0x1eaae90    71101     10       0       OK

         USB3104      0x1f0b5e0    71102     50       0       OK

MultiFunctionPol      0x1fc1270    71105     10       0       OK

    USBCTRPoller      0x203a580    71107     10       0       OK

          EDIO24      0x209cb00    71108     50       0       OK

MultiFunctionPol      0x2158350    71110     10       0       OK

            Koyo      0x21966d0    71111     50       0       OK

       K1_Xn_Bit      0x2183020    71112     50       0       OK

   K1_Xn_BitRead      0x21595e0    71114     50       0       OK

    K1_Yn_In_Bit      0x215abb0    71115     50       0       OK

K1_Yn_In_BitRead      0x2191d60    71117     50       0       OK

    K1_Cn_In_Bit      0x21933d0    71118     50       0       OK

K1_Cn_In_BitRead      0x2195b50    71120     50       0       OK

   K1_Cn_Out_Bit      0x215c550    71121     50       0       OK

      timerQueue      0x22035d0    71123     70       0       OK

           cbLow      0x2390040    71124     59       0       OK

        cbMedium      0x2203a90    71125     64       0       OK

          cbHigh      0x2203bb0    71126     71       0       OK

        dbCaLink      0x239fd60    71127     50       0       OK

            PVAL      0x23a0280    71128     50       0       OK

      timerQueue      0x21a23b0    71129     58       0       OK

      soft_motor      0x23cf4b0    71130     49       0       OK

      timerQueue      0x277d0c0    71131     10       0       OK

       recDynInp      0x28dc140    71132     43       0       OK

       recDynOut      0x28ddd90    71133     43       0       OK

       PDB-event      0x2902ad0    71134     19       0       OK

pvAccess-client       0x2903370    71135     35       0       OK

UDP-rx 0.0.0.0:0      0x2924760    71136     50       0       OK

UDP-rx 164.54.16      0x2964eb0    71137     50       0       OK

UDP-rx 164.54.16      0x29652f0    71138     50       0       OK

UDP-rx 224.0.0.1      0x29858a0    71139     50       0       OK

        scanOnce      0x298c340    71140     67       0       OK

         scan-10      0x29c13d0    71141     60       0       OK

          scan-5      0x29c1680    71142     61       0       OK

          scan-2      0x29c1930    71143     62       0       OK

          scan-1      0x29c1be0    71144     63       0       OK

        scan-0.5      0x29c1e90    71145     64       0       OK

        scan-0.2      0x29c2140    71146     65       0       OK

        scan-0.1      0x29c23f0    71147     66       0       OK

         CAS-TCP      0x29cb890    71148     18       0       OK

         CAS-UDP      0x29cbb40    71149     16       0       OK

      CAS-beacon      0x29cbdf0    71150     17       0       OK

     PVAS timers      0x29cc480    71151     25       0       OK

  ipToAsciiProxy 0x7f71800149b0    71152     10       0       OK

      timerQueue 0x7f7180015170    71153     51       0       OK

    TCP-acceptor      0x29cd0d0    71154     50       0       OK

UDP-rx 0.0.0.0:0      0x29cd690    71155     50       0       OK

UDP-rx 164.54.16      0x29cde80    71156     50       0       OK

UDP-rx 164.54.16      0x29ce300    71157     50       0       OK

UDP-rx 224.0.0.1      0x29cea90    71158     50       0       OK

   Keithley2kDMM      0x2a587b0    71159     50       0       OK

       CAC-event 0x7f712001db20    71160     51       0       OK

      USBCTR_SNL      0x2a59e80    71161     50       0       OK

         CAC-UDP 0x7f71800268e0    71162     52       0       OK

    save_restore      0x2a5a320    71164     20       0       OK

      timerQueue 0x7f711c00fa60    71165     21       0       OK

         CAC-UDP 0x7f711c0204e0    71166     22       0       OK

    CAC-repeater 0x7f7180027a00    71167     10       0       OK

Keithley2kDMM_1 0x7f712002e650    71170     50       0       OK

       CAC-event 0x7f718006c160    71171     51       0       OK

    CAC-TCP-recv 0x7f711000a770    71172     49       0       OK

    CAC-TCP-send 0x7f711000ab40    71173     51       0       OK

    CAC-TCP-recv 0x7f7110016f60    71174     49       0       OK

    CAC-TCP-send 0x7f7110017360    71175     51       0       OK

    CAC-TCP-recv 0x7f7110022b60    71176     19       0       OK

    CAC-TCP-send 0x7f7110022f60    71177     21       0       OK

    CAC-TCP-recv 0x7f711002f380    71178     49       0       OK

    CAC-TCP-send 0x7f711002f780    71179     51       0       OK

    CAC-TCP-recv 0x7f7110033d00    71180     49       0       OK

    CAC-TCP-send 0x7f7110034100    71181     51       0       OK

      timerQueue 0x7f717400fae0    71182     44       0       OK

         CAC-UDP 0x7f71740206f0    71183     45       0       OK

    CAC-TCP-recv 0x7f71480085f0    71184     42       0       OK

    CAC-TCP-send 0x7f71480089f0    71185     44       0       OK

    CAC-TCP-recv 0x7f7148014fa0    71186     42       0       OK

    CAC-TCP-send 0x7f71480153a0    71187     44       0       OK

       CAS-event 0x7f7144001460    71188     19       0       OK

      CAS-client 0x7f7144001720    71189     20       0       OK

       CAS-event 0x7f7144001de0    71190     19       0       OK

      CAS-client 0x7f71440020a0    71191     20       0       OK

       CAS-event 0x7f7144002760    71192     19       0       OK

      CAS-client 0x7f7144002a20    71193     20       0       OK

       CAC-event 0x7f711c3421a0    71194     21       0       OK

       CAS-event 0x7f71440030e0    71195     35       0       OK

      CAS-client 0x7f71440033a0    71196     36       0       OK

       CAS-event 0x7f71440086d0    71197     19       0       OK

      CAS-client 0x7f7144008990    71198     20       0       OK

       CAS-event 0x7f7144009050    71199     35       0       OK

      CAS-client 0x7f7144009310    71200     36       0       OK

       CAS-event 0x7f71440099d0    71201     19       0       OK

      CAS-client 0x7f7144009c90    71202     20       0       OK

       CAS-event 0x7f714400ac80    71203     35       0       OK

      CAS-client 0x7f714400af40    71204     36       0       OK

       CAS-event 0x7f714400b620    71205     35       0       OK

      CAS-client 0x7f714400b8e0    71206     36       0       OK

       CAS-event 0x7f714400bfa0    71207     19       0       OK

      CAS-client 0x7f714400c260    71208     20       0       OK

 

The thread that was suspended is not in the threads shown with epicsThreadShowAll.

 

I tried running the IOC under gdb and then I don’t get the thread suspended error.

 

Any suggestions on how I can track down what thread is being suspended and why?

 

Thanks,

Mark

 


Replies:
Re: Suspended thread Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Re: EPICS Software Supply Chain Risk Management (SSCRM) Jonathan Jacky via Tech-talk
Next: Re: Suspended thread Andrew Johnson via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: mrfioc2/devlib2 PCI device resource file error Steve Kinder - STFC UKRI via Tech-talk
Next: Re: Suspended thread Andrew Johnson via Tech-talk
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  <20232024 
ANJ, 12 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·