php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57202 segmentation fault with oci8
Submitted: 2006-08-29 12:23 UTC Modified: 2012-10-26 05:40 UTC
From: jeff at newnewmedia dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.1.1 OS: SuSE Linux 9.2 (i586)
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: jeff at newnewmedia dot com
New email:
PHP Version: OS:

 

 [2006-08-29 12:23 UTC] jeff at newnewmedia dot com
Description:
------------
I received a Segmentation fault while trying to run PEAR::DB_DataObject's createTables.php script against an Oracle database.

I'm an not well versed in gdb or submitting bug reports. This is all I could get without building PHP with debug support on our development machines, which we are unable to do at this time. Is there anything else I can provide short of recompiling PHP?

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1088095712 (LWP 30011)]
0x40cfd5fc in memcpy () from /lib/tls/libc.so.6

#0  0x40cfd5fc in memcpy () from /lib/tls/libc.so.6
#1  0x405c9ab3 in nioqrc () from /util/oracle/lib/libclntsh.so.9.0
#2  0x4070c891 in ttcclr () from /util/oracle/lib/libclntsh.so.9.0
#3  0x4070a16b in ttcrbur () from /util/oracle/lib/libclntsh.so.9.0
#4  0x4070a641 in ttcbur () from /util/oracle/lib/libclntsh.so.9.0
#5  0x406f969e in ttcdrv () from /util/oracle/lib/libclntsh.so.9.0
#6  0x405d0248 in nioqwa () from /util/oracle/lib/libclntsh.so.9.0
#7  0x404243d0 in upirtrc () from /util/oracle/lib/libclntsh.so.9.0
#8  0x403e69da in kpurcsc () from /util/oracle/lib/libclntsh.so.9.0
#9  0x403a91c4 in kpuexecv8 () from /util/oracle/lib/libclntsh.so.9.0
#10 0x403aad97 in kpuexec () from /util/oracle/lib/libclntsh.so.9.0
#11 0x40408a2f in OCIStmtExecute () from /util/oracle/lib/libclntsh.so.9.0
#12 0x08133eb1 in oci_execute ()
#13 0x0813d768 in zif_oci_execute ()
#14 0x082c8118 in zend_do_fcall_common_helper_SPEC ()
#15 0x082cabec in ZEND_DO_FCALL_SPEC_CONST_HANDLER ()
#16 0x082c7dde in execute ()
#17 0x082c822b in zend_do_fcall_common_helper_SPEC ()
#18 0x082c85d4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#19 0x082c7dde in execute ()
#20 0x082c822b in zend_do_fcall_common_helper_SPEC ()
#21 0x082c85d4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#22 0x082c7dde in execute ()
---Type <return> to continue, or q <return> to quit---
#23 0x082c822b in zend_do_fcall_common_helper_SPEC ()
#24 0x082c85d4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#25 0x082c7dde in execute ()
#26 0x082c822b in zend_do_fcall_common_helper_SPEC ()
#27 0x082c85d4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#28 0x082c7dde in execute ()
#29 0x082c822b in zend_do_fcall_common_helper_SPEC ()
#30 0x082c85d4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#31 0x082c7dde in execute ()
#32 0x082c822b in zend_do_fcall_common_helper_SPEC ()
#33 0x082c85d4 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#34 0x082c7dde in execute ()
#35 0x082a2a6a in zend_execute_scripts ()
#36 0x082642f6 in php_execute_script ()
#37 0x083090ce in main ()


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-29 12:47 UTC] tony2001 at phpclub dot net
Please try latest OCI8 version (1.2.2).
 [2006-08-29 13:03 UTC] jeff at newnewmedia dot com
phpinfo gives this:
oci8

OCI8 Support => enabled
Revision => $Revision: 1.269.2.3 $
Active Persistent Links => 0
Active Links => 0
Oracle Version => 9.2
Compile-time ORACLE_HOME => /util/oracle
Libraries Used =>  
Temporary Lob support => enabled
Collections support => enabled

That's the extension version, correct?
 [2006-08-29 13:08 UTC] tony2001 at phpclub dot net
This is version 1.1.
 [2012-10-26 05:40 UTC] sixd@php.net
-Status: Feedback +Status: No Feedback -Package: oci8 +Package: *General Issues
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 08:01:32 2025 UTC