News for hackers. Stuff that matters.
Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308 by thamer on Tuesday January 04, 2011 @03:25AM (#2066311)
As the author said, it does hang in zend_strtod.c, and it seems to happen in 32-bit only.

Debug trace:

    #0  0x0832257f in mult (a=0xe1931e82, b=0x8781590)
        at /usr/src/php-5.3.3/Zend/zend_strtod.c:720
    #1  0x08322757 in pow5mult (b=0x8781590, k=1)
        at /usr/src/php-5.3.3/Zend/zend_strtod.c:803
    #2  0x08324443 in zend_strtod (s00=0xb7a7d01d "e-308;\n?>\n", se=0x0)
        at /usr/src/php-5.3.3/Zend/zend_strtod.c:2352
    #3  0x082e03ce in lex_scan (zendlval=0xbf94dd34, tsrm_ls=0x8648050)
        at Zend/zend_language_scanner.l:1382
    #4  0x082fa849 in zendlex (zendlval=0xbf94dd30, tsrm_ls=0x8648050)
        at /usr/src/php-5.3.3/Zend/zend_compile.c:4942
    #5  0x082dcc47 in zendparse (tsrm_ls=0x8648050)
        at /usr/src/php-5.3.3/Zend/zend_language_parser.c:3280
    #6  0x082dd232 in compile_file (file_handle=0xbf9502d0, type=8, 
        tsrm_ls=0x8648050) at Zend/zend_language_scanner.l:354
    #7  0x081ad3cc in phar_compile_file (file_handle=0xbf9502d0, type=8, 
        tsrm_ls=0x8648050) at /usr/src/php-5.3.3/ext/phar/phar.c:3393
    #8  0x0830acc5 in zend_execute_scripts (type=8, tsrm_ls=0x8648050, retval=0x0, 
        file_count=3) at /usr/src/php-5.3.3/Zend/zend.c:1186
    #9  0x082b660f in php_execute_script (primary_file=0xbf9502d0, 
        tsrm_ls=0x8648050) at /usr/src/php-5.3.3/main/main.c:2260
    #10 0x08388893 in main (argc=2, argv=0xbf9503b4)
        at /usr/src/php-5.3.3/sapi/cli/php_cli.c:1192
Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308 by ars on Tuesday January 04, 2011 @03:49AM (#2066353)
Here's the source for that file if you want to look at it: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/...