Edit report at http://bugs.php.net/bug.php?id=53632&edit=1
ID: 53632 Updated by: paj...@php.net Reported by: exploringbinary at gmail dot com Summary: PHP hangs on numeric value 2.2250738585072011e-308 -Status: Closed +Status: Assigned Type: Bug Package: Math related PHP Version: 5.3.4 -Assigned To: scottmac +Assigned To: pajoye Block user comment: N Private report: N New Comment: Taking the hand, another bug (crash) happens here. Will post bt&co as soon as possible. Previous Comments: ------------------------------------------------------------------------ [2011-01-05 00:19:33] scott...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2011-01-04 23:36:26] scott...@php.net Automatic comment from SVN on behalf of scottmac Revision: http://svn.php.net/viewvc/?view=revision&revision=307095 Log: Fix bug #53632 with x87 fpu ------------------------------------------------------------------------ [2011-01-04 20:21:00] aloucks at cofront dot net PHP 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010 03:25:57) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies The bug is NOT present in this version. ------------------------------------------------------------------------ [2011-01-04 19:30:56] ras...@php.net Guys, we already know the problem. We are hitting an annoying x87 FPU design flaw. You can read all about it here if you are interested: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 And there is a good paper on it here: http://hal.archives-ouvertes.fr/docs/00/28/14/29/PDF/floating-point-article.pdf We don't need any more compile reports. If you are on an architecture that uses the x87 FPU and you haven't forced SSE or float-store then you will see this problem. ------------------------------------------------------------------------ [2011-01-04 19:11:29] hieu dot ld at vnnb dot net Re: last comment, I believe "-mfpmath=sse" did the trick. apologies for cluttering the bug report. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=53632 -- Edit this bug report at http://bugs.php.net/bug.php?id=53632&edit=1