public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: php 7 upgrade -- segmentation fault
Date: Tue, 29 Nov 2016 18:25:00 -0000	[thread overview]
Message-ID: <60f9f0df-0018-df38-0683-703f38babc83@cygwin.com> (raw)
In-Reply-To: <62b36cdc7f851bc121f62721ede7b0752b25@guerrillamail.com>

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

  reply	other threads:[~2016-11-29 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 18:21 59yfvs+f4bkzvgzw
2016-11-29 18:25 ` Yaakov Selkowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-30  2:38 5a1dvi+28lxtut1an
2016-11-29 20:14 59yfvs+f4bkzvgzw
2016-11-30  1:08 ` Yaakov Selkowitz
2016-11-29 18:11 59yfvs+f4bkzvgzw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60f9f0df-0018-df38-0683-703f38babc83@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).