This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PHP 7.0.14 crashing with minimal set of extensions

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
>>>>> 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 
>> 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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]