This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: does readline need (min)tty?

On Wed, Jun 01, 2011 at 04:10:35PM +0000, Dima Pasechnik wrote:
>Dear all,
>a quick question:
>Must a cygwin application that uses readline in a nontrivial way run
>in an environment with terminal capabilities missing in Windows 7

No, readline does not need mintty.  bash uses readline and it is
(currently) the default shell which is started when you click on cygwin
desktop link.

>We have such an an application that (after upgrading to the current
>1.7.9-1 version of Cygwin) works OK if started from a mintty window,
>but crashes, with symptoms like
> 24 [main] gapw95 428 exception::handle: Exception: STATUS_ACCESS_VIOLATION
>13628 [main] gapw95 428 open_stackdumpfile: Dumping stack trace to
> at startup when started from Windows command prompt.
>It used to work before the Cygwin 1.7 era.

You haven't provided any details so either you're going to have to debug
this further or you will need to provide more details about what is
going on with gapw95.

If you have the sources (and you should since gapw95 is an open source
program) you could run the program under gdb to see where it dies.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]