Forgot to CC tech-talk once again.
Sent from my iPhone
Begin forwarded message:
From: <[email protected]<mailto:[email protected]>>
Date: July 10, 2019 at 10:20:48 AM CDT
To: Abdalla Ahmad <[email protected]<mailto:[email protected]>>
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 <[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Johnson, Andrew N. via Tech-talk
Sent: Monday, July 08, 2019 7:50 PM
To: [email protected]<mailto:[email protected]>
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
<2019>
2020
2021
2022
2023
2024
- 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
<2019>
2020
2021
2022
2023
2024
|