public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Re: php 7 upgrade -- segmentation fault
@ 2016-11-29 20:14 59yfvs+f4bkzvgzw
  2016-11-30  1:08 ` Yaakov Selkowitz
  0 siblings, 1 reply; 2+ messages in thread
From: 59yfvs+f4bkzvgzw @ 2016-11-29 20:14 UTC (permalink / raw)
  To: cygwin

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 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().

However, and I will point this out again for the 3rd time, I did not have to create a DEP exception for cygwin's php.exe when it was php5.x ...





----
Sent using Guerrillamail.com
Block or report abuse: https://www.guerrillamail.com/abuse/?a=QlhzEgQOY7cMjxm9%2FjAcfRk%3D



--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: php 7 upgrade -- segmentation fault
  2016-11-29 20:14 Re: php 7 upgrade -- segmentation fault 59yfvs+f4bkzvgzw
@ 2016-11-30  1:08 ` Yaakov Selkowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2016-11-30  1:08 UTC (permalink / raw)
  To: cygwin

On 2016-11-29 12:22, 59yfvs+f4bkzvgzw@guerrillamail.com 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.

-- 
Yaakov

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-29 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29 20:14 Re: php 7 upgrade -- segmentation fault 59yfvs+f4bkzvgzw
2016-11-30  1:08 ` Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).