#49867 [Com]: spl_autoload crashes when called in write function of custom sessionSaveHandler
| From: | laruence at yahoo dot com dot cn | Date: | Sat, 05 Dec 2009 07:45:23 +0000 |
| Subject: | #49867 [Com]: spl_autoload crashes when called in write function of custom sessionSaveHandler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145431@lists.php.net to get a copy of this message | ||
ID: 49867
Comment by: laruence at yahoo dot com dot cn
Reported By: nicolas dot lepage at yahoo dot fr
Status: No Feedback
Bug Type: SPL related
Operating System: *
PHP Version: 5.3.0
New Comment:
I can confirm this bug for PHP version 5.2.11 with apc enabled , and I
found why:
because the request shutdown function of apc is called before the
session moudule request shutdown function be called.
in which(apc shutdown function), will empty the EG(class_table),
(apc_main.c apc_deactivate function), so when the request shutdown
function of session was called , the class_table is empty,
and why core dump when spl_autoload enabled is also simply , because
when zif_spl_autoload was called , it use active_opline->op_code,
while the active_opline is NULL then..
you can find more info in:http://www.laruence.com/2009/12/05/1172.html
sorry for my poor english
Previous Comments:
------------------------------------------------------------------------
[2009-11-20 01:00:02] 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".
------------------------------------------------------------------------
[2009-11-13 18:05:48] tomas dot plesek at gmail dot com
I can confirm that on stock version of 5.3.0, this bug does NOT occur.
------------------------------------------------------------------------
[2009-11-12 23:01:35] felipe@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-11-12 20:16:21] daedalusvx at gmail dot com
I can confirm that this bug occurs on Ubuntu 9.10 with PHP 5.2.10, and
does NOT occur on PHP 5.3.0 on OS X through MacPorts. Both have APC
installed and enabled.
------------------------------------------------------------------------
[2009-11-10 03:41:25] hevayo at gmail dot com
I also got this Error when I update from php 5.2.6 to php 5.2.10.
But I found out it only comes up if you have php-apc module enabled.
When you disable the apc module the error is not there
------------------------------------------------------------------------
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/49867
--
Edit this bug report at http://bugs.php.net/?id=49867&edit=1