delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/28/21:15:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AE8FAA1.2020306@cwilson.fastmail.fm>
Date: Wed, 28 Oct 2009 22:14:57 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses9/libncurses-devel/ncurses-demo}-5.7-15
References: <526.289913296019$1256599507 AT news DOT gmane DOT org> <loom DOT 20091029T010845-20 AT post DOT gmane DOT org>
In-Reply-To: <loom.20091029T010845-20@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Eric Backus wrote:
> I'm getting a segmentation fault when I try to use tput.  The program runs 
> successfully if you just ask it for a version number, or if asked for a non-
> existent capability, but gets a seg fault when asked about a real capability.
> 
> $ tput sgr0
> Segmentation fault (core dumped)                <---- this is wrong
> $ tput -V
> ncurses 5.7.20091024                            <---- OK, latest version
> $ tput garbage
> tput: unknown terminfo capability 'garbage'     <---- OK, this is correct
> $ type tput
> tput is hashed (/bin/tput)
> 
> The seg fault didn't happen with the previous version.  Is there anything else 
> I should try to debug this?  Would you like cygcheck output?

Short of compiling a debug version yourself and tracking down why it
crashes, no -- cygcheck probably won't help, because I can reproduce the
error here. It may be a while until I can fix this, tho; for now the
workaround is to revert to -14.

Thanks (sigh) for the report.

--
Chuck



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