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  0x00000000004e79cf in _zend_mm_free_int ()
#1  0x00000000004c858a in sapi_deactivate ()
#2  0x00000000004c1eea in php_request_shutdown ()
#3  0x0000000000591943 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=43295&edit=1

Reply via email to