Greetings, Brian Inglis! > 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? pcre.jit => 1 => 1 Seems like "yes". > 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? That, I do not know. > There should at least be some way to indicate there is a DEP issue > rather than just crashing with a segv! I do not enforce DEP here. But I just found references that this can be a stack overflow issue. -- With best regards, Andrey Repin Monday, December 19, 2016 23:12:14 Sorry for my terrible english... -- 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