#45888 [Opn->Asn]: Refcounting in ZTS mode

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45888
 Updated by:       [email protected]
 Reported By:      [email protected]
-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] [email protected]

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.