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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Fwd: Problems with stream device 2.8.8
From: Mark Rivers via Tech-talk <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 10 Jul 2019 15:34:18 +0000
Forgot to CC tech-talk once again.

Sent from my iPhone

Begin forwarded message:

From: <rivers@cars.uchicago.edu<mailto:rivers@cars.uchicago.edu>>
Date: July 10, 2019 at 10:20:48 AM CDT
To: Abdalla Ahmad <abdalla.ahmad@sesame.org.jo<mailto:abdalla.ahmad@sesame.org.jo>>
Subject: Re: Problems with stream device 2.8.8

Was this happening when you had a drvAsynIPPort that could not connect? If so it is a known problem. I tested this yesterday and in fact the IOC exit command did work, it just took 7 minutes!

The problem is that the drvAsynIPPort exit handler tries to lock the asyn port but the continuing connection attempts each takes over 2 minutes to time out in Linux, and the port is locked during that time.

Mark


Sent from my iPhone

On Jul 10, 2019, at 8:35 AM, Abdalla Ahmad via Tech-talk <tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>> wrote:

I faced the same issue with an IOC and I got this:

atExit save_restoreShutdown(nil)
atExit exitDatabase((nil))
atExit cacExitHandler((nil))
atExit errlogExitHandler((nil))
atExit cleanup(0x2412530)
atExit cleanup(0x2410870)

After that, the IOC shell is frozen, no output. This renders IOC stats PV ":SysReset" unusable at all.

Abdalla.

From: tech-talk-bounces@aps.anl.gov<mailto:tech-talk-bounces@aps.anl.gov> <tech-talk-bounces@aps.anl.gov<mailto:tech-talk-bounces@aps.anl.gov>> On Behalf Of Johnson, Andrew N. via Tech-talk
Sent: Monday, July 08, 2019 7:50 PM
To: tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>
Subject: Re: Problems with stream device 2.8.8

Hi Abdalla,
On 7/7/19 5:46 AM, Abdalla Ahmad via Tech-talk wrote:
Exit command renders the IOC shell frozen, i.e. the IOC does not exit.

We faced #2 before, but I want to ask is it asyn or stream device problem? Because I want to try different versions but I'm not sure whether asyn or stream to change.
We can't answer that, but you might get some more hints by running the command
    var atExitDebug 1
on the IOC shell before exiting. It causes a message to be printed before each of the registered epicsAtExit() routines gets run, so you should be able to see which routine is hanging.

- Andrew


--

Complexity comes for free, Simplicity you have to work for.

References:
Problems with stream device 2.8.8 Abdalla Ahmad via Tech-talk
Re: Problems with stream device 2.8.8 Johnson, Andrew N. via Tech-talk
RE: Problems with stream device 2.8.8 Abdalla Ahmad via Tech-talk

Navigate by Date:
Prev: Re: EPICS Docker Container Florian Feldbauer via Tech-talk
Next: AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle') David Vine 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  <20192020 
Navigate by Thread:
Prev: RE: Problems with stream device 2.8.8 Abdalla Ahmad via Tech-talk
Next: EPICS Docker Container Florian Feldbauer 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  <20192020 
ANJ, 10 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·