ID:               32325
 User updated by:  ldixon at communityconnect dot com
 Reported By:      ldixon at communityconnect dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         OCI8 related
 Operating System: Fedora Core release 2 (Tettnang)
 PHP Version:      5.0.3
 New Comment:

[ldixon: ~/download/php5-200503221330]$ gdb sapi/cli/php
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
 
(gdb) run /home/ldixon/devel/ctk/collections/coll_test_pure_pure.php
Starting program: /home/ldixon/download/php5-200503221330/sapi/cli/php
/home/ldixon/devel/ctk/collections/coll_test_pure_pure.php
[Thread debugging using libthread_db enabled]
[New Thread -1208073568 (LWP 17322)]
Detaching after fork from child process 17325.
OCIDebug: _oci_open_server new conn=0 dname=<br />
OCIDebug: _oci_open_session new sess=5 user=ctk_main<br />
OCIDebug: oci_do_connect: id=6<br />
OCIDebug: oci_parse "
        begin
            select ut_num_list_t(1,2,3,4) into :list from dual;
        end;" id=7 conn=6<br />
about to execute...
kgepop: no error frame to pop to for error 21522
OCI-21522: attempted to use an invalid connection in OCI (object mode
only)
Errors in file :
OCI-21522: attempted to use an invalid connection in OCI (object mode
only)
 
 
----- Call Stack Trace -----
Cannot open /proc/17322/exe.
calling              call     entry                argument values in
hex
location             type     point                (? means dubious
value)
-------------------- -------- --------------------
----------------------------
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
Cannot find symbol in /proc/17322/exe.
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208073568 (LWP 17322)]
0x0144fc08 in slrac () from
/opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
(gdb) bt
#0  0x0144fc08 in slrac ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#1  0x014a2d33 in kgdsaaddr ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#2  0x014a27ae in kgdsdst ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#3  0x0107a60c in skgudmp ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#4  0x014849be in kgepop ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#5  0x0148513a in kgesev ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#6  0x01484f3f in kgesec0 ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#7  0x0131ca90 in kodogr2lt ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#8  0x012a72bc in kosindcv ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#9  0x012a6d36 in kosiend ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#10 0x012a8115 in kpctor ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#11 0x012bd5fa in ttca2p ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#12 0x0128a850 in ttcacr ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#13 0x0128b723 in ttcdrv ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#14 0x0115c8e9 in nioqwa ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#15 0x00fe0b56 in upirtrc ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#16 0x00f7780d in kpurcsc ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#17 0x00f33fb8 in kpuexecv8 ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#18 0x00f35e84 in kpuexec ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#19 0x00faa65e in OCIStmtExecute ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#20 0x080e2a8a in oci_execute (statement=0x858fe3c,
    func=0x82f1167 "OCIExecute", mode=32)
    at /home/ldixon/download/php5-200503221330/ext/oci8/oci8.c:1709
#21 0x080ecac3 in zif_oci_execute (ht=1, return_value=0x853d7f4,
this_ptr=0x0,
    return_value_used=0)
    at /home/ldixon/download/php5-200503221330/ext/oci8/oci8.c:5556
#22 0x08251228 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbfffd1e0)
    at zend_vm_execute.h:175
#23 0x08253cbc in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0xbfffd1e0)
    at zend_vm_execute.h:1535
#24 0x08250f42 in execute (op_array=0x85493e4) at zend_vm_execute.h:78
#25 0x0822cd68 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /home/ldixon/download/php5-200503221330/Zend/zend.c:1059
#26 0x081ece32 in php_execute_script (primary_file=0xbffff5f0)
    at /home/ldixon/download/php5-200503221330/main/main.c:1635
#27 0x082a0130 in main (argc=2, argv=0xbffff6c4)
    at /home/ldixon/download/php5-200503221330/sapi/cli/php_cli.c:951
