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

From: Date: Wed, 11 Apr 2007 14:08:23 +0000
Subject: #41050 [Bgs]: Segmentation fault using preg_match (any PCRE matching)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111354@lists.php.net to get a copy of this message
ID: 41050 User updated by: legolas558 at users dot sourceforge dot net Reported By: legolas558 at users dot sourceforge dot net Status: Bogus Bug Type: PCRE related Operating System: Windows XP SP2 PHP Version: 4.4.6 New Comment: Of course. But did you check if the bug(s) also happens out of PHP? e.g. if it is ONLY a PCRE bug? Previous Comments: ------------------------------------------------------------------------ [2007-04-11 14:01:59] tony2001@php.net We can't fix PCRE. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#111354) next »