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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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