Re: PHP 4.0 Bug #5105 Updated: Crash in session module (Arithmetic exception)
| From: | Jon Parise | Date: | Sun, 18 Jun 2000 00:41:03 +0000 |
| Subject: | Re: PHP 4.0 Bug #5105 Updated: Crash in session module (Arithmetic exception) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21656@lists.php.net to get a copy of this message | ||
On Sat, Jun 17, 2000 at 05:38:14PM -0700, Rasmus Lerdorf wrote:
> > > Full Bug description available at:
> > > http://bugs.php.net/version4/?id=5105
> >
> > Yes, I just updated again, and it still crashes whenever it tries
> > to create a session. PHP 4.0.0 works fine.
>
> Ah, so it worked in 4.0.0 but broke later in CVS? Interesting. The
> change that probably affected this is this:
>
> In zend.c around line 330:
>
> #ifdef __FreeBSD__
> /* FreeBSD floating point precision fix */
> fpsetmask(FP_X_IMP);
> #endif
>
> Try commenting out that fpsetmask() call to see if that is what is causing
> this.
Yes, that was the problem. It's working fine now.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member