Edit report at http://bugs.php.net/bug.php?id=53632&edit=1

 ID:                 53632
 Comment by:         stuart dot caie 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:

Appears to hang when compiled for 32bit Intel code, but not 64bit code.



Hangs in zend_strtod() according to gdb.


Previous Comments:
------------------------------------------------------------------------
[2011-01-04 10:17:02] paj...@php.net

Happens here too 64bit CPU 32bit builds (win or linux)

------------------------------------------------------------------------
[2011-01-04 09:54:26] ras...@php.net

How about -O2 -ffloat-store ?

------------------------------------------------------------------------
[2011-01-04 09:37:07] scott...@php.net

looking like a gcc optimizer bug, -O0 is fine where -O2 hangs

------------------------------------------------------------------------
[2011-01-04 09:02:31] scott...@php.net

This only seems to affect 32-bit systems.

------------------------------------------------------------------------
[2011-01-04 08:59:21] yuv dot adm at gmail dot com

Check out the strace:



  lstat64("/home/ubuntu/junk/p.php", {st_mode=S_IFREG|0644, st_size=59,
...}) = 0

  lstat64("/home/ubuntu/junk", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0

  lstat64("/home/ubuntu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
0

  lstat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

  ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe51238) = -1  ENOTTY
(Inappropriate ioctl for device)

  fstat64(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0

  mmap2(NULL, 68, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb78d1000



and then it hangs...

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


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

Reply via email to