#30303 [Opn->Bgs]: Crush Bug

From: Date: Fri, 08 Oct 2004 15:33:19 +0000
Subject: #30303 [Opn->Bgs]: Crush Bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67302@lists.php.net to get a copy of this message
ID: 30303 Updated by: tony2001@php.net Reported By: new_media_alex at mail dot ru -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Win XP & Unix PHP Version: 5.0.2 New Comment: Yes. And it was already reported before, so please do not duplicate reports. Previous Comments: ------------------------------------------------------------------------ [2004-10-08 17:23:50] new_media_alex at mail dot ru It's REALY BUG! <?php switch($_GET["a"]) { default: function cool() {} // You may place cool() fuction call here cool(); } cool(); // Or here :) ?> ------------------------------------------------------------------------ [2004-10-01 16:20:53] derick@php.net Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. . ------------------------------------------------------------------------ [2004-10-01 15:21:50] new_media_alex at mail dot ru 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 this bug report at http://bugs.php.net/?id=30303&edit=1

« previous php.bugs (#67302) next »