#41050 [Opn->Bgs]: Segmentation fault using preg_match (any PCRE matching)

From: Date: Wed, 11 Apr 2007 14:01:59 +0000
Subject: #41050 [Opn->Bgs]: Segmentation fault using preg_match (any PCRE matching)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111351@lists.php.net to get a copy of this message
ID: 41050 Updated by: tony2001@php.net Reported By: legolas558 at users dot sourceforge dot net -Status: Open +Status: Bogus Bug Type: PCRE related Operating System: Windows XP SP2 PHP Version: 4.4.6 New Comment: We can't fix PCRE. Previous Comments: ------------------------------------------------------------------------ [2007-04-11 12:00:42] legolas558 at users dot sourceforge dot net I have tested the subject and regex in a C snippet and the segmentation fault does not happen So the bug is someway related to PHP's usage (maybe initialization and reset?) of the PCRE library More tests would be needed, of course ------------------------------------------------------------------------ [2007-04-11 11:39:31] legolas558 at users dot sourceforge dot net I understand. I will try to contact the PCRE mantainer, and if he is not working on the issue I will try to get my hands dirt and patch it myself. If I end up with a patch for the PCRE library I hope it will be accepted in PHP's CVS tree If the bug is not reproducible out of PHP (with a C testcase, for example) there are high chances that it is a PHP-related bug. I will now test the bug out of PHP and see if it still happens. ------------------------------------------------------------------------ [2007-04-11 11:34:30] derick@php.net http://sourceforge.net/tracker/index.php?func=detail&aid=1688293&group_id=10194&atid=360194 exists though. ------------------------------------------------------------------------ [2007-04-11 11:31:15] derick@php.net I've no idea if they are looking at this. And no, compiling with an older lib is not possible as the new version has plenty of bug fixes as well. ------------------------------------------------------------------------ [2007-04-11 11:29:20] legolas558 at users dot sourceforge dot net Would it be viable to compile with an older PCRE library? And, is the PCRE development team addressing the issue of their most recent release? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41050 -- Edit this bug report at http://bugs.php.net/?id=41050&edit=1

« previous php.bugs (#111351) next »