From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22722 invoked by alias); 25 Aug 2015 09:40:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22714 invoked by uid 89); 25 Aug 2015 09:40:47 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 25 Aug 2015 09:40:45 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZUAiY-0002d5-Py for cygwin@cygwin.com; Tue, 25 Aug 2015 11:40:35 +0200 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Aug 2015 11:40:34 +0200 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Aug 2015 11:40:34 +0200 To: cygwin@cygwin.com From: Achim Gratz 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:00 -0000 Message-ID: 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 X-SW-Source: 2015-08/txt/msg00423.txt.bz2 Luke Goodsell 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