Re: PHP 4.0 Bug #9459 Updated: Floating point exception upon apache start
| From: | Michael Kondrashin | Date: | Mon, 26 Feb 2001 13:22:42 +0000 |
| Subject: | Re: PHP 4.0 Bug #9459 Updated: Floating point exception upon apache start | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-47556@lists.php.net to get a copy of this message | ||
Dear Jani,
Thank You.
Best regards,
Michael Kondrashin
----- Original Message -----
From: Bug Database <php-dev@lists.php.net>
To: <mkondrashin@apl.ru>
Sent: Monday, February 26, 2001 16:18
Subject: PHP 4.0 Bug #9459 Updated: Floating point exception upon apache
start
> ID: 9459
> Updated by: sniper
> Reported By: mkondrashin@apl.ru
> 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] mkondrashin@apl.ru
> 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
>
>