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

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Eric Backus <eric_backus AT agilent DOT 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 AT news DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

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

- Raw text -


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