PHP 4.0 Bug #6341: floating point exception on session.c
| From: | goten at mylaptop dot com | Date: | Thu, 24 Aug 2000 23:35:15 +0000 |
| Subject: | PHP 4.0 Bug #6341: floating point exception on session.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30576@lists.php.net to get a copy of this message | ||
From: goten@mylaptop.com
Operating system: FreeBSD 4.1 stable
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: floating point exception on session.c
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)