X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=NfzmEmzPRzqjOISELxfsLUzahXfOOuGhcYtiE2Z2LImiY0B+RAvAB
	dWnYqxXA7KMrZawnpzvGw8Z6TxjeUzSOEBv1TXaHtyJpM3rtYDmNWGd1n1n57c9H
	5yAFzpHZk33Y4PuJ2wBJQb0s95OaynAVYK72M/eSDCboAljD/PP5cM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=2PqQlLhiAbHoT6P9k+IV/FsZZbk=; b=yugecsc9gZ3pmyyVgXBWdzVZ50XA
	9+HiTQejJXGezNyFmhXI88qhdmouRm4/EyNEH3wgaDF9Lc9iNYRLbzlOwRj/YVvC
	ZHY48FPVUlB2qS8omCifW2NZsNsXTCmlr1CBMaSnOmZL1TNOMq59S45X5EvCzMbh
	OBG6+1dYCJL8VfQ=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_40,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: Re: Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 =?utf-8?b?eDg2XzY0KQ==?=
Date: Tue, 25 Aug 2015 09:40:07 +0000 (UTC)
Lines: 20
Message-ID: <loom.20150825T113314-983@post.gmane.org>
References: <59C49FE16E416F46873F86D530DA80520BD519@ExchangeServer.internal.ogtip.com>
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

Luke Goodsell <Luke.Goodsell <at> ogt.com> writes:
> Please can you help me to diagnose this issue?

The stacktrace is useless, but if you run this under strace you'll also see
a message that doesn't make it to the output otherwise:

syntax error at -e line 1, near "= ;"
Unterminated <> operator at -e line 1.

The reason for the later segfault might already be here.

> Attempting Perl Term::ReadKey from an empty string under Cygwin causes
perl to segmentation fault. The
> same command on Debian, or with a non-empty string, works fine.

Please report this upstream.


Regards,
Achim.


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

