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:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=R3C
	FxGrKAWfguUq90qJkspWxi/p6kkTs8syhFhBh4mwvfvGDwY8sSs6LTcoGZf35pfV
	uQjIhbUYfDsndfbJYQtoCDrf9nGYflRvF8CTJ5RBYVw2FDnouxyJzyT8a5kn07J+
	GsZgyKWmqd+4R37yez/fR/ABnbWbIB2ASFxynQAM=
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:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=Vy9v2udnI
	syE97xbHnRyeOq6INI=; b=b+nbulw+2ldNhzYdNyCirbJlIW95cRrbvfgZCenBa
	QTeeaMt081eqBpN1IGeew4EwTGg8fqJ5NIy4CRVg6m5Rcqwg5TlQPkqJPLOwMrVN
	OKMX/W55hK1No3cB1576VXgsSv2RofzJtdcB6hO0ZhMnKKqIei71wksRBtFJJlN8
	vQ=
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=SeaMonkey, seamonkey, adopted, zend
X-HELO: mail-wr0-f170.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:to:from:subject:message-id:date:user-agent         :mime-version:content-transfer-encoding;        bh=XUKCHa4IP2Tgc3a/RrKbjhG+t0YYSM5aXFWvsyKBaG0=;        b=PTUf+oxEK4QJtlHVF6oL5oAkFQWsuslxKWkhlBn78adagHRmHrOs6lAsgJdvHFkUs7         d6PBOR0rYXOa/ZV0Julg4bFe3wVsefpgRDEn7+97YTJBa2/MpCJXjmUpB65HGuIZoBUX         jwqZVKZfqbjbBjqsed/PQ+ubqZhUekrqBijLCcx+jhodZBod4QhlJJauvlel1fFiJDOU         6WOp1JTX0g6/0okxt+60+knOqxuAhh1EptTjPMnrgbBxQy8F138+l0DJgor2jZ19Ndxf         1XG/kIpPd2wkE5JaYxoXoEG29MZ+EnZ3GffHIYQsfBF2kdmUaglpRhvk7+sqyyVEyiLh         /3Rw==
X-Gm-Message-State: AKGB3mLA8enD9nApXZeBu8asqHZeBG+UBW2hOQGGH4OxZrqYp1TyMY2I	BN0TqQOhaFGFuFIkOH/S7Lp+kg==
X-Google-Smtp-Source: ACJfBovRYPhgyZIQv8GIRbU5O5kCZuC5MtA62Rews9lHfPG6bRi5K31r1ICtjwUzSHFczUBufFiGfg==
X-Received: by 10.223.192.130 with SMTP id d2mr4192766wrf.50.1515339543835;        Sun, 07 Jan 2018 07:39:03 -0800 (PST)
To: cygwin@cygwin.com
From: "Ing. Viliam Kubis" <viliam.kubis@gmail.com>
Subject: PHP 7.1.12 still crashes on cygwin when parsing files that are multiple of 4096 bytes in size
Message-ID: <b483848d-91eb-1dd3-2d57-457496a6afa7@gmail.com>
Date: Sun, 7 Jan 2018 16:39:00 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Hello,

I have been using cygwin as my local PHP development suite, and for some
time now, PHP has been crashing on files that are a multiple of 4k in
size. Just run this in your terminal to observe the crash:

kbs1@DESKTOP-QR0EO0L /cygdrive/c/Users/kbs1/Desktop
$ if [ -f test.php ]; then rm test.php; fi; for i in `seq 4096`; do echo
-n ' ' >> test.php; done; php -v; php test.php; rm test.php
PHP 7.1.12 (cli) (built: Dec  7 2017 02:53:41) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.12, Copyright (c) 1999-2017, by Zend Technologies
Segmentation fault (core dumped)

php.exe.stackdump will be left behind.

For some time, a proper patch is posted here:
https://cygwin.com/ml/cygwin/2017-05/msg00350.html

But I really don't want to recompile PHP every time I run setup.exe and
PHP updates, when will the patch be adopted in the cygport it self
please? Or are we waiting for something else, is the patch improper or
similar?

Thank you,
Ing. Viliam Kubis

--
Sent using SeaMonkey mail

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

