½Ã½ºÅÛ°ü¸®ÀÚÀÇ ½°ÅÍ Ä¿ÇǴнº Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
 FAQFAQ   °Ë»ö°Ë»ö   ¸â¹ö¸®½ºÆ®¸â¹ö¸®½ºÆ®   »ç¿ëÀÚ ±×·ì»ç¿ëÀÚ ±×·ì   »ç¿ëÀÚ µî·ÏÇϱâ»ç¿ëÀÚ µî·ÏÇϱâ 
 °³ÀÎ Á¤º¸°³ÀÎ Á¤º¸   ºñ°ø°³ ¸Þ½ÃÁö¸¦ È®ÀÎÇÏ·Á¸é ·Î±×ÀÎÇϽʽÿÀºñ°ø°³ ¸Þ½ÃÁö¸¦ È®ÀÎÇÏ·Á¸é ·Î±×ÀÎÇϽʽÿÀ   ·Î±×Àηα×ÀΠ

°¡ÀÔ¾øÀÌ ´©±¸³ª ±ÛÀ» ¾µ ¼ö ÀÖ½À´Ï´Ù. °øÁö»çÇ׿¡ ´ëÇÑ ´ñ±Û±îÁöµµ..




BBS >> ¼³Ä¡, ¿î¿µ Q&A | ³×Æ®¿÷, º¸¾È Q&A | ÀÏ¹Ý Q&A || Á¤º¸¸¶´ç | AWS || ÀÚÀ¯°Ô½ÃÆÇ | ±¸Àα¸Á÷ || °øÁö»çÇ× | ÀÇ°ßÁ¦½Ã
php°¡ hangµÇ´Â ¹ö±× (PHP 5.3.5/5.2.17 ¸±¸®Áî)

 
±Û ¾²±â   ´äº¯ ´Þ±â    Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ °Ô½ÃÆÇ À妽º -> *NIX / IT Á¤º¸
ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â  
±Û¾´ÀÌ ¸Þ½ÃÁö
truefeel
Ä«Æä °ü¸®ÀÚ


°¡ÀÔ: 2003³â 7¿ù 24ÀÏ
¿Ã¸° ±Û: 1277
À§Ä¡: ´ëÇѹα¹

¿Ã¸®±â¿Ã·ÁÁü: 2011.1.07 ±Ý, 11:43 am    ÁÖÁ¦: php°¡ hangµÇ´Â ¹ö±× (PHP 5.3.5/5.2.17 ¸±¸®Áî) Àοë°ú ÇÔ²² ´äº¯

ÃÖ±Ù php°¡ hangµÇ´Â Èï¹Ì·Î¿î(?)¹ö±×°¡ ¹ß°ßµÇ¾î PHP 5.3.5°ú 5.2.17 ¸±¸®Áî µÇ¾ú´Ù.



* PHP 5.3.5 Release Announcement
* PHP 5.2.17 Release Announcement

Àοë:

This release resolves a critical issue, reported as PHP bug #53632, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers.
The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit.

Security Enhancements and Fixes in PHP 5.3.5:
* Fixed bug #53632 (PHP hangs on numeric value 2.2250738585072011e-308). (CVE-2010-4645)


´ÙÀ½°ú °°Àº µÎ Á¶°ÇÀ» ÇÔ²² °®Ãß°í ÀÖ´Ù¸é ¹®Á¦°¡ ¹ß»ýÇÑ´Ù.

- x87 FPU ·¹Áö½ºÅ͸¦ »ç¿ëÇÏ´Â ½Ã½ºÅÛ
- ½Ã½ºÅÛÀÌ 32ºñÆ®ÀÎÁö 64ºñÆ®ÀÎÁö »ó°ü¾øÀÌ x86 32ºñÆ® php ÇÁ·Î¼¼½ºÀÏ ¶§

