|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-11-30 12:11 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 03:00:01 2025 UTC |
PCRE related settings in php.ini not helps... Full report: PHP 5.3.3-pl1-gentoo (cli) script: $news = file_get_contents ('news.dat'); $pregNews = '#<h1[^>]*>([^<]+)</h1>([^<]|<[^h]|<h[^2])*<h2>[^<]*<a href="(/actions/\?id=([\d]+))">(([^<]|<[^/]|</[^a])*)</a></h2>#sui'; preg_match_all ($pregNews, $news, $newsResult, PREG_SET_ORDER); news.dat: http://www.infoskidka.ru/common/news.dat valgrind report: http://www.infoskidka.ru/common/news_segfault.txt