Date: 11/30/00
- Next message: ec <email protected>: "[PHP-DEV] PHP 4.0 Bug #8059: www.dugnet.net/oper.php goes back to www.dugnet.net because of the if $request)"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] PHP 4.0 Bug #8058:"
- Next in thread: goten <email protected>: "[PHP-DEV] PHP 4.0 Bug #6341 Updated: floating point exception on session.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6341
User Update by: goten <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: floating point exception on session.c
take a look at
http://www.hkgonline.net/test.php?pid=1&tid=1&mode=threaded&order=0&myTopic=Main&op=ShowComment#1
Please use Netscape because it give you a better view what the problem is. Once you go to that page, just keep pressing reload button on netscape. Once a while you will get a error message says "This document contained no data. Try again later, or contact the server's administrator.". Whenever this message pop up, a error message "[notice] child pid 65569 exit signal Floating point exception (8)" will appear in httpd error log file.
This test.php file have an intentional error in the scripts. It try to call a function that is not defined. It should display the error message "Fatal error: Call to undefined function: cdbconnect() in /usr2/home/business/hkonline/www/test.php on line 245" if the server does not crash.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-21 04:19:05] sniper <email protected>
I use sessions a lot and have never experienced this..not
at least after PHP 4.0.3pl1. Could you try the latest
snapshot from http://snaps.php.net/ and report back
whether these crashes are gone?
--Jani
---------------------------------------------------------------------------
[2000-09-04 04:29:24] goten <email protected>
Yes, it still happen in 4.02. When session is enable, and there are parsing or syntax error in the code, apache will exit on signal 8. It is not happen everytime, but if you keep reloading on the same page, it crash 2 out of 5 times.
---------------------------------------------------------------------------
[2000-09-03 05:51:50] stas <email protected>
Does this still happen on 4.0.2?
---------------------------------------------------------------------------
[2000-08-24 19:35:15] goten <email protected>
Configuation :
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/etc
--with-gd=/usr/local --with-pcre-regex=/usr/local --enable-track-vars
using stock php.ini except session.auto_start = 1
Got the following error when I run gdb on PHP 4.01pl2/FreeBSD 4.1 stable system. The script have session used. Apache will most likely crash when there are syntax errors or parsing errors in the script. Keep pressing reload button can also crash Apache sometimes.
Program received signal SIGFPE, Arithmetic exception.
---Type <return> to continue, or q <return> to quit---
0x2834bc77 in _php_session_start () at session.c:853
853 nrand = (int) (100.0*rand()/RAND_MAX);
(gdb)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6341
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ec <email protected>: "[PHP-DEV] PHP 4.0 Bug #8059: www.dugnet.net/oper.php goes back to www.dugnet.net because of the if $request)"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] PHP 4.0 Bug #8058:"
- Next in thread: goten <email protected>: "[PHP-DEV] PHP 4.0 Bug #6341 Updated: floating point exception on session.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

