ID:               47730
 Updated by:       scott...@php.net
 Reported By:      berblinger at krumedia dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Linux
 PHP Version:      5.2.9
 New Comment:

Can you do

./configure --disable-all --enable-debug

And run the script through valgrind as well as through gdb.

If that fails then getting access to an account on the server might be
the easiest solution.


Previous Comments:
------------------------------------------------------------------------

[2009-03-25 11:32:49] berblinger at krumedia dot de

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?

------------------------------------------------------------------------

[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'

------------------------------------------------------------------------

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

Reply via email to