ID:               45888
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         OCI8 related
 Operating System: n/a
 PHP Version:      5.3.0alpha1
 Assigned To:      sixd
 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.

---------------------
I wasn't able to reproduce this on Linux.  I wonder if it is related to
another known problem with LOB refcounting in ZTS mode?

I merged Tony's/Sree's change that adds a loop during RSHUTDOWN and
fixes the connection count globals.


Previous Comments:
------------------------------------------------------------------------

[2008-08-22 09:44:28] [EMAIL PROTECTED]

Don't forget to apply the patch =)

------------------------------------------------------------------------

[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

Reply via email to