hangÀÌ °É¸± °æ¿ì CPU core 1°³¸¦ 100%Àâ¾Æ¸ÔÀ¸¸é¼­ load¸¦ ³ôÀδÙ. °á±¹ ÀÌ·± ¿äûÀ» ¸¹ÀÌ ¹Þ°Ô µÇ¸é ½Ã½ºÅÛÀº Á¤»óÀû 󸮸¦ ¸øÇÒ °ÍÀÌ´Ù.
°£´ÜÇÑ ¿¹¸¦ µé¾îº¸ÀÚ. À¥¿¡¼­ URLÀ» ÅëÇØ page= ³ª ¼ýÀÚÇüÀ» ³Ñ°Ü¹Þ´Â °æ¿ì°¡ ¸¹´Ù. ¾Æ·¡´Â °£´ÜÇÑ test.htmlÀÌ´Ù.

ÄÚµå:

<?
$p=$_GET[page] + 1;
?>


À§ÀÇ ¼Ò½º´Â ÀԷ°ª¿¡ ´ëÇÑ ÀûÇÕ¼º ÆÇ´ÜÀ» ÇÏÁö ¾Ê´Â´Ù. <µµ¸ÞÀÎ>/test.html?page=2.2250738585072011e-308 ¸¦ È£ÃâÇßÀ» ¶§
¸¸¾à ÇØ´ç hang¹ö±×°¡ ÀÖ´Â °æ¿ì¶ó¸é CPU load°¡ phpÀÇ ÁöÁ¤ÇÑ timeµ¿¾È ¿Ã¶ó°¥ °ÍÀÌ´Ù.

°ü¸®ÇÏ´Â ½Ã½ºÅÛÀÇ php°¡ Á¤»óµ¿ÀÛÇÏ´ÂÁö, hangÀÌ °É¸®´ÂÁö php Å×½ºÆ® ¼Ò½º¸¦ ¹Þ¾Æ¼­ È®ÀÎÇغ¸±â ¹Ù¶õ´Ù.
http://www.php.net/distributions/test_bug53632.txt

[ Á¤»ó ]
Àοë:

Testing float behaviour. If this script hangs or terminates with an error message due to maximum execution time limit being reached, you should update your PHP installation asap!
For more information refer to <http://bugs.php.net/53632>.
Your system seems to be safe.


[ hang ¹ß»ý. ¾÷±×·¹À̵å ÇÊ¿ä ]
Àοë:

Testing float behaviour. If this script hangs or terminates with an error message due to maximum execution time limit being reached, you should update your PHP installation asap!
For more information refer to <http://bugs.php.net/53632>.

Fatal error: Maximum execution time of 1 second exceeded in /home/cnx/test.php on line 35


¡Ø php 5.2.x´Â ´õÀÌ»ó Áö¿øÇÏÁö ¾Ê´Â´Ù°í ¹ßÇ¥¸¦ ÇßÀ¸³ª, ÀæÀº Áß¿ä ¹ö±×·Î php 5.2.16°ú 5.2.17ÀÌ ¿¬ÀÌ¾î ±ÞÇÏ°Ô ¹ßÇ¥°¡ µÇ¾ú´Ù.
À§·Î
»ç¿ëÀÚ Á¤º¸ º¸±â ºñ¹Ð ¸Þ½ÃÁö º¸³»±â ±Û ¿Ã¸°ÀÌÀÇ À¥»çÀÌÆ® ¹æ¹®
ÀÌÀü ±Û Ç¥½Ã:   
±Û ¾²±â   ´äº¯ ´Þ±â    Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ °Ô½ÃÆÇ À妽º -> *NIX / IT Á¤º¸ ½Ã°£´ë: GMT + 9 ½Ã°£(Çѱ¹)
ÆäÀÌÁö 1 Áß 1

 
°Ç³Ê¶Ù±â:  
»õ·Î¿î ÁÖÁ¦¸¦ ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù
´ä±ÛÀ» ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù
ÁÖÁ¦¸¦ ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù
¿Ã¸° ±ÛÀ» »èÁ¦ÇÒ ¼ö ¾ø½À´Ï´Ù
ÅõÇ¥¸¦ ÇÒ ¼ö ¾ø½À´Ï´Ù


Powered by phpBB © 2001, 2005 phpBB Group