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: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 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_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 DOT 20161213210612 AT yandex DOT ru> <641869745 DOT 20161214140428 AT yandex DOT ru> <919263915 DOT 20161218214043 AT yandex DOT ru> To: cygwin AT cygwin DOT com Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca From: Brian Inglis Message-ID: 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