ID: 47473 Updated by: [email protected] Reported By: typo3 at maltejansen dot de Status: Open Bug Type: Reproducible crash Operating System: Windows Vista PHP Version: 5.3.0beta1 New Comment:
Please provide a small (or the smallest possible script) script to reproduce your problem. Do not take it too badly but I do not have the time to fetch and install Flow3 (or any dependency). We really need a self contained script to be able to efficiently fix this bug. It is easy to crash an app but not to create a small script, and as you know this app better than us... :) By the way, the SSL certificate for this URL is not valid. Previous Comments: ------------------------------------------------------------------------ [2009-02-23 15:31:00] typo3 at maltejansen dot de 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 ------------------------------------------------------------------------ [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
