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=CEEwmbC/GDI3aBpM c+wR9pnsi4zM6m2GzatEeLMlvdPOAe8WzmRgn49B3rbRyjfpFUsT+3bcaSsQNZdp 0+zDl185mkokzDh7lbxJpmC2eZf7B8+RohSutiNlIWJq8QkY9SWr+2P1PWQ3PShm uDt2FwYAHhmBmF8dyZcBipEJvwQ= 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=xRFsOpWFNVClvHLdNwZaH7 JIEjo=; b=OwEvrATMTcKDNNYGF6h7H1ra0jPDC/PWs2JRXtNBbAC5W8M5/I93YR TR80YIhdDP14fAG2C14a9wxUXB8dKBACuGYoXUrdnxv8GGrVuK9Eb2PPiPCSxqFv EJD6Gm4WL9jMCFE+Mar7NxEhhWM0TGbwpt74zJb7X7IFcO/ArG6YM= 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=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*i:sk:5118c6c, H*f:sk:5118c6c, H*Ad:U*yselkowitz, Home X-HELO: mx1.redhat.com Subject: Re: php 7 upgrade -- segmentation fault To: cygwin AT cygwin DOT com References: <5118c6cbe09f3ed17a791417295bd3dafb91 AT guerrillamail DOT com> From: Yaakov Selkowitz Message-ID: Date: Tue, 29 Nov 2016 12:56:34 -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: <5118c6cbe09f3ed17a791417295bd3dafb91@guerrillamail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2016-11-29 12:22, 59yfvs+f4bkzvgzw AT guerrillamail DOT com wrote: > I can revert to php5 (insecure) and the problem is gone. I just performed > a full rebase which did nothing for this problem. Are you saying that on a > Windows 7 64 bit Home system with 32 bit cygwin you are not having any issues? I was testing on Windows 10 Pro. > I found a solution that is not really satisfying. If I go into Windows > System Advanced Settings - Data Execution Prevention tab, and I explicitly > add php.exe to the list of DEP exceptions, I no longer have errors with preg_match(). Ah, that explains it. PHP 7 uses pcre's JIT functionality where 5.6 did not. I guess you'd have the same problem with anything using a JIT. You will have to handle such issues with DEP on your end. -- 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