delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/29/13:09:10

X-Recipient: archive-cygwin AT delorie DOT 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 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
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 AT cygwin DOT com
References: <62b36cdc7f851bc121f62721ede7b0752b25 AT guerrillamail DOT com>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT 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>
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

- Raw text -


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