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: EPICS on RTEMS crashing on CA access, due to GNU readline?!?
From: "Jeff Hill" <[email protected]>
To: "'Angus Gratton'" <[email protected]>, <[email protected]>
Date: Wed, 4 May 2011 15:20:47 -0600
Hi Angus,

Maybe this isn't relevant, but I seem to recall that recently the way that the SIGALARM was ignored by the channel access client library was changed. As I recall, an ignore handler that was being installed for certain threads (maybe it wasnt per-thread but per -process on OS that had problems) was removed in favor of adding code restarting the system call, if appropriate, when interrupted.

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 Angus Gratton
> Sent: Tuesday, May 03, 2011 8:41 PM
> To: tech-talk
> Subject: Re: EPICS on RTEMS crashing on CA access, due to GNU readline?!?
> 
> On Tue, 2011-05-03 at 16:07 +1000, Angus Gratton wrote:
> > I have a _very_ unusual bug that I'm currently working through.
> >
> > *snip*
> 
> Against all intuition, it looks like my bug has something to do with
> POSIX signal handlers for RTEMS.
> 
> Readline wraps several POSIX signals by default while waiting on
> standard input, something in that process trips the bug. Disabling
> HANDLE_SIGNALS in rlconf.h before building readline fixes the problem.
> 
> I've done some more extensive debugging, enabling and disabling the
> different signal handlers, but I can't seem to nail it down to any
> particular signal. It feels to me like an internal RTEMS bug at this
> point, although it's hard to tell.
> 
> I can't afford much more time on it, so I'm just building readline
> without HANDLE_SIGNALS for now.
> 
> - Angus




References:
EPICS on RTEMS crashing on CA access, due to GNU readline?!? Angus Gratton
Re: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Angus Gratton

Navigate by Date:
Prev: Re: EPICS and Octave Kasemir, Kay
Next: RE: Does EPICS Base support multi-thread on vxWorks 6.3? lorna . zhang
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: Re: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Ralph Lange
Next: Generating loadable modules for Cexp Ralph Lange
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 ·