php 7 upgrade -- segmentation fault

Yaakov Selkowitz
Wed Nov 30 01:08:00 GMT 2016

On 2016-11-29 12:22, wrote:
> I can revert to php5 (insecure) and the problem is gone.  I just performed
> a full rebase which did nothing for this problem. Are you saying that on a
> Windows 7 64 bit Home system with 32 bit cygwin you are not having any issues?

I was testing on Windows 10 Pro.

> I found a solution that is not really satisfying.  If I go into Windows
> System Advanced Settings - Data Execution Prevention tab, and I explicitly
> add php.exe to the list of DEP exceptions, I no longer have errors with preg_match().

Ah, that explains it.  PHP 7 uses pcre's JIT functionality where 5.6 did 
not.  I guess you'd have the same problem with anything using a JIT. 
You will have to handle such issues with DEP on your end.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list