ID: 9459
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Reproduceable crash
Assigned To: 
Comments:

This is fixed in CVS. Try the latest snapshot from http://snaps.php.net/

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-02-26 07:48:18] [EMAIL PROTECTED]
After running standard (with apxs) commands from INSTALL script apache won't start - 
shows "Floating point exception - core dumped".
#gdb apache core
show:
 x2820a14e in php_minit_crypt (type=1, module_number=2) at crypt.c:109
109             srand48((unsigned int) time(0) * getpid() * (php_combined_lcg()
* 10000.0));

I've fixed this by changing sradn48 to srand (commented out ifdef lines), but I 
suppose that I should not use cryptography - it won't be secure.
I suppose that this is problem with srand48() on FreeBSD,  but I am not sure. Same 
problem mentioned by FreeBSD-4.0 users in mail list .
Note:
"- core dumped" string appeares if kern.corefile kernel variable is set to somethig 
other that /dev/null.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9459&edit=2


-- 
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]

Reply via email to