Edit report at http://bugs.php.net/bug.php?id=53426&edit=1
ID: 53426
Updated by: johannes@php.net
Reported by: dr4k0n at list dot ru
Summary: Segmentation fault
Status: Feedback
Type: Bug
Package: PCRE related
Operating System: Gentoo Linux 2.6.34-xenU-fly
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
And please don't use distribution packages but build our sources. Gentoo
and others apply patches we don't know and have no control over.
Previous Comments:
------------------------------------------------------------------------
[2010-11-30 12:31:23] pajoye@php.net
And we still need a way to actually reproduce this crash, like a small
script.
------------------------------------------------------------------------
[2010-11-30 12:30:44] pajoye@php.net
Try with mysqlnd then. You can compile PHP in your home to try your
script. That won't affect your system install.
------------------------------------------------------------------------
[2010-11-30 12:26:11] dr4k0n at list dot ru
I saw same segfault in PHP 5.2.14, so I update PHP to version 5.3.3-r1.
PHP 5.3.4 not exists in Gentoo portage repositary.
------------------------------------------------------------------------
[2010-11-30 12:21:20] pajoye@php.net
Please try with 5.3.4RC1.
It also looks like a mysql bug, not pcre. If the crash still occurs
using 5.3.4RC1, please try using Mysqlnd instead of libmysql. (see
configure --help for the options).
------------------------------------------------------------------------
[2010-11-30 12:11:13] dr4k0n at list dot ru
Description:
------------
Everytime I start my script, I see segmentation fault (on my 32bit PHP
version). On equivalent 64 bit system segmentation fault not appear.
I execute command:
---------------------------------------------
$ export USE_ZEND_ALLOC=0
$ valgrind --tool=memcheck --num-callers=30
--log-file=/var/www/infoskidka.ru/www/common/php_debug_2010.11.30.txt
/usr/bin/php -f /var/www/infoskidka.ru/www/cli.php parsers
update_actions
---------------------------------------------
Result: http://www.infoskidka.ru/common/php_debug_2010.11.30.txt
It looks like error on PCRE module.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53426&edit=1