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: Angus Gratton <[email protected]>
To: Mark Rivers <[email protected]>
Cc: tech-talk <[email protected]>
Date: Wed, 04 May 2011 13:26:46 +1000
Hi Mark,

Thanks for the comments.

On Tue, 2011-05-03 at 21:59 -0500, Mark Rivers wrote: 
>     /* There is a conflict with readline use of signals, don't use readline signal handlers */
> #ifdef linux
>     rl_catch_signals = 0;
> #endif
>  
> That can be done at run-time, you don't need to rebuild readline.

Ah, that's a good alternative solution. We're rebuilding our own version
of RTEMS anyhow, so in my case rebuilding was not a big change.

SIGALRM was my first suspicion as well, because it was the only one that
seemed like it was likely to be called in the EPICS/RTEMS environment.
However, when I commented out all the SIGALRM handler changes in
readline's signals.c (leaving the other signal types), the problem still
occurred.

 
> When I originally had this problem there was also a bug in EPICS base that was causing it to call the timer functions signal handlers incorrectly.  That code has since been removed from EPICS.  I don't think I have revisited the readline problem since then, so perhaps it is no longer an issue?

Do you know if this bug would have been fixed after 3.14.11, or would it
have been at some earlier time?

- Angus


Replies:
Re: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Ralph Lange
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
RE: EPICS on RTEMS crashing on CA access, due to GNU readline?!? Mark Rivers

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