#38473 [Opn->Csd]: Resources destructions problem
| From: | iliaa@php.net | Date: | Tue, 22 Aug 2006 16:47:58 +0000 |
| Subject: | #38473 [Opn->Csd]: Resources destructions problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101129@lists.php.net to get a copy of this message | ||
ID: 38473
Updated by: iliaa@php.net
Reported By: pierre dot php at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Session related
Operating System: linux
PHP Version: 5CVS-2006-08-16 (snap)
New Comment:
This bug has been fixed in CVS.
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.
Previous Comments:
------------------------------------------------------------------------
[2006-08-16 16:03:42] pierre dot php at gmail dot com
Description:
------------
You can reproduce the problem here:
http://blog.thepimp.net/misc/sessionmysql/session.php
You will get a random error (bad connection), the problem is due to the
destruction of the mysql resource before the call of the session
handlers.
The same code worked with 5.1 or earlier version of 5.2 (pre RC1).
Code to reproduce the problem:
http://blog.thepimp.net/misc/sessionmysql/session.php.txt
http://blog.thepimp.net/misc/sessionmysql/class.mysql.php.txt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38473&edit=1