(gdb) frame 24
#24 0x08250f42 in execute (op_array=0x85493e4) at zend_vm_execute.h:78
78                      if (EX(opline)->handler(&execute_data
TSRMLS_CC) > 0) {
(gdb) print (char
*)(executor_globals.function_state_ptr->function)->common.function_name
$1 = 0x82eeeaa "oci_execute"


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

[2005-03-21 23:32:31] [EMAIL PROTECTED]

Please use the snapshot when you create the backtrace..


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

[2005-03-20 23:15:49] ldixon at communityconnect dot com

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208073568 (LWP 28249)]
0x0144fc08 in slrac () from
/opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
(gdb) bt
#0  0x0144fc08 in slrac ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#1  0x014a2d33 in kgdsaaddr ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#2  0x014a27ae in kgdsdst ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#3  0x0107a60c in skgudmp ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#4  0x014849be in kgepop ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#5  0x0148513a in kgesev ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#6  0x01484f3f in kgesec0 ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#7  0x0131ca90 in kodogr2lt ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#8  0x012a72bc in kosindcv ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#9  0x012a6d36 in kosiend ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#10 0x012a8115 in kpctor ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#11 0x012bd5fa in ttca2p ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#12 0x0128a850 in ttcacr ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#13 0x0128b723 in ttcdrv ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#14 0x0115c8e9 in nioqwa ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#15 0x00fe0b56 in upirtrc ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#16 0x00f7780d in kpurcsc ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#17 0x00f33fb8 in kpuexecv8 ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#18 0x00f35e84 in kpuexec ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#19 0x00faa65e in OCIStmtExecute ()
   from /opt/oracle/product/10.1.0.3/lib/libclntsh.so.10.1
#20 0x080cd528 in oci_execute (statement=0x100, func=0x823d162
"OCIExecute",
    mode=32) at /home/ldixon/download/php-5.0.3/ext/oci8/oci8.c:1709
#21 0x080d441b in zif_oci_execute (ht=1, return_value=0x845e1f4,
this_ptr=0x0,
    return_value_used=0)
    at /home/ldixon/download/php-5.0.3/ext/oci8/oci8.c:5552
#22 0x081e6b18 in zend_do_fcall_common_helper
(execute_data=0xbfffd240,
    opline=0x846ccb8, op_array=0x8467ff4)
    at /home/ldixon/download/php-5.0.3/Zend/zend_execute.c:2711
#23 0x081e6c6e in zend_do_fcall_handler (execute_data=0xbfffd240,
    opline=0x846ccb8, op_array=0x8467ff4)
    at /home/ldixon/download/php-5.0.3/Zend/zend_execute.c:2843
#24 0x081e382b in execute (op_array=0x8467ff4)
    at /home/ldixon/download/php-5.0.3/Zend/zend_execute.c:1400
#25 0x081c65e1 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /home/ldixon/download/php-5.0.3/Zend/zend.c:1069
#26 0x081934e2 in php_execute_script (primary_file=0xbffff610)
    at /home/ldixon/download/php-5.0.3/main/main.c:1628
#27 0x081ef31e in main (argc=2, argv=0xbffff6d4)
    at /home/ldixon/download/php-5.0.3/sapi/cli/php_cli.c:943


(gdb) frame 24
#24 0x081e382b in execute (op_array=0x8467ff4)
    at /home/ldixon/download/php-5.0.3/Zend/zend_execute.c:1400
1400                    if (EX(opline)->handler(&execute_data,
EX(opline), op_array TSRMLS_CC)) {
(gdb) print (char
*)(executor_globals.function_state_ptr->function)->common.function_name
$1 = 0x823c1c2 "oci_execute"

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

[2005-03-19 12:17:58] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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

[2005-03-18 21:10:10] ldixon at communityconnect dot com

I tried the using the source from the link you provided, and I get the
same error (at the execute call).  I left the stack trace out for
brevity:

[ldixon: ~/download/php5-200503181730]$ sapi/cli/php
/home/ldixon/devel/ctk/collections/coll_test_pure_pure.php
OCIDebug: _oci_open_server new conn=0 dname=<br />
OCIDebug: _oci_open_session new sess=5 user=ctk_main<br />
OCIDebug: oci_do_connect: id=6<br />
OCIDebug: oci_parse "
        begin
            select ut_num_list_t(1,2,3,4) into :list from dual;
        end;" id=7 conn=6<br />
about to execute...
kgepop: no error frame to pop to for error 21522
OCI-21522: attempted to use an invalid connection in OCI (object mode
only)
Errors in file :
OCI-21522: attempted to use an invalid connection in OCI (object mode
only)

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

[2005-03-18 19:25:46] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/32325

-- 
Edit this bug report at http://bugs.php.net/?id=32325&edit=1

Reply via email to