#45888 [Opn->Asn]: Refcounting in ZTS mode
| From: | tony2001@php.net | Date: | Fri, 22 Aug 2008 09:44:29 +0000 |
| Subject: | #45888 [Opn->Asn]: Refcounting in ZTS mode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128317@lists.php.net to get a copy of this message | ||
ID: 45888
Updated by: tony2001@php.net
Reported By: sixd@php.net
-Status: Open
+Status: Assigned
Bug Type: OCI8 related
Operating System: n/a
PHP Version: 5.3.0alpha1
-Assigned To:
+Assigned To: sixd
New Comment:
Don't forget to apply the patch =)
Previous Comments:
------------------------------------------------------------------------
[2008-08-22 05:15:02] sixd@php.net
Description:
------------
Tony debugged this after a user report of a problem:
"There seem to be an issue in OCI8 (in ZTS mode only). We close all
the connections forcibly in certain order, but it seems this procedure
is wrong. In case if a connection is opened twice (using
oci_connect() with the same details), it has refcount == 2 and one
refcount-- is not enough to delete it, so this session stays open in
the process list."
Tony has a patch. It is currently being reviewed.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45888&edit=1