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

Subject: Re: EPICS on RTEMS crashing on CA access, due to GNU readline?!?
From: Angus Gratton <angus.gratton@anu.edu.au>
To: tech-talk <tech-talk@aps.anl.gov>
Date: Wed, 04 May 2011 12:41:11 +1000
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



Replies:
RE: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Mark Rivers
RE: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Jeff Hill
References:
EPICS on RTEMS crashing on CA access, due to GNU readline?!? Angus Gratton

Navigate by Date:
Prev: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Angus Gratton
Next: RE: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Mark Rivers
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 
Navigate by Thread:
Prev: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Angus Gratton
Next: RE: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Mark Rivers
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 
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 ·