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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=MbYEdVgBUeR6Cu0P
	j9B2iIuASDPyAQoh5PXBBjadbWI62j4CiVmPuLWylGh2MW90gGJ79cWAm61ZLh2U
	KeiC+xCmju9EQRm5Ig2SpPA6sXgssxx1kykjYkWwFTOAeZZ3GunIWYxHNhtpjC1x
	heON6p1D9Aw1DLUwlq8Ck9nMJvg=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=tA686/Puq2OlZN8wz49KTd
	ykbd4=; b=ZGUOkxHIiV3PpOtth06z/4cxXzwdnRHt6WC9ZTyCx48jlJCxxFMewn
	O5GKWPEj+olK+qgjfjgALqq72HLWTYJu4O2/vmrfeSh7ekF5CGBrW6GzBiSmb/pq
	5pjOktiQWxhavG2E4ZicA9CoxOiG40HAEiMMAIRt6fjxstvkv2j0c=
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.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=59yfvs, H*Ad:U*yselkowitz, H*f:sk:62b36cd, H*i:sk:62b36cd
X-HELO: mx1.redhat.com
Subject: Re: php 7 upgrade -- segmentation fault
To: cygwin@cygwin.com
References: <62b36cdc7f851bc121f62721ede7b0752b25@guerrillamail.com>
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
Message-ID: <60f9f0df-0018-df38-0683-703f38babc83@cygwin.com>
Date: Tue, 29 Nov 2016 12:08:43 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <62b36cdc7f851bc121f62721ede7b0752b25@guerrillamail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2016-11-29 11:50, 59yfvs+f4bkzvgzw at guerrillamail.com wrote:
> I've isolated the issue to a regular expression match!
>
> This line:
> $command = ( preg_match('#^(?:\:.*? )?(.*?) #', $buffer, $matches) ) ? $matches[1] : '';
>
> causes the segfaulting.  BUT WHY? Again this worked fine in php5.x . There is
> something broken with PCRE in this build.

I don't think so.  I tried the preg_match() examples in the manual and 
they worked fine.  Are you sure there isn't something else in your 
script that needs to updated for 7.0?  Otherwise, please provide an STC 
which replicates this.

-- 
Yaakov

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

