Date: 11/30/00
- Next message: wiseass <email protected>: "[PHP-DEV] PHP 4.0 Bug #7954 Updated: Apache seg fault on any call of mysql_connect()"
- Previous message: 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>
Status: Open
Bug Type: Reproduceable crash
Description: floating point exception on session.c
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
Previous Comments:
---------------------------------------------------------------------------
[2000-11-30 19:49:10] goten <email protected>
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 <email protected>
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 <email protected>
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 <email protected>
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.
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
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
-- 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: wiseass <email protected>: "[PHP-DEV] PHP 4.0 Bug #7954 Updated: Apache seg fault on any call of mysql_connect()"
- Previous message: goten <email protected>: "[PHP-DEV] PHP 4.0 Bug #6341 Updated: floating point exception on session.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

