PHP 4.0 Bug #6341 Updated: floating point exception on session.c

From: Date: Fri, 01 Dec 2000 20:23:21 +0000
Subject: PHP 4.0 Bug #6341 Updated: floating point exception on session.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-39804@lists.php.net to get a copy of this message
ID: 6341 User Update by: goten@mylaptop.com Status: Open Bug Type: Reproduceable crash Description: floating point exception on session.c Here is two link you can try. This one use --without-gd flag http://www.hkgonline.net/test3.php This one use --with-gd flag http://www.hkgonline.net:8080/test3.php Just go to each of the link and keep pressing reload button using netscape. You will see the port 8080 one crash from time to time. I use FreeBSD GD-1.8.3 port from http://www.freebsd.org/cgi/ports.cgi?query=gd-1.8.3&stype=all Source code for test3.php is <?php echo "a"; cdbconnect(); //call to a function did not define ?> Previous Comments: --------------------------------------------------------------------------- [2000-11-30 19:56:55] goten@mylaptop.com I think You can try to install the PHP 4.03pl1 in your test FreeBSD system with the flag --with-gd, and see if it does the same error as mine. Here is the config I use ./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 If you can find a fix for it. Please let me know. Thanks --------------------------------------------------------------------------- [2000-11-30 19:49:10] goten@mylaptop.com Ok, I found out the problem. Whenever I use --with-gd, it will crash like that. As long as I don't use --with-gd, it works fine. I am using the gd-1.8.3(newest port) for FreeBSD. --------------------------------------------------------------------------- [2000-11-30 17:03:37] goten@mylaptop.com Ok, I got a more simple code to reproduce the error. This is the code for test3.php <?php echo "a"; cdbconnect(); //call to a function did not define ?> go to http://www.hkgonline.net/test3.php using netscape. You will get that No data error once a while if you keep pressing reload button. --------------------------------------------------------------------------- [2000-11-30 15:57:32] goten@mylaptop.com Ok, I got a more simple code to reproduce the error. This is the code for test3.php <?php echo "a"; cdbconnect(); //call to a function did not define ?> go to http://www.hkgonline.net/test3.php using netscape. You will get that No data error once a while if you keep pressing reload button. --------------------------------------------------------------------------- [2000-11-30 15:44:05] goten@mylaptop.com 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. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=6341

« previous php.dev (#39804) next »