From: thomas dot hebinck at digionline dot de
Operating system: Linux Debian Woody
PHP version: 5.0.0
PHP Bug Type: Reproducible crash
Bug description: segmention fault since final release of PHP5
Description:
------------
Hi,
there is some strange error in the release version of PHP5:
I use a massive amoung of objects and in some scripts, I get a
segmentation fault after the whole script run.
This results in a missing end of die output (since PHP is called from
within apache).
I tried 5.0.0, 5.0.1 and 5.1-dev from yesterday.
I switched back to 5.0.0RC3 and everything is fine again.
I know, this will be "useless" as a bug report, but maybe others have the
same problem.
And then at least it is a hint, when the bug went into the source code.
Bye,
Thomas.
---
sh ./configure \
--disable-ipv6 \
--with-apxs=/usr/local/apache1/bin/apxs \
--prefix=/usr/local/apache1/php \
--with-config-file-path=/usr/local/apache1/php \
--disable-all \
--with-ldap \
--with-pgsql=/usr/local/pgsql \
--with-gmp \
--enable-xml \
--enable-libxml \
--with-pcre-regex \
--with-imap=/usr/src/imap-2004a \
--without-imap-ssl \
Reproduce code:
---------------
sorry - I cannot reproduce the bug with only a few lines of code.
Expected result:
----------------
;-)
Actual result:
--------------
[Sun Sep 5 15:59:54 2004] [notice] Apache/1.3.31 (Unix) PHP/5.0.0
configured -- resuming normal operations
[Sun Sep 5 15:59:54 2004] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Sun Sep 5 16:00:01 2004] [notice] child pid 30806 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:21 2004] [notice] child pid 30818 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:21 2004] [notice] child pid 30817 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:21 2004] [notice] child pid 30805 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:22 2004] [notice] child pid 30847 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:22 2004] [notice] child pid 30846 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:22 2004] [notice] child pid 30839 exit signal
Segmentation fault (11)
[Sun Sep 5 16:00:22 2004] [notice] child pid 30803 exit signal
Segmentation fault (11)
--
Edit bug report at http://bugs.php.net/?id=29996&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29996&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29996&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29996&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29996&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29996&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29996&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29996&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29996&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29996&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29996&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29996&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29996&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29996&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29996&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29996&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29996&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29996&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29996&r=float