#43295 [Com]: php-cgi crash

2007-12-01 Thread ty at aumix dot com
 ID:   43295
 Comment by:   ty at aumix dot com
 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:

Hi,

Same problem here with CentOS 4.5.


-Tareq


Previous Comments:


[2007-11-28 17:33:45] php at high5 dot nu

I went back to php4, this seems to work fine.



[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.5The 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=0x0005) != (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=0x, expected=0x99954317)
Start:  Overflown (magic=0x instead of 0x678FA504)
At least 4 bytes overflown
  End:  Overflown (magic=0x000E 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!



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=43295edit=1


#43295 [Com]: php-cgi crash

2007-11-28 Thread oliver at realtsp dot com
 ID:   43295
 Comment by:   oliver at realtsp dot com
 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:

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


Previous Comments:


[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.5The 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=0x0005) != (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=0x, expected=0x99954317)
Start:  Overflown (magic=0x instead of 0x678FA504)
At least 4 bytes overflown
  End:  Overflown (magic=0x000E 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  0x00537d09 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  0x00539451 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  0x0053a64c 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  0x0050b99e in sapi_deactivate () at
/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c:445
#4  0x00502397 in php_request_shutdown (dummy=0x0) at
/usr/ports/lang/php5/work/php-5.2.5/main/main.c:1494
#5  0x005d8771 in main (argc=3, argv=0x7fffea98) at

#43295 [Com]: php-cgi crash

2007-11-28 Thread php at high5 dot nu
 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.5The 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=0x0005) != (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=0x, expected=0x99954317)
Start:  Overflown (magic=0x instead of 0x678FA504)
At least 4 bytes overflown
  End:  Overflown (magic=0x000E 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  0x00537d09 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  0x00539451 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  0x0053a64c 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  0x0050b99e in sapi_deactivate () at
/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c:445
#4  0x00502397 

#43295 [Com]: php-cgi crash

2007-11-27 Thread php at high5 dot nu
 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 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.5The 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=0x0005) != (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=0x, expected=0x99954317)
Start:  Overflown (magic=0x instead of 0x678FA504)
At least 4 bytes overflown
  End:  Overflown (magic=0x000E instead of 0x0A184C31)
At least 4 bytes overflown
---


Previous Comments:


[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  0x00537d09 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  0x00539451 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  0x0053a64c 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  0x0050b99e in sapi_deactivate () at
/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c:445
#4  0x00502397 in php_request_shutdown (dummy=0x0) at
/usr/ports/lang/php5/work/php-5.2.5/main/main.c:1494
#5  0x005d8771 in main (argc=3, argv=0x7fffea98) at
/usr/ports/lang/php5/work/php-5.2.5/sapi/cgi/cgi_main.c:1972

PS System is AMD64



[2007-11-21 16:41:06] f dot fenix at gmail dot com

I also have such bug appeared after update to PHP 5.2.5.
System Info: FreeBSD 6.2-RELEASE-p3, nginx/0.5.32, PHP 5.2.5
# php -m
[PHP Modules]
bcmath
bz2
ctype
curl
date
dom
gd
gettext
hash
iconv
libxml
mbstring
mhash
mysql
pcre
PDO
pgsql
posix
readline
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

#gdb /usr/local/bin/php-cgi php-cgi.core
--SKIPED--
(gdb) bt
#0  0x004e79cf in _zend_mm_free_int 

#43295 [Com]: php-cgi crash

2007-11-24 Thread dns dot bind9 at gmail dot com
 ID:   43295
 Comment by:   dns dot bind9 at gmail dot com
 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:

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!


Previous Comments:


[2007-11-23 18:53:13] f dot fenix at gmail dot com

Additional backtrace for previous comment:
(gdb) bt
#0  0x00537d09 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  0x00539451 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  0x0053a64c 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  0x0050b99e in sapi_deactivate () at
/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c:445
#4  0x00502397 in php_request_shutdown (dummy=0x0) at
/usr/ports/lang/php5/work/php-5.2.5/main/main.c:1494
#5  0x005d8771 in main (argc=3, argv=0x7fffea98) at
/usr/ports/lang/php5/work/php-5.2.5/sapi/cgi/cgi_main.c:1972

PS System is AMD64



[2007-11-21 16:41:06] f dot fenix at gmail dot com

I also have such bug appeared after update to PHP 5.2.5.
System Info: FreeBSD 6.2-RELEASE-p3, nginx/0.5.32, PHP 5.2.5
# php -m
[PHP Modules]
bcmath
bz2
ctype
curl
date
dom
gd
gettext
hash
iconv
libxml
mbstring
mhash
mysql
pcre
PDO
pgsql
posix
readline
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

#gdb /usr/local/bin/php-cgi php-cgi.core
--SKIPED--
(gdb) bt
#0  0x004e79cf in _zend_mm_free_int ()
#1  0x004c858a in sapi_deactivate ()
#2  0x004c1eea in php_request_shutdown ()
#3  0x00591943 in main ()

It crashes with such baktrace on ANY script.



[2007-11-20 10:45:19] dns dot bind9 at gmail dot com

hi,I have same problem on my update php to 5.2.5.

My System is FreeBSD 6.1 + Lighttpd 1.4.18 + php5.2.5 + php-cgi. 

[EMAIL PROTECTED] ~#/usr/local/bin/php-cgi -m
[PHP Modules]
cgi-fcgi
date
gd
iconv
libxml
mbstring
memcache
mysql
pcre
Reflection
session
standard
xml
zlib

[Zend Modules]



In Lighttpd Logs:

2007-11-20 18:25:24: (mod_fastcgi.c.2462) unexpected end-of-file
(perhaps the fastcgi process died): pid: 4823 socket:
unix:/tmp/php-fastcgi.socket-0 
2007-11-20 18:25:24: (mod_fastcgi.c.3269) response already sent out,
but backend returned error on socket: unix:/tmp/php-fastcgi.socket-0 for
/detail.php , terminating connection



[2007-11-19 13:57:42] pioklo at serveradmin dot pl

The diff is here :
http://tapsy.pl/phpdiff.txt

Content-Type text/html



[2007-11-19 13:49:12] [EMAIL PROTECTED]

What is the content-type on these pages where it crashes? What is the
diff between your php.ini and the stock php.ini-dist /
php.ini-recommended (depending what you used as base for your php.ini)




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=43295edit=1


#43295 [Com]: php-cgi crash

2007-11-23 Thread f dot fenix at gmail dot com
 ID:   43295
 Comment by:   f dot fenix at gmail dot com
 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:

Additional backtrace for previous comment:
(gdb) bt
#0  0x00537d09 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  0x00539451 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  0x0053a64c 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  0x0050b99e in sapi_deactivate () at
/usr/ports/lang/php5/work/php-5.2.5/main/SAPI.c:445
#4  0x00502397 in php_request_shutdown (dummy=0x0) at
/usr/ports/lang/php5/work/php-5.2.5/main/main.c:1494
#5  0x005d8771 in main (argc=3, argv=0x7fffea98) at
/usr/ports/lang/php5/work/php-5.2.5/sapi/cgi/cgi_main.c:1972

PS System is AMD64


Previous Comments:


[2007-11-21 16:41:06] f dot fenix at gmail dot com

I also have such bug appeared after update to PHP 5.2.5.
System Info: FreeBSD 6.2-RELEASE-p3, nginx/0.5.32, PHP 5.2.5
# php -m
[PHP Modules]
bcmath
bz2
ctype
curl
date
dom
gd
gettext
hash
iconv
libxml
mbstring
mhash
mysql
pcre
PDO
pgsql
posix
readline
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

#gdb /usr/local/bin/php-cgi php-cgi.core
--SKIPED--
(gdb) bt
#0  0x004e79cf in _zend_mm_free_int ()
#1  0x004c858a in sapi_deactivate ()
#2  0x004c1eea in php_request_shutdown ()
#3  0x00591943 in main ()

It crashes with such baktrace on ANY script.



[2007-11-20 10:45:19] dns dot bind9 at gmail dot com

hi,I have same problem on my update php to 5.2.5.

My System is FreeBSD 6.1 + Lighttpd 1.4.18 + php5.2.5 + php-cgi. 

[EMAIL PROTECTED] ~#/usr/local/bin/php-cgi -m
[PHP Modules]
cgi-fcgi
date
gd
iconv
libxml
mbstring
memcache
mysql
pcre
Reflection
session
standard
xml
zlib

[Zend Modules]



In Lighttpd Logs:

2007-11-20 18:25:24: (mod_fastcgi.c.2462) unexpected end-of-file
(perhaps the fastcgi process died): pid: 4823 socket:
unix:/tmp/php-fastcgi.socket-0 
2007-11-20 18:25:24: (mod_fastcgi.c.3269) response already sent out,
but backend returned error on socket: unix:/tmp/php-fastcgi.socket-0 for
/detail.php , terminating connection



[2007-11-19 13:57:42] pioklo at serveradmin dot pl

The diff is here :
http://tapsy.pl/phpdiff.txt

Content-Type text/html



[2007-11-19 13:49:12] [EMAIL PROTECTED]

What is the content-type on these pages where it crashes? What is the
diff between your php.ini and the stock php.ini-dist /
php.ini-recommended (depending what you used as base for your php.ini)




[2007-11-19 12:34:05] pioklo at serveradmin dot pl

The problem isnt only with  gry.php  but many other scripts..
I use external sql servers and I'm connection to them through
mysql_pconnect method . Changing method to mysql_connect provides less
amount of crashes but finally when i changed php version to 5.1.6 
segfault was eliminated  at all.

Regards,
Piotr



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=43295edit=1


#43295 [Com]: php-cgi crash

2007-11-21 Thread f dot fenix at gmail dot com
 ID:   43295
 Comment by:   f dot fenix at gmail dot com
 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 also have such bug appeared after update to PHP 5.2.5.
System Info: FreeBSD 6.2-RELEASE-p3, nginx/0.5.32, PHP 5.2.5
# php -m
[PHP Modules]
bcmath
bz2
ctype
curl
date
dom
gd
gettext
hash
iconv
libxml
mbstring
mhash
mysql
pcre
PDO
pgsql
posix
readline
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

#gdb /usr/local/bin/php-cgi php-cgi.core
--SKIPED--
(gdb) bt
#0  0x004e79cf in _zend_mm_free_int ()
#1  0x004c858a in sapi_deactivate ()
#2  0x004c1eea in php_request_shutdown ()
#3  0x00591943 in main ()

It crashes with such baktrace on ANY script.


Previous Comments:


[2007-11-20 10:45:19] dns dot bind9 at gmail dot com

hi,I have same problem on my update php to 5.2.5.

My System is FreeBSD 6.1 + Lighttpd 1.4.18 + php5.2.5 + php-cgi. 

[EMAIL PROTECTED] ~#/usr/local/bin/php-cgi -m
[PHP Modules]
cgi-fcgi
date
gd
iconv
libxml
mbstring
memcache
mysql
pcre
Reflection
session
standard
xml
zlib

[Zend Modules]



In Lighttpd Logs:

2007-11-20 18:25:24: (mod_fastcgi.c.2462) unexpected end-of-file
(perhaps the fastcgi process died): pid: 4823 socket:
unix:/tmp/php-fastcgi.socket-0 
2007-11-20 18:25:24: (mod_fastcgi.c.3269) response already sent out,
but backend returned error on socket: unix:/tmp/php-fastcgi.socket-0 for
/detail.php , terminating connection



[2007-11-19 13:57:42] pioklo at serveradmin dot pl

The diff is here :
http://tapsy.pl/phpdiff.txt

Content-Type text/html



[2007-11-19 13:49:12] [EMAIL PROTECTED]

What is the content-type on these pages where it crashes? What is the
diff between your php.ini and the stock php.ini-dist /
php.ini-recommended (depending what you used as base for your php.ini)




[2007-11-19 12:34:05] pioklo at serveradmin dot pl

The problem isnt only with  gry.php  but many other scripts..
I use external sql servers and I'm connection to them through
mysql_pconnect method . Changing method to mysql_connect provides less
amount of crashes but finally when i changed php version to 5.1.6 
segfault was eliminated  at all.

Regards,
Piotr



[2007-11-18 23:41:58] [EMAIL PROTECTED]

Please don't post any backtraces anymore. What exactly does this
gry.php do? Try shorten the script to bare minimum which still causes
the problem.



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=43295edit=1


#43295 [Com]: php-cgi crash

2007-11-20 Thread dns dot bind9 at gmail dot com
 ID:   43295
 Comment by:   dns dot bind9 at gmail dot com
 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:

hi,I have same problem on my update php to 5.2.5.

My System is FreeBSD 6.1 + Lighttpd 1.4.18 + php5.2.5 + php-cgi. 

[EMAIL PROTECTED] ~#/usr/local/bin/php-cgi -m
[PHP Modules]
cgi-fcgi
date
gd
iconv
libxml
mbstring
memcache
mysql
pcre
Reflection
session
standard
xml
zlib

[Zend Modules]



In Lighttpd Logs:

2007-11-20 18:25:24: (mod_fastcgi.c.2462) unexpected end-of-file
(perhaps the fastcgi process died): pid: 4823 socket:
unix:/tmp/php-fastcgi.socket-0 
2007-11-20 18:25:24: (mod_fastcgi.c.3269) response already sent out,
but backend returned error on socket: unix:/tmp/php-fastcgi.socket-0 for
/detail.php , terminating connection


Previous Comments:


[2007-11-19 13:57:42] pioklo at serveradmin dot pl

The diff is here :
http://tapsy.pl/phpdiff.txt

Content-Type text/html



[2007-11-19 13:49:12] [EMAIL PROTECTED]

What is the content-type on these pages where it crashes? What is the
diff between your php.ini and the stock php.ini-dist /
php.ini-recommended (depending what you used as base for your php.ini)




[2007-11-19 12:34:05] pioklo at serveradmin dot pl

The problem isnt only with  gry.php  but many other scripts..
I use external sql servers and I'm connection to them through
mysql_pconnect method . Changing method to mysql_connect provides less
amount of crashes but finally when i changed php version to 5.1.6 
segfault was eliminated  at all.

Regards,
Piotr



[2007-11-18 23:41:58] [EMAIL PROTECTED]

Please don't post any backtraces anymore. What exactly does this
gry.php do? Try shorten the script to bare minimum which still causes
the problem.



[2007-11-18 21:42:53] pioklo at serveradmin dot pl

I have installed php 5.1.6 and the problem has passed away.



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=43295edit=1