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:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=pdlRKWmpUhuQgaTK
	5dBbZSHhaluVKJ5jfT4y4zr1Md4NB4xuY8a0xaXE8EHCvO+ir+iywT1QUIq9H9Aw
	lxKXt9yQfFPv9iCvC1CxB9lgfaIqiTSSv0fgapuWs2PM6HgW/g2JzA40n+nmdu6A
	JvEjTH7s4Fre0Io76k16oNsDD7c=
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:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=pefCjihKC07hc4EuWKvIjs
	Xtdyo=; b=KQQ+x7ul/EELnZWv3/Z+1TVLySXV78b50DLHKqiHkQdckWbMbgMRMr
	LQttZRTozrNvSw0rb3Q157Qzt5OrgPrCmse2gsJrEHPNHFa7SLijj8N/lk3zCcOy
	js/dWa7zm8yTwhP+4OiFzUbQ/98VhAIzDz9uk9MTebTAF8Vhao7ng=
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_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca, H*R:D*ca
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=cNuQihWN c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=MGZqiZppAAAA:8 a=w_pzkKWiAAAA:8 a=ChY5t8eu8AmQZl6vo8oA:9 a=QEXdDO2ut3YA:10 a=NM6jHqbytjcA:10 a=pwHZ1pFWIgZsABdRCVMR:22 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: PHP 7.0.14 crashing with minimal set of extensions
References: <1762469321.20161213210612@yandex.ru> <a0b430f2-bcd3-2c78-f402-9d0812181453@cygwin.com> <641869745.20161214140428@yandex.ru> <c19592da-bb4f-9b5d-7be0-0ff9852bd205@SystematicSw.ab.ca> <919263915.20161218214043@yandex.ru>
To: cygwin@cygwin.com
Reply-To: Brian.Inglis@SystematicSw.ab.ca
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <c74f035f-09fe-3a7e-302a-eed7fdb0d922@SystematicSw.ab.ca>
Date: Sun, 18 Dec 2016 12:46:58 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <919263915.20161218214043@yandex.ru>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfOJG+CyDyOJXMRFamyOuw22a0rXUO5+pJbxquvpotEEWkqLslO0FLMe7/L7Ap0JU/bLqANbYNISkzcf5jQjrWgkIIIq2C3kzCmQBV4V5xDPPpySkdimt UZI28hMnqCWil3obMBWsTukeUgurE/wto/mTj6o5thHsh8gfW7f8jhZCrOWfPne7Y53x8S6Ctxg5dg==
X-IsSubscribed: yes

On 2016-12-18 11:40, Andrey Repin wrote:
> Greetings, Brian Inglis!
>> On 2016-12-14 04:04, Andrey Repin wrote:
>>> Greetings, Yaakov Selkowitz!
>>>> On 2016-12-13 12:06, Andrey Repin wrote:
>>>>> Here's strace and stackdump from latest crash with Cygwin 
>>>>> 2.6.1-2 project.rootdir.org/.offload/crash-php-7.14.tar.xz
>>>> Are you 100% sure that your code is compatible with PHP 7?
>>>> The only segfaults I have seen so far is with old code.
>>> It's Composer. It runs with native PHP7 of the same version just
>>> fine.
>> Possibly JIT/DEP conflict see 
>> https://cygwin.com/ml/cygwin/2016-11/msg00336.html
> Gah… confirmed. Setting pcre.jit = Off let it run.

Does the native app use JIT and have no problems with Windows DEP?
Does PHP need some Cygwin specific patches to re-mmap JIT code as rx, 
or Cygwin patches so Windows sees mmap rx regions as executable code, 
or otherwise "blesses" JIT code so it is not crashed by DEP?
There should at least be some way to indicate there is a DEP issue 
rather than just crashing with a segv!

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

