php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30303 Crush Bug
Submitted: 2004-10-01 15:21 UTC Modified: 2004-10-08 17:43 UTC
Votes:2
Avg. Score:2.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: new_media_alex at mail dot ru Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.0.2 OS: Win XP & Unix
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
28 - 3 = ?
Subscribe to this entry?

 
 [2004-10-01 15:21 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-01 16:20 UTC] 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-08 17:23 UTC] 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-08 17:33 UTC] tony2001@php.net
Yes. And it was already reported before, so please do not duplicate reports.
 [2004-10-08 17:43 UTC] new_media_alex at mail dot ru
OK
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 10:01:32 2024 UTC