ID: 11363 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Old Bug Type: *Encryption and hash functions Bug Type: Reproducible crash Operating System: Cobalt OS 4.0 PHP Version: 4.0.5/6 New Comment:
Fixed in CVS. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-06-29 03:59:15] [EMAIL PROTECTED] sorry, that should be HAVE_SRANDOM 1 -Glen ------------------------------------------------------------------------ [2001-06-29 03:57:57] [EMAIL PROTECTED] These are taken from the 4.0.6 release ( which has the same problem as 4.0.5 ): HAVE_RANDOM 1 HAVE_SRAND48 1 ------------------------------------------------------------------------ [2001-06-28 23:13:08] [EMAIL PROTECTED] What are these constants set as in your main/php_config.h: HAVE_SRANDOM HAVE_SRAND48 --Jani ------------------------------------------------------------------------ [2001-06-15 10:19:06] [EMAIL PROTECTED] Here is the output I get from gdb: Starting program: /usr/sbin/httpd -X Program received signal SIGFPE, Arithmetic exception. 0x2ae4c000 in php_minit_crypt (type=1, module_number=2) at crypt.c:105 105 php_srand(time(0) * getpid() * (php_combined_lcg() * 10000.0)); ------------------------------------------------------------------------ [2001-06-08 13:44:17] [EMAIL PROTECTED] I configured PHP4.0.5 with: ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr which configured fine. I compiled and installed with no problems. When I came to restart Apache ( version 1.3.3 ), with /etc/rc.d/init.d/httpd restart I get: Shutting down http: httpd Starting http: httpd which usually indicates Apache has restarted okay. However, Apache is now not running and I cannot access any webpages on the server. The server is a Cobalt Qube2. Many thanks, Glen Scott ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11363&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]