PHP 4.0 Bug #7617 Updated: Floating point exception when starting PHP cgi binary
| From: | bjoern at baer dot main dot de | Date: | Tue, 28 Nov 2000 23:33:26 +0000 |
| Subject: | PHP 4.0 Bug #7617 Updated: Floating point exception when starting PHP cgi binary | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39430@lists.php.net to get a copy of this message | ||
ID: 7617
User Update by: bjoern@baer.main.de
Status: Open
Bug Type: Reproduceable crash
Description: Floating point exception when starting PHP cgi binary
Doesn't work :-(
Previous Comments:
---------------------------------------------------------------------------
[2000-11-03 12:56:51] bjoern@baer.main.de
Same result as above.
---------------------------------------------------------------------------
[2000-11-03 11:41:05] sniper@php.net
please update your cvs..and if it still crashes, reopen
this bug report.
--Jani
---------------------------------------------------------------------------
[2000-11-03 07:19:28] bjoern@baer.main.de
gdb php php.core shows:
Core was generated by `php'.
Program terminated with signal 8, Floating point exception.
Reading symbols from /usr/lib/libpam.so.1...done.
Reading symbols from /usr/lib/libstdc++.so.2...done.
Reading symbols from /usr/lib/libg++.so.4...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libc_r.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x80820ed in php_minit_crypt (type=1, module_number=2,
executor_globals=0x813e800) at crypt.c:109
109 srand48((unsigned int) time(0) * getpid() * (php_combined_lcg() * 10000.0));
---------------------------------------------------------------------------
[2000-11-03 06:10:50] bjoern@baer.main.de
Configuring, making PHP with the following options:
./configure
# --with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/conf/
--with-ssl=/usr/local/openssl
--with-gd=/usr/local
--enable-t1lib=/usr/local
--with-mysql=/usr/local
--enable-track-vars
--with-mcrypt
--with-xml
--with-yp
--with-ldap
--enable-ftp
--with-ttf
--enable-sysvshm
--enable-sysvsem
--enable-url-fopen-wrapper=yes
--enable-versioning
--enable-dba
make compiles a PHP binary, but:
www@w3bus:/usr/local/src/baerli/php4 > ./php
Floating point exception (core dumped)
It dumps a php.core (536576 Bytes), but I don't know how to analyze it?
TIA, Björn.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7617