delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/01/14:27:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Wed, 1 Jun 2011 14:26:44 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: does readline need (min)tty?
Message-ID: <20110601182644.GA30732@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BANLkTinmTW55Nxnx5uWE8-H7n4KjUqFu1A AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <BANLkTinmTW55Nxnx5uWE8-H7n4KjUqFu1A@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019