Bug #71499 [Fbk->Csd]: preg_match Segmentation fault

From: Date: Tue, 02 Feb 2016 21:31:17 +0000
Subject: Bug #71499 [Fbk->Csd]: preg_match Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199009@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71499&edit=1

 ID:                 71499
 User updated by:    messiah at nline dot net dot ua
 Reported by:        messiah at nline dot net dot ua
 Summary:            preg_match Segmentation fault
-Status:             Feedback
+Status:             Closed
 Type:               Bug
 Package:            PCRE related
 Operating System:   Linux Debian 8
 PHP Version:        7.0.2
 Block user comment: N
 Private report:     N

 New Comment:

i've recompiled php 7.0.2 from original source and everything is fine, so it's something
related to dotdeb build


Previous Comments:
------------------------------------------------------------------------
[2016-02-02 20:02:43] requinix@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

https://3v4l.org/NAQS7 but no surprises there

Also make sure you don't have any Zend modules (zend_extension) loaded.

------------------------------------------------------------------------
[2016-02-02 19:29:30] messiah at nline dot net dot ua

Description:
------------
version: PHP 7.0.2-1~dotdeb+8.2 (cli) ( NTS )

default setup with some modules, nothing special or unique related to pcre

Test script:
---------------
<?php

preg_match('/\.((tar\.(gz|bz|bz2|z|lzo))|cpio\.gz|ps\.gz|xcf\.(gz|bz2)|[a-z0-9]{1,4})$/i',
'php.php.tar', $m);


Expected result:
----------------
no segfault

Actual result:
--------------
Core was generated by `php7.0 test.php'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f705709a356 in ?? ()
(gdb) bt
#0  0x00007f705709a356 in ?? ()
#1  0x0000000000000000 in ?? ()



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=71499&edit=1


Thread (4 messages)

« previous php.bugs (#199009) next »