From: new_media_alex at mail dot ru Operating system: Win XP & Unix PHP version: 5.0.2 PHP Bug Type: Scripting Engine problem Bug description: Crush Bug
Description: ------------ Hangin up PHP as apache module E-Mail ME!!!! Reproduce code: --------------- <?php switch($some) { default: function cool() {} // You may place cool() fuction call here // cool(); } cool(); // Or here :) ?> Expected result: ---------------- Nothing Actual result: -------------- On Windows: http://kadabra.h12.ru/_img/ (ap2_php5.png) Apche Log Unix [Mandrake Linux 10.0 Apache 1.3.31 + PHP 5.1]: [Wed Sep 29 08:19:12 2004] [notice] child pid 2181 exit signal Segmentation fault (11) [Wed Sep 29 08:19:12 2004] [notice] child pid 2190 exit signal Segmentation fault (11) Windows [XP Apache 2.50 + PHP 5.2]: [Wed Sep 29 08:24:38 2004] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Sep 29 08:24:38 2004] [notice] Parent: Created child process 1564 [Wed Sep 29 08:24:38 2004] [notice] Child 1564: Child process is running [Wed Sep 29 08:24:38 2004] [notice] Child 1564: Acquired the start mutex. [Wed Sep 29 08:24:38 2004] [notice] Child 1564: Starting 250 worker threads. -- Edit bug report at http://bugs.php.net/?id=30303&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30303&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30303&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30303&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30303&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30303&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30303&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30303&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30303&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30303&r=support Expected behavior: http://bugs.php.net/fix.php?id=30303&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30303&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30303&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30303&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30303&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30303&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30303&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30303&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30303&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30303&r=mysqlcfg