From:             sskaje at gmail dot com
Operating system: windows xp sp 2
PHP version:      5.3CVS-2008-03-24 (snap)
PHP Bug Type:     Apache2 related
Bug description:  throw a exception make apache down

Description:
------------
i downloaded the php 5.3-dev and configured it work with apache 2.2.8.
But when i try to throw a exception like 
[code]
<?php
class myException extends Exception
{
  function __construct($msg, $code=0)
  {
    parent::__construct($msg, $code);
  }
}

throw new myException('a');
?>
[/code]

or

[code]
<?php
throw new exception('a');
?>
[/code]
httpd.exe reports an error:
[code]
szAppName : httpd.exe     szAppVer : 2.2.8.0     szModName : unknown     
szModVer : 0.0.0.0     offset : 00000000 
[/code]

i checked the latest apache error log:
[code]

[Mon Mar 24 18:46:01 2008] [notice] Apache/2.2.8 (Win32) configured --
resuming normal operations
[Mon Mar 24 18:46:01 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Mar 24 18:46:01 2008] [notice] Parent: Created child process 1372
[Mon Mar 24 18:46:01 2008] [notice] Child 1372: Child process is running
[Mon Mar 24 18:46:01 2008] [notice] Child 1372: Acquired the start mutex.
[Mon Mar 24 18:46:01 2008] [notice] Child 1372: Starting 64 worker
threads.
[Mon Mar 24 18:46:01 2008] [notice] Child 1372: Starting thread to listen
on port 80.
Error in my_thread_global_end(): 66 threads didn't exit
[Mon Mar 24 18:52:21 2008] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Mon Mar 24 18:52:21 2008] [notice] Apache/2.2.8 (Win32) configured --
resuming normal operations
[Mon Mar 24 18:52:21 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Mar 24 18:52:21 2008] [notice] Parent: Created child process 3432
[Mon Mar 24 18:52:21 2008] [notice] Child 3432: Child process is running
[Mon Mar 24 18:52:21 2008] [notice] Child 3432: Acquired the start mutex.
[Mon Mar 24 18:52:21 2008] [notice] Child 3432: Starting 64 worker
threads.
[Mon Mar 24 18:52:21 2008] [notice] Child 3432: Starting thread to listen
on port 80.
[/code]


-- 
Edit bug report at http://bugs.php.net/?id=44517&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44517&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44517&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44517&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44517&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44517&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44517&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44517&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44517&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44517&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44517&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44517&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44517&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44517&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44517&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44517&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44517&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44517&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44517&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44517&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44517&r=mysqlcfg

Reply via email to