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  <20112012  2013  2014  2015  2016  2017  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: ioc exits with error on EPICS 3.14.12 win32-x86 host
From: "Jeff Hill" <[email protected]>
To: "'Wang Xiaoqiang'" <[email protected]>, <[email protected]>
Date: Tue, 8 Feb 2011 09:09:42 -0700
Hello Xiaoqiang,

These messages occur because the IOC's windows OS process is exiting when
some of the ca server threads remain running. When the winsock facility is
abruptly terminated these threads receive error status returns from their
windows socket calls, and they therefore print diagnostic messages. You can
interpret these messages to be benign if they occur only when the windows
IOC is exiting. The differences between R3.14.12 and earlier releases might
have to do with subtle changes in the execution order of the various threads
as the windows process is abruptly removed from the system.

Nevertheless, we recognize that there is a root problem; currently the EPICS
IOC lacks an orderly shutdown. The new ca server definitely has an orderly
shutdown and we will arrange for this shutdown to be called in the future
when the IOC exits.

Sorry about the confusion,

Jeff
______________________________________________________
Jeffrey O. Hill           Email        [email protected]
LANL MS H820              Voice        505 665 1831
Los Alamos NM 87545 USA   FAX          505 665 5107

Message content: TSPA

With sufficient thrust, pigs fly just fine. However, this is
not necessarily a good idea. It is hard to be sure where they
are going to land, and it could be dangerous sitting under them
as they fly overhead. -- RFC 1925


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Wang Xiaoqiang
> Sent: Tuesday, February 08, 2011 7:15 AM
> To: [email protected]
> Subject: ioc exits with error on EPICS 3.14.12 win32-x86 host
> 
> 
> 
> Hi,
> 
> I have a unmodified EPICS 3.14.12 built with VS2008. I load a simple
> database with softIOC:
>   record (ao, "ao")
>   {
>   }
> It works fine and only upon exit it gives the error:
>   CAS: Client accept error was "WINSOCK Error 10004"
>   CA cast server: Unable to fetch N characters pending
>   CAS: UDP recv error (errno=WINSOCK Error 10093)
>   ..\online_notify.c: CA beacon routing (connect to
> "129.129.144.83:5065") error was "WINSOCK Error 10093"
>   CA cast server: Unable to fetch N characters pending
> 
> The problem is also there when built with MinGW GCC. While it is OK with
> EPICS 3.14.11 and earlier.
> 
> Best
> Xiaoqiang



References:
ioc exits with error on EPICS 3.14.12 win32-x86 host Wang Xiaoqiang

Navigate by Date:
Prev: ioc exits with error on EPICS 3.14.12 win32-x86 host Wang Xiaoqiang
Next: CA Lab with user events now! Carsten Winkler (HZB)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ioc exits with error on EPICS 3.14.12 win32-x86 host Wang Xiaoqiang
Next: CA Lab with user events now! Carsten Winkler (HZB)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·