Bug #53141 [Opn->Csd]: autoload misbehaves if called from closing session
Edit report at http://bugs.php.net/bug.php?id=53141&edit=1
ID: 53141
Updated by: felipe@php.net
Reported by: ladislav at marek dot su
Summary: autoload misbehaves if called from closing session
-Status: Open
+Status: Closed
Type: Bug
Package: SPL related
Operating System: GNU Linux
PHP Version: 5.3SVN-2010-10-23 (SVN)
-Assigned To:
+Assigned To: felipe
Block user comment: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Thanks for the patch, I committed a slighty modified version, I changed
OPTIONAL to REQUIRED as SPL is not disableable.
Previous Comments:
------------------------------------------------------------------------
[2010-11-02 19:34:58] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=305034
Log: - Fixed bug #53141 (autoload misbehaves if called from closing
session)
patch by: ladislav at marek dot su
------------------------------------------------------------------------
[2010-11-01 19:17:13] ladislav at marek dot su
It looks like that --with-mysql=mysqlnd configuration causes different
order of
extensions, so SPL extension is destroyed before the session is.
Adding session dependency to SPL fixes this bug (I'm not sure if is it
correct
way).
------------------------------------------------------------------------
[2010-10-24 13:51:55] ladislav at marek dot su
I can reproduce it with '--with-mysql=mysqlnd' configuration.
------------------------------------------------------------------------
[2010-10-23 17:38:12] ladislav at marek dot su
I updated PHP from the SVN (rev 304664). With PHP compiled only with
"--with-config-file-path=/etc/php" script runs as
expected, but fails with configure options:
--with-config-file-path=/etc/php --with-openssl --with-kerberos
--with-zlib --enable-bcmath --with-bz2 --with-curl --with-
curlwrappers --enable-dba --enable-ftp --with-gd
--with-jpeg-dir=/usr/include --with-png-dir=/usr/include --with-zlib-
dir=/usr/include --with-xpm-dir=/usr/include
--with-freetype-dir=/usr/lib --enable-gd-native-ttf --with-gettext
--with-mhash
--with-imap --with-imap-ssl --with-ldap --enable-mbstring --with-mcrypt
--with-mysql=mysqlnd --with-mysqli=mysqlnd --with-
pdo-mysql=mysqlnd --with-pdo-pgsql --with-pgsql --enable-shmop
--enable-soap --enable-sockets --enable-sqlite-utf8 --enable-
sysvmsg --with-tidy --with-xmlrpc --with-xsl --enable-zip --enable-intl
--enable-fpm
------------------------------------------------------------------------
[2010-10-23 16:55:02] felipe@php.net
I got the expected result when testing on the 5.3 SVN version. Are you
actually using the lastest SVN version?
------------------------------------------------------------------------
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/bug.php?id=53141
--
Edit this bug report at http://bugs.php.net/bug.php?id=53141&edit=1
Thread (10 messages)