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

It's more serious than I thought as ANY use of preg_match causes the
segfaulting, even in interactive mode.

$ php -a
Interactive shell

php > $msg="!Hello"; if ( preg_match('#^!Hello\b#', $msg) ) echo "wee";
Segmentation fault (core dumped)

php > if ( preg_match('/d/', 'dba') ) echo "wee";
Segmentation fault (core dumped)





----
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 preg_match always causes segmentation fault
  2016-11-29 18:22 php 7 preg_match always causes segmentation fault 59yfvs+f4bkzvgzw
@ 2016-11-29 18:56 ` Yaakov Selkowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2016-11-29 18:56 UTC (permalink / raw)
  To: cygwin

On 2016-11-29 12:02, 59yfvs+f4bkzvgzw@guerrillamail.com wrote:
> It's more serious than I thought as ANY use of preg_match causes the
> segfaulting, even in interactive mode.

This does not occur for me with either 32-bit or 64-bit cygwin.

-- 
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:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29 18:22 php 7 preg_match always causes segmentation fault 59yfvs+f4bkzvgzw
2016-11-29 18:56 ` 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).