Bug #53632 [Com]: PHP hangs on numeric value 2.2250738585072011e-308
| From: | chx1975 at gmail dot com | Date: | Tue, 04 Jan 2011 11:21:53 +0000 |
| Subject: | Bug #53632 [Com]: PHP hangs on numeric value 2.2250738585072011e-308 | ||
| References: | 1 | Groups: | php.bugs php.bugs |
| Request: | Send a blank email to php-bugs+get-157548@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53632&edit=1
ID: 53632
Comment by: chx1975 at gmail dot com
Reported by: exploringbinary at gmail dot com
Summary: PHP hangs on numeric value 2.2250738585072011e-308
Status: Assigned
Type: Bug
Package: Math related
PHP Version: 5.3.4
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
Excellent analysis at http://news.ycombinator.com/item?id=2066084
Previous Comments:
------------------------------------------------------------------------
[2011-01-04 10:57:51] stuart dot caie at gmail dot com
Appears to hang when compiled for 32bit Intel code, but not 64bit code.
Hangs in zend_strtod() according to gdb.
------------------------------------------------------------------------
[2011-01-04 10:17:02] pajoye@php.net
Happens here too 64bit CPU 32bit builds (win or linux)
------------------------------------------------------------------------
[2011-01-04 09:54:26] rasmus@php.net
How about -O2 -ffloat-store ?
------------------------------------------------------------------------
[2011-01-04 09:37:07] scottmac@php.net
looking like a gcc optimizer bug, -O0 is fine where -O2 hangs
------------------------------------------------------------------------
[2011-01-04 09:02:31] scottmac@php.net
This only seems to affect 32-bit systems.
------------------------------------------------------------------------
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