ID: 47473
Updated by: jani@php.net
Reported By: typo3 at maltejansen dot de
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows Vista
PHP Version: 5.3.0beta1
New Comment:
You can always try generating a backtrace of that crash yourself,
instructions are here: http://bugs.php.net/bugs-generating-backtrace
win32.php
It's propably easier to accomplish with better tools like valgrind on
any *nix system. Unless of course this happens only within win32 env.
Previous Comments:
------------------------------------------------------------------------
[2009-02-23 21:59:25] typo3 at maltejansen dot de
I'm not so deep in the development of the FLOW3-package. I'm just
developing an other package. The main part is developed on linux or
mac.
The constructor [1] is called twice and second time it seems to crash.
But just calling it twice does not crash it.
Is there a php-function, which shows the content, which was set via
set_error_handler()? I have not found one...
[1]
http://forge.typo3.org/repositories/entry/package-flow3/trunk/Classes/Error/ErrorHandler.php
------------------------------------------------------------------------
[2009-02-23 15:41:19] pajoye@php.net
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.
------------------------------------------------------------------------
[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] pajoye@php.net
\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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47473--
Edit this bug report at http://bugs.php.net/?id=47473&edit=1