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 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: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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