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

Subject: RE: CA gateway dies without error message
From: "Jeff Hill" <[email protected]>
To: <[email protected]>
Date: Thu, 19 Aug 2010 11:41:33 -0600
Hi Dirk,

I did put some considerable effort into improving the quality (in terms of
efficiency, stability, performance, and functionality) of the PCAS and the 
gateway around this time last year. And I believe that the result was a
significant step forward. Which version of the gateway are you running? 

Currently, I have no clues on your issue to start with so it's hard to move 
forward. So I will 2nd Andrew's suggestion of attaching gdb and getting a
stack 
trace of the failed thread. One can attach gdb to a running process by
typing
"gdb <full path to image> <process id>". If gdb can't be attached to the 
running process then another alternative is to attach gdb to the core
file using "gdb  <full path to image> <full path to core file>".
In gdb type first "bt" to show the 
thread that crashed and then follow that with "thread apply all bt" so that 
I know what all threads are up to when the crash occurred. Lots of output
but 
exactly what is needed to get the matter resolved. This works better if the 
code is compiled for debugging, but I might be able to resolve the issue
with 
only the stack traces from the optimized version (which runs faster and so
can have a different set of failure scenarios) - so I am very willing to
look at traces from an optimized version first if it will save some effort 
on your end. 

Thanks in advance for your help,

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


> -----Original Message-----
> From: [email protected] [mailto:tech-talk-
> [email protected]] On Behalf Of Dirk Zimoch
> Sent: Thursday, August 19, 2010 7:52 AM
> To: EPICS
> Subject: CA gateway dies without error message
> 
> Hi all,
> 
> Since upgrading the EPICS base version of the caGateways to 3.14.11,
> the
> gateway dies from time to time for no obvious reason. It does not write
> any log message when it dies (as it would do in a clean shutdown, in
> case of a signal or when any strange CA event happens.) It also does
> not
> write anything to stderr. I cannot remember that I have seen this type
> of fault with 3.13.8.
> 
> Any idea?
> 
> Dirk



Navigate by Date:
Prev: RE: CA gateway dies without error message Jeff Hill
Next: Re: Asyn and I/O intr scanning Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CA gateway dies without error message Jeff Hill
Next: agenda for the October meeting is updated (you may be scheduled to give a ttalk ; ) ) Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·