php 7 upgrade -- segmentation fault

Yaakov Selkowitz yselkowitz@cygwin.com
Tue Nov 29 18:25:00 GMT 2016


On 2016-11-29 11:50, 59yfvs+f4bkzvgzw at guerrillamail.com wrote:
> I've isolated the issue to a regular expression match!
>
> This line:
> $command = ( preg_match('#^(?:\:.*? )?(.*?) #', $buffer, $matches) ) ? $matches[1] : '';
>
> causes the segfaulting.  BUT WHY? Again this worked fine in php5.x . There is
> something broken with PCRE in this build.

I don't think so.  I tried the preg_match() examples in the manual and 
they worked fine.  Are you sure there isn't something else in your 
script that needs to updated for 7.0?  Otherwise, please provide an STC 
which replicates this.

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



More information about the Cygwin mailing list