ID: 47730 User updated by: berblinger at krumedia dot de Reported By: berblinger at krumedia dot de -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Linux PHP Version: 5.2.9 New Comment:
This segfault is also caused when any 3rd party modules are disabled. As already said, we got several servers with very similar hardware and OS ( including configuration ) and each of them makes PHP crash with this snippet. We recently upgraded from PHP 5.2.6 to PHP 5.2.9 and since this upgrade we noticed this segfault. Can i provide any other informations for you to help you fixing this bug? Previous Comments: ------------------------------------------------------------------------ [2009-03-23 15:51:15] tombt081981 at hotmail dot com I first just disabled XCache => still seg fault , so XCache can't be the reason Then i re-compiled with ./configure --disable-all => still seg fault # php -i System => myhostname 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64 Build Date => Mar 23 2009 16:43:14 Configure Command => './configure' '--disable-all' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php-cli.ini Scan this dir for additional .ini files => (none) additional .ini files parsed => (none) PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed #... ------------------------------------------------------------------------ [2009-03-23 15:27:39] scott...@php.net I can't reproduce this with 5.2.9 / 5.2.10-dev, can you try a build with everything disabled. Also make sure all third party modules are disabled like XCache. ./configure --disable-all # uname -a Linux whisky 2.6.18-xen #1 SMP Tue Feb 12 06:40:50 UTC 2008 x86_64 GNU/Linux # file sapi/cli/php sapi/cli/php: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped # sapi/cli/php -v PHP 5.2.9 (cli) (built: Mar 23 2009 14:13:12) (DEBUG) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies ------------------------------------------------------------------------ [2009-03-23 15:11:42] tombt081981 at hotmail dot com I get this segmentation fault, too, on a Debian 5.0 with php 5.2.9. (i use XCache, maybe this is relevant?) ------------------------------------------------------------------------ [2009-03-23 13:10:22] work at setor dot net Have a same problem # uname -a Linux myhost 2.6.27.15-170.2.24.fc10.x86_64 #1 SMP Wed Feb 11 23:14:31 EST 2009 x86_64 x86_64 x86_64 GNU/Linux # php -v PHP 5.2.9 (cli) (built: Mar 23 2009 14:52:55) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies Configure Command './configure' '--prefix=/ox/kayako/php' '--enable-mbstring' '--with-curl' '--with-openssl' '--with-iconv' '--with-mysqli' '--with-gd' '--with-ttf' '--enable-dbase' '--enable-soap' '--with-apxs2=/ox/kayako/apache/bin/apxs' '--enable-fastcgi' '--enable-force-cgi-redirect' '--with-libdir=lib64' '--with-png-dir' '--with-jpeg-dir' '--with-mcrypt' '--with-freetype-dir=/usr/include/freetype2' '--with-zlib' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--enable-cgi' '--enable-force-cgi-redirect' '--enable-discard-path' '--with-iconv' '--enable-shmop' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-sockets' '--with-bz2' '--with-gettext' '--enable-zip' '--enable-pcntl' '--with-readline' ------------------------------------------------------------------------ [2009-03-23 11:58:47] berblinger at krumedia dot de i just tested the Segmentation Fault error on another machine with similar hardware and OS, the result was the same. -> Segmentation fault caused. # cat debian_version 5.0 # uname -a Linux testserver.local 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64 GNU/Linux # php -v PHP 5.2.9 (cli) (built: Mar 10 2009 04:26:53) Copyright (c) 1997-2009 The PHP Group Both servers are configured exactly with the same configure command. ------------------------------------------------------------------------ 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/47730 -- Edit this bug report at http://bugs.php.net/?id=47730&edit=1