ID: 46204
Updated by: [EMAIL PROTECTED]
Reported By: north at sublink dot ca
-Status: No Feedback
+Status: Bogus
Bug Type: Reproducible crash
Operating System: linux 2.6
PHP Version: 5.3.0alpha2
New Comment:
Ok, thanks.
Previous Comments:
------------------------------------------------------------------------
[2008-10-09 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-10-02 00:09:35] north at sublink dot ca
Tested on php5.3-win32-200809251104, and it worked as expected. No
segfault.
Anything else I should try?
------------------------------------------------------------------------
[2008-10-02 00:02:54] north at sublink dot ca
I've tried using the latest snapshot of 5.3 (php5.3-200810012230)
PHP 5.3.0alpha3-dev (cli) (built: Oct 1 2008 16:52:06)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
This still causes a segfault:
php -r 'spl_autoload_register(function($n){});new T();'
I`m running Ubuntu 8.04.1 inside of VirtualBox 2.0.2
Let me know if there is any other information that would be helpful.
------------------------------------------------------------------------
[2008-10-01 23:25:38] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.3-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.3-win32-installer-latest.msi
I can't reproduce it.
------------------------------------------------------------------------
[2008-09-30 17:48:56] north at sublink dot ca
Description:
------------
Using an lambda function as the argument to spl_autoload_register
causes a segfault.
When storing the lambda function in a variable though, it works fine:
<?php
$l = function($name){};
spl_autoload_register($l);
new O();
?>
Using a default install.
Reproduce code:
---------------
<?php
spl_autoload_register(function($name){});
new O();
?>
Expected result:
----------------
Fatal error: Class 'O' not found
Actual result:
--------------
Segmentation fault.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46204&edit=1