X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 	tests=AWL,BAYES_00,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Backus <eric_backus@agilent.com>
Subject:  Re: [ANNOUNCEMENT] [1.7] Updated: =?utf-8?b?e25jdXJzZXMvbGlibmN1cnNlczkvbGlibmN1cnNlcy1kZXZlbC9uY3Vyc2VzLWRlbW99LTUuNy0xNQ==?=
Date: Thu, 29 Oct 2009 00:21:15 +0000 (UTC)
Lines: 38
Message-ID:  <loom.20091029T010845-20@post.gmane.org>
References:  <526.289913296019$1256599507@news.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Charles Wilson <cygwin <at> cwilson.fastmail.fm> writes:

> 
> ncurses is a package that provides character and terminal handling
> libraries, including 'gui-like' panels and menus.  It is often used
> instead of termcap.
> 
> This is a packaging bug fix, and an update to latest upstream.
> 
> [[ compiled using gcc-4.3.4-1 ]]
> 
> CHANGES since 5.7-14
> ========================
> o Update to 20091024 patchset
> o Rename ncurses9-config file to ncurses5-config
> o Moved ncurses*-config file to -devel package
> o Compiled using gcc-4.3.4-1


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?

-- 
Eric Backus



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

