ID: 30276 Updated by: [EMAIL PROTECTED] Reported By: stephen_edmonds at btinternet dot com -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: Windows XP (SP2) PHP Version: 4.3.9 New Comment:
This bug has been fixed in CVS. 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. Previous Comments: ------------------------------------------------------------------------ [2004-09-29 15:41:16] stephen_edmonds at btinternet dot com Description: ------------ When ctype_digit is passed a large number, it causes the apache child thread to terminate with the code "3221225477". When apache tries to restart the child thread, it crashes with the same code about 20 seconds later. The only way to stop this crash cycle is to shutdown/restart the apache server. This bug was supposedly fixed in bug #29226 - but php 4.3.9 still seems to be effected. Reproduce code: --------------- <? // WARNING - This may crash your apache server // // Notice there are no " " around the number // print ctype_digit( 1094164380 ); ?> Expected result: ---------------- true Actual result: -------------- The apache child thread will crash. When the child is re-started by apache, it will crash 20 seconds later. This will continue to happen until the apache server is shutdown or restarted. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30276&edit=1