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  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: IOC Crash with No Exception Generated
From: Michael Davidsaver <[email protected]>
To: Ricardo Cardenes <[email protected]>
Cc: Talk EPICS Tech <[email protected]>
Date: Wed, 8 Aug 2018 16:07:02 -0700
On 08/08/2018 03:16 AM, Ricardo Cardenes wrote:
>     When things are (apparently) working, what does epicsThreadShowAll() show?
> 
> 
> I can't really tell. At that point I can't interact with the iocsh console without making the system crash (see point #3), and CA is lost.

In this case, you could put epicsThreadShowAll() at the end of your startup script.

On 08/08/2018 03:16 AM, Ricardo Cardenes wrote:
>     I can't explain this.  The "main" thread should be running with high priority (91).
>     It could hang if an iocsh function blocks locking a mutex held by a hung thread.
>     But simply pressing "return" shouldn't do this.
> 
> 
> I can't either, the high priority of the "_main_" thread flies in the face of the "something is hogging the CPU for everything low-priority". iocsh would need to stall itself in the same way for everything else to die, and I'm not sure what could cause this. I've had a look at the code that reads commands from the prompt and it's relatively straightforward.

I'm not sure if it is relevant, but which readline variant are you using?

> $ grep COMMANDLINE_LIBRARY configure/os/CONFIG_SITE.Common.RTEMS
> COMMANDLINE_LIBRARY = EPICS

It occurs to me that, while at NSLS2, I encountered a bad interaction between libtecla and RTEMS 4.10
which sounds similar.

Replies:
Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
References:
IOC Crash with No Exception Generated Matt Rippa via Tech-talk
Re: IOC Crash with No Exception Generated Andrew Johnson
Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Re: IOC Crash with No Exception Generated Michael Davidsaver
Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Re: IOC Crash with No Exception Generated Michael Davidsaver
Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk

Navigate by Date:
Prev: Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Next: Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Next: Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Aug 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·