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

From: Date: Wed, 03 Feb 2016 19:03:40 +0000
Subject: Bug #71499 [Csd->Nab]: preg_match Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199033@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 Updated by: cmb@php.net Reported by: messiah at nline dot net dot ua Summary: preg_match Segmentation fault -Status: Closed +Status: Not a bug Type: Bug Package: PCRE related Operating System: Linux Debian 8 PHP Version: 7.0.2 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2016-02-02 21:31:15] messiah at nline dot net dot ua i've recompiled php 7.0.2 from original source and everything is fine, so it's something related to dotdeb build ------------------------------------------------------------------------ [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

« previous php.bugs (#199033) next »