From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115497 invoked by alias); 18 Dec 2016 19:47:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 115470 invoked by uid 89); 18 Dec 2016 19:47:12 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 18 Dec 2016 19:47:02 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id IhQAcciDRIwqSIhQBcsY98; Sun, 18 Dec 2016 12:47:00 -0700 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> <641869745.20161214140428@yandex.ru> <919263915.20161218214043@yandex.ru> To: cygwin@cygwin.com Reply-To: Brian.Inglis@SystematicSw.ab.ca From: Brian Inglis Message-ID: Date: Sun, 18 Dec 2016 19:47:00 -0000 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 X-SW-Source: 2016-12/txt/msg00190.txt.bz2 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