php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22547 oci_close_session problem
Submitted: 2003-03-05 04:17 UTC Modified: 2003-07-04 02:08 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: php at harsani dot sk Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.3.2-dev OS: windows 5.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at harsani dot sk
New email:
PHP Version: OS:

 

 [2003-03-05 04:17 UTC] 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;
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-05 06:49 UTC] 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-07 01:56 UTC] mbretter@php.net
this bug also occurs with PHP4.3.0
 [2003-03-10 03:00 UTC] 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-11 01:40 UTC] mbretter@php.net
I tried it with a stable snapshot from 11.03.2003 and the problem still exists.
 [2003-07-04 02:08 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC