public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* does readline need (min)tty?
@ 2011-06-01 16:10 Dima Pasechnik
  2011-06-01 18:27 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Dima Pasechnik @ 2011-06-01 16:10 UTC (permalink / raw)
  To: cygwin

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
console?

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
gapw95.exe.stackdump

 at startup when started from Windows command prompt.
It used to work before the Cygwin 1.7 era.

Thanks,
Dmitrii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: does readline need (min)tty?
  2011-06-01 16:10 does readline need (min)tty? Dima Pasechnik
@ 2011-06-01 18:27 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2011-06-01 18:27 UTC (permalink / raw)
  To: cygwin

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
>console?

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
>gapw95.exe.stackdump
>
> 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.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-01 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01 16:10 does readline need (min)tty? Dima Pasechnik
2011-06-01 18:27 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).