ID:               47473
 User updated by:  typo3 at maltejansen dot de
 Reported By:      typo3 at maltejansen dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Windows Vista
 PHP Version:      5.3.0beta1
 New Comment:

Here you can download the source:
https://svn.typo3.org/FLOW3/Distribution/trunk/

Just the set your server to the "Public"-Directory.
And call e.g. http://localhost/ (you should see the welcome screen)
Than call http://localhost/Testing/ (should crash!!!)

The origin of the crash is located in in the constructor of
Packages/Global/FLOW3/Classes/Error/ErrorHandler.php.

http://localhost/Testing/ ->
Packages/Global/Testing/Classes/Controller/DefaultController.php


Previous Comments:
------------------------------------------------------------------------

[2009-02-23 09:30:18] [email protected]

\php53vc6ts>php ..\php53snapvc9\47473.php

Warning: set_error_handler() expects the argument
(ErrorHandler::handleError) to be a valid callback in
C:\Users\pierre\Documents\test\php53snapvc9\47473.php on line 4


I suppose it happens in typo3 under certain conditions and not simply
with the code you gave here. Please provide a full script to reproduce
the crash.


------------------------------------------------------------------------

[2009-02-23 09:23:10] typo3 at maltejansen dot de

I just tested it with

PHP 5.3 - Windows x86 VC6 (thread safe))  [12.41MB] - 2009-Feb-23
08:00:00

and it still crashes...

By the way, the crash is confirmed by several other users:

http://lists.netfielders.de/pipermail/typo3-project-5_0-general/2009-February/001878.html

------------------------------------------------------------------------

[2009-02-22 21:24:33] [email protected]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

[2009-02-22 14:36:49] typo3 at maltejansen dot de

Description:
------------
set_error_handler() using set_error_handler. The bug occured first in
php5.3alpha2. In php5.3alpha3 it seemed to be solved. But in beta1 it's
there again.
(I could not find the old bug.) So please link it to the other one.

Reproduce code:
---------------
class ErrorHandler {
        public function __construct() {
                set_error_handler(array($this, 'handleError'));
        }
...
}


Expected result:
----------------
Should not crash.

Actual result:
--------------
Crash.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47473&edit=1

Reply via email to