ID:               49867
 Comment by:       tomas dot plesek at gmail dot com
 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:

This bug occured again on version 5.3.1 from dotdeb.org


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

[2010-01-08 13:32:05] anonymous at mail dot com

I found out that by adding a 'session_write_close()' call at the end of
my index.php, the problem seems to disappear.

I found this fix thanks to:

http://stackoverflow.com/questions/1364750/opcode-apc-xcache-zend-doctrine-and-autoloaders

and checked the source code of the Zend framework to find that the
writeClose() function basically only does a 'session_write_close()'
call.

Hope it helps..

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

[2010-01-04 12:59:32] rik dot meijer at moxio dot com

I can confirm that the submitted code to reproduce this problem also 
'works' on a server without PHP APC installed (used <?php 
var_dump(function_exists('apc_add')); ?> to check). PHP version 
5.2.12.

Are there any other extensions that could cause this behavior?

Loaded extensions:
date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter,

ftp, gettext, gmp, session, iconv, pcntl, readline, Reflection, 
standard, shmop, SimpleXML, SPL, sockets, exif, tokenizer, xml, cgi-
fcgi, bcmath, curl, dba, dbase, dom, gd, htscanner, imap, json, ldap, 
mbstring, mcrypt, mhash, mysql, mysqli, pdf, PDO, pdo_mysql, 
pdo_pgsql, pdo_sqlite, pgsql, soap, wddx, xmlreader, xmlrpc, 
xmlwriter, xsl, zip, Zend Optimizer

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

[2009-12-05 07:45:22] laruence at yahoo dot com dot cn

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

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

[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.

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

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

Reply via email to