From: stephen_edmonds at btinternet dot com Operating system: Windows XP (SP2) PHP version: 4.3.9 PHP Bug Type: Reproducible crash Bug description: Ctype_digit causes apache to crash
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 bug report at http://bugs.php.net/?id=30276&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30276&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30276&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30276&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30276&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30276&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30276&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30276&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30276&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30276&r=support Expected behavior: http://bugs.php.net/fix.php?id=30276&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30276&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30276&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30276&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30276&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30276&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30276&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30276&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30276&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30276&r=mysqlcfg