ID: 43295 Comment by: php at high5 dot nu Reported By: pioklo at serveradmin dot pl Status: Open Bug Type: CGI related Operating System: Debian 4.0 kernel 2.6.23.1 PHP Version: 5.2.5 New Comment:
I went back to php4, this seems to work fine. Previous Comments: ------------------------------------------------------------------------ [2007-11-28 17:18:17] oliver at realtsp dot com very similar symtoms: [EMAIL PROTECTED] uname -a FreeBSD 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: [EMAIL PROTECTED] php -m [PHP Modules] apc ctype curl date dom gd gettext hash imap json libxml mbstring mcrypt mysql openssl pcre PDO pdo_mysql posix pspell Reflection session SimpleXML sockets SPL standard tidy xml xsl zlib [Zend Modules] [EMAIL PROTECTED] php -v PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 23 2007 14:07:53) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies ------------------------------------------------------------------------ [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 --------------------------------------- ------------------------------------------------------------------------ [2007-11-26 09:28:35] [EMAIL PROTECTED] I can confirm the last additions to this bug. I am also on FreeBSD/AMD64, and today I started getting "zend_mm_heap corrupted" messages. Also, PHP started to sig11 and what I did so far was disable all modules that I do not need - doing this I got rid off some of the obvious crashes. This is my extension.ini http://pastie.caboo.se/private/ytqpr1hnn0slvjsvabt70g php -m: http://pastie.caboo.se/private/yscuxwtkvromili7m15w What can we do to provide more feedback? ------------------------------------------------------------------------ [2007-11-25 02:53:11] dns dot bind9 at gmail dot com now,more error msg " [EMAIL PROTECTED] ~#zend_mm_heap corrupted zend_mm_heap corrupted zend_mm_heap corrupted zend_mm_heap corrupted zend_mm_heap corrupted zend_mm_heap corrupted zend_mm_heap corrupted zend_mm_heap corrupted" display on my console! ------------------------------------------------------------------------ [2007-11-23 18:53:13] f dot fenix at gmail dot com Additional backtrace for previous comment: (gdb) bt #0 0x0000000000537d09 in zend_mm_check_ptr (heap=0x7bf000, ptr=0xb29818, silent=1, __zend_filename=0x6445d8 "/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c", __zend_lineno=445, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/ports/lang/php5/work/php-5.2.5/Zend/zend_alloc.c:1276 #1 0x0000000000539451 in _zend_mm_free_int (heap=0x7bf000, p=0xb29818, __zend_filename=0x6445d8 "/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c", __zend_lineno=445, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/ports/lang/php5/work/php-5.2.5/Zend/zend_alloc.c:1909 #2 0x000000000053a64c in _efree (ptr=0xb29818, __zend_filename=0x6445d8 "/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c", __zend_lineno=445, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/ports/lang/php5/work/php-5.2.5/Zend/zend_alloc.c:2277 #3 0x000000000050b99e in sapi_deactivate () at /usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c:445 #4 0x0000000000502397 in php_request_shutdown (dummy=0x0) at /usr/ports/lang/php5/work/php-5.2.5/main/main.c:1494 #5 0x00000000005d8771 in main (argc=3, argv=0x7fffffffea98) at /usr/ports/lang/php5/work/php-5.2.5/sapi/cgi/cgi_main.c:1972 PS System is AMD64 ------------------------------------------------------------------------ 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