ID: 43295
Updated by: [EMAIL PROTECTED]
Reported By: pioklo at serveradmin dot pl
-Status: Assigned
+Status: Closed
Bug Type: CGI related
Operating System: Debian 4.0 kernel 2.6.23.1
PHP Version: 5.2.5
Assigned To: dmitry
New Comment:
The crash in main/SAPI.c(445) must be fixed in CVS.
It wasn't releated to CGI sapi or memory manager.
It was just because of uninitialized variable.
It is a duplicate of #43476, but not #43387 and #43459.
Previous Comments:
------------------------------------------------------------------------
[2007-12-03 11:41:39] [EMAIL PROTECTED]
See also bug #43459 and bug #43387
------------------------------------------------------------------------
[2007-12-03 11:40:51] [EMAIL PROTECTED]
Dmitry, this has propably something to do with your patch for this:
"- Added ability to control memory consumption between request using
ZEND_MM_COMPACT environment variable. (Dmitry)"
------------------------------------------------------------------------
[2007-12-01 23:51:51] ty at aumix dot com
Hi,
Same problem here with CentOS 4.5.
-Tareq
------------------------------------------------------------------------
[2007-11-28 17:33:45] php at high5 dot nu
I went back to php4, this seems to work fine.
------------------------------------------------------------------------
[2007-11-27 13:49:25] php at high5 dot nu
I am also seeing problems with FastCGI and PHP-5.2.5.
FreeBSD 6.2-p8 (jail) and Lighttpd 1.4.18. No third party extensions.
[EMAIL PROTECTED]:~ # pkg_info | grep php
php5-5.2.5 PHP Scripting Language
php5-gettext-5.2.5 The gettext shared extension for php
php5-mysql-5.2.5 The mysql shared extension for php
php5-pcre-5.2.5 The pcre shared extension for php
php5-session-5.2.5 The session shared extension for php
php5-xml-5.2.5 The xml shared extension for php
php5-zlib-5.2.5 The zlib shared extension for php
>From the log file:
[Tue Nov 27 14:35:18 2007] Script:
'/usr/local/www/www.<site>.com/blog/wpcontent/themes/default/images/he
ader-img.php'
---------------------------------------
/var/ports/basejail/usr/ports/lang/php5/work/php-
5.2.5/main/SAPI.c(445) : Block 0x08289e30 status:
Invalid pointer: ((size=0x00000005) != (next.prev=0x5445475f))
2007-11-27 14:35:18: (mod_fastcgi.c.2462) unexpected end-of-file
(perhaps the fastcgi process died): pid: 96290 socket: unix:/tmp/php-
fastcgi.socket-0
2007-11-27 14:35:18: (mod_fastcgi.c.3269) response already sent out,
but backend returned error on socket: unix:/tmp/php-fastcgi.socket-0
for /blog/wp-content/themes/default/images/header-img.php ,
terminating connection
[Tue Nov 27 14:40:21 2007] Script:
'/usr/local/www/www.<site>.com/index.php'
---------------------------------------
/var/ports/basejail/usr/ports/lang/php5/work/php-
5.2.5/main/SAPI.c(445) : Block 0x08289d10 status:
Beginning: Freed (magic=0x00000000, expected=0x99954317)
Start: Overflown (magic=0x00000000 instead of 0x678FA504)
At least 4 bytes overflown
End: Overflown (magic=0x0000000E instead of 0x0A184C31)
At least 4 bytes overflown
---------------------------------------
------------------------------------------------------------------------
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/43295
--
Edit this bug report at http://bugs.php.net/?id=43295&edit=1