#22547 [Opn]: oci_close_session problem
| From: | mbretter@php.net | Date: | Tue, 11 Mar 2003 07:40:25 +0000 |
| Subject: | #22547 [Opn]: oci_close_session problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35325@lists.php.net to get a copy of this message | ||
ID: 22547
Updated by: mbretter@php.net
Reported By: php at harsani dot sk
Status: Open
Bug Type: OCI8 related
Operating System: windows 5.1
-PHP Version: 4.3.0
+PHP Version: 4.3.2-dev
New Comment:
I tried it with a stable snapshot from 11.03.2003 and the problem still
exists.
Previous Comments:
------------------------------------------------------------------------
[2003-03-10 03:00:42] mbretter@php.net
Here's the output with ociinternaldebug = on:
OCIDebug: _oci_open_server new conn=0 dname=cubix.bitmedia.cc
OCIDebug: _oci_open_session new sess=2 user=cubixdev
OCIDebug: oci_do_connect: id=3
OCIDebug: _oci_open_session new sess=4 user=cubixdev
OCIDebug: oci_do_connect: id=5
OCIDebug: START _oci_conn_list_dtor: id=5
OCIDebug: nothing to do..
OCIDebug: START _oci_close_session: logging-off sess=4
OCIDebug: END _oci_conn_list_dtor: id=5
OCIDebug: _oci_open_session new sess=6 user=cubixdev
OCIDebug: oci_do_connect: id=7
OCIDebug: START php_rshutdown_oci
OCIDebug: END php_rshutdown_oci
OCIDebug: START _oci_conn_list_dtor: id=3
OCIDebug: nothing to do..
OCIDebug: START _oci_close_session: logging-off sess=6
OCIDebug: END _oci_conn_list_dtor: id=3
OCIDebug: START _oci_conn_list_dtor: id=7
OCIDebug: nothing to do..
OCIDebug: END _oci_conn_list_dtor: id=7
OCIDebug: START _oci_close_session: logging-off sess=6
Warning: _oci_close_session: OCISessionEnd: OCI_INVALID_HANDLE in
Unknown on line 0
OCIDebug: START php_mshutdown_oci
OCIDebug: START _oci_close_server: detaching conn=1
dbname=cubix.bitmedia.cc
OCIDebug: END php_mshutdown_oci
------------------------------------------------------------------------
[2003-03-07 01:56:53] mbretter@php.net
this bug also occurs with PHP4.3.0
------------------------------------------------------------------------
[2003-03-05 06:49:23] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Get 4.3.1.
------------------------------------------------------------------------
[2003-03-05 04:17:20] php at harsani dot sk
Warning: _oci_close_session: OCISessionEnd:
OCI_INVALID_HANDLE in Unknown on line 0
will be printed if at least one
persistent connection is made and some
non-persistent connection is closed.
but connection is closed ok. just php
at the end of execution tried to close
already closed connection.
example:
<?
ociinternaldebug(1);
$db1 = ociplogon('test', 'test');
$db2 = ocinlogon('test', 'test');
$db2=null;
$db3 = ocinlogon('test', 'test');
exit;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22547&edit=1