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: cygin-x86-debug behavior
From: Andrew Johnson <[email protected]>
To: Mark Rivers <[email protected]>
Cc: [email protected]
Date: Fri, 29 Oct 2010 17:18:47 -0500
Hi Mark,

On Friday 29 October 2010 17:03:03 Mark Rivers wrote:
>
> I am trying to run an application built for the cygwin-x86-debug
> architecture, and I am seeing a very strange behaviour.  The application
> run fine, until control returns to the iocsh prompt.  I have an
> epicsThreadSleep at the end of my st.cmd file, so the application runs for
> a while before I get the prompt. As soon as I get the prompt it appears
> that the EPICS threads are hung waiting for console input!  If I keep my
> finger on the Enter key on the keyboard, so I keep sending CR characters,
> the application runs fine.  As soon as I release my finger from the key the
> application freezes!
>
> If I had to guess what the problem was, I would suspect a problem with
> readline.  Has anyone else run IOC applications under cygwin-x86-debug, and
> if so have you seen this problem?

Weird, never seen that myself.  Have you tried rebuilding Base with readline 
turned off?  You then won't be able to do history recall, but it might stop 
the funny behaviour.

- Andrew
-- 
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it.  If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence.  -- Bertrand Russell


Replies:
RE: cygin-x86-debug behavior Mark Rivers
References:
cygin-x86-debug behavior Mark Rivers

Navigate by Date:
Prev: cygin-x86-debug behavior Mark Rivers
Next: RE: cygin-x86-debug behavior Mark Rivers
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: cygin-x86-debug behavior Mark Rivers
Next: RE: cygin-x86-debug behavior Mark Rivers
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, 29 Oct 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·