Bug #53141 [Com]: autoload misbehaves if called from closing session

2011-05-20 Thread bugs dot php dot net at elyobo dot net
Edit report at http://bugs.php.net/bug.php?id=53141&edit=1

 ID: 53141
 Comment by: bugs dot php dot net at elyobo dot net
 Reported by:ladislav at marek dot su
 Summary:autoload misbehaves if called from closing session
 Status: Closed
 Type:   Bug
 Package:SPL related
 Operating System:   GNU Linux
 PHP Version:5.3SVN-2010-10-23 (SVN)
 Assigned To:felipe
 Block user comment: N
 Private report: N

 New Comment:

OK, thanks; I had the impression from this that it was specific to
mysqlnd, so I 

assumed that it wasn't present in the 5.2.x series (as it doesn't have
mysqlnd).


Previous Comments:

[2011-05-20 10:28:15] ladislav at marek dot su

This bug was fixed in PHP 5.3.4, so yours 5.3.3 and 5.2.10 is still
affected.



Its not caused by mysqlnd itself, it can be any other extension, which
affects 

order of how extensions are destroyed. You should update.


[2011-05-20 03:56:45] bugs dot php dot net at elyobo dot net

Also possibly relevant, calling spl_autoload_functions() in __sleep()
causes PHP 

to segfault in 5.3.3 (Debian version: 5.3.3-7+squeeze1) and the 5.2.10
version 

mentioned above.


[2011-05-20 03:54:27] bugs dot php dot net at elyobo dot net

I have the same problem in PHP 5.2.10 (Ubuntu version:
5.2.10.dfsg.1-2ubuntu6.5), 

which doesn't have mysqlnd.  I can work around it by doing my thing in 

__destruct() instead, which works, but I'm not sure that this bug is
only related 

to mysqlnd.


[2010-11-02 21:51:04] fel...@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=305038
Log: - Fixed config.m4 to complete the fix for bug #53141 (thanks
Johannes)


[2010-11-02 19:37:39] fel...@php.net

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.




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


Bug #53141 [Com]: autoload misbehaves if called from closing session

2011-05-19 Thread bugs dot php dot net at elyobo dot net
Edit report at http://bugs.php.net/bug.php?id=53141&edit=1

 ID: 53141
 Comment by: bugs dot php dot net at elyobo dot net
 Reported by:ladislav at marek dot su
 Summary:autoload misbehaves if called from closing session
 Status: Closed
 Type:   Bug
 Package:SPL related
 Operating System:   GNU Linux
 PHP Version:5.3SVN-2010-10-23 (SVN)
 Assigned To:felipe
 Block user comment: N
 Private report: N

 New Comment:

Also possibly relevant, calling spl_autoload_functions() in __sleep()
causes PHP 

to segfault in 5.3.3 (Debian version: 5.3.3-7+squeeze1) and the 5.2.10
version 

mentioned above.


Previous Comments:

[2011-05-20 03:54:27] bugs dot php dot net at elyobo dot net

I have the same problem in PHP 5.2.10 (Ubuntu version:
5.2.10.dfsg.1-2ubuntu6.5), 

which doesn't have mysqlnd.  I can work around it by doing my thing in 

__destruct() instead, which works, but I'm not sure that this bug is
only related 

to mysqlnd.


[2010-11-02 21:51:04] fel...@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=305038
Log: - Fixed config.m4 to complete the fix for bug #53141 (thanks
Johannes)


[2010-11-02 19:37:39] fel...@php.net

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.


[2010-11-02 19:34:58] fel...@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).




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


Bug #53141 [Com]: autoload misbehaves if called from closing session

2011-05-19 Thread bugs dot php dot net at elyobo dot net
Edit report at http://bugs.php.net/bug.php?id=53141&edit=1

 ID: 53141
 Comment by: bugs dot php dot net at elyobo dot net
 Reported by:ladislav at marek dot su
 Summary:autoload misbehaves if called from closing session
 Status: Closed
 Type:   Bug
 Package:SPL related
 Operating System:   GNU Linux
 PHP Version:5.3SVN-2010-10-23 (SVN)
 Assigned To:felipe
 Block user comment: N
 Private report: N

 New Comment:

I have the same problem in PHP 5.2.10 (Ubuntu version:
5.2.10.dfsg.1-2ubuntu6.5), 

which doesn't have mysqlnd.  I can work around it by doing my thing in 

__destruct() instead, which works, but I'm not sure that this bug is
only related 

to mysqlnd.


Previous Comments:

[2010-11-02 21:51:04] fel...@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=305038
Log: - Fixed config.m4 to complete the fix for bug #53141 (thanks
Johannes)


[2010-11-02 19:37:39] fel...@php.net

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.


[2010-11-02 19:34:58] fel...@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.




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