|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23204 Bus Error on SQL execute to local database
Submitted: 2003-04-14 10:22 UTC Modified: 2003-04-28 11:34 UTC
From: craig dot mcniel at pearson dot com Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.3.1 OS: HPUX 11.11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: craig dot mcniel at pearson dot com
New email:
PHP Version: OS:


 [2003-04-14 10:22 UTC] craig dot mcniel at pearson dot com
I have compiled PHP 4.3.1 with OCI8 against Oracle on an HPUX box running apache 1.3.27. Everything is statically linked (required by HPUX).  

An application ported from PHP 4.2 on AIX and Oracle 8.1.7 that was working fine Bus Errors on the SQL statement execute.  

This same apache server can connect to the old remote database on AIX however, the local connection works but, as soon as the first complex statement is issued Bus Error.   

It is possible however, to connect and issue a statement like "select sysdate() from dual"  this will return the correct results.

I have a TAR open with Oracle in the event this is an Oracle bug, however from the backtrace I cannot tell what might be the underlying problem.


Command name abbreviations are allowed if unambiguous.
(gdb) backtrace
#0  0xc01cb794 in memcpy () from /usr/lib/libc.2
#1  0xc48fe03c in nioqrc () from /oracle/app/oracle/product/9.2.0_64/lib32/
#2  0xc4b167c8 in $00000014 () from /oracle/app/oracle/product/9.2.0_64/lib32/
#3  0xc494f504 in nioqwa () from /oracle/app/oracle/product/9.2.0_64/lib32/
#4  0xc470e09c in upirtrc () from /oracle/app/oracle/product/9.2.0_64/lib32/
#5  0xc4780fdc in kpurcsc () from /oracle/app/oracle/product/9.2.0_64/lib32/
#6  0xc473c8a0 in kpuexecv8 () from /oracle/app/oracle/product/9.2.0_64/lib32/
#7  0xc473db04 in kpuexec () from /oracle/app/oracle/product/9.2.0_64/lib32/
#8  0xc46dfbdc in OCIStmtExecute () from /oracle/app/oracle/product/9.2.0_64/lib32/
#9  0x000a6d4c in oci_execute (statement=0x40095868, 
    func=0x400d11e0 "\00515:08\00500:00\0232003-04-10 15:07:43\0232003-04-10 15:08:06\aNICHOLS\aORAPRD2\006OracleN/u03/wwwroot/backuplogs/oracle/nichols/backuplog_oraprd2_archive_041003_151001\vArchive Log\fTYPE_ARCHIVE\tCompleted\016STAT_COMPL"..., mode=32)
    at /oracle/src/php-4.3.1/ext/oci8/oci8.c:1467
#10 0x000ab884 in zif_ociexecute (ht=-1000213256, return_value=0x40095a08, this_ptr=0x339, return_value_used=16384)
    at /oracle/src/php-4.3.1/ext/oci8/oci8.c:3885
#11 0x0009aea4 in execute (op_array=0x4008cc10) at /oracle/src/php-4.3.1/Zend/zend_execute.c:1596
#12 0x0004e354 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /oracle/src/php-4.3.1/Zend/zend.c:864
#13 0x000476e4 in php_execute_script (primary_file=0x680f0ad8) at /oracle/src/php-4.3.1/main/main.c:1573
#14 0x00051b1c in apache_php_module_main (r=0xc461f4f8, display_source_mode=0)
    at /oracle/src/php-4.3.1/sapi/apache/sapi_apache.c:55
#15 0x00043a14 in send_php () from ./httpd
#16 0x00043b18 in send_parsed_php () from ./httpd
#17 0x00176cdc in ap_invoke_handler () from ./httpd
#18 0x00196f24 in process_request_internal () from ./httpd
#19 0x00196fc8 in ap_process_request () from ./httpd
#20 0x0018968c in child_main () from ./httpd
#21 0x001899bc in make_child () from ./httpd
#22 0x00189ebc in perform_idle_server_maintenance () from ./httpd
#23 0x0018a768 in standalone_main () from ./httpd
#24 0x0018b298 in main () from ./httpd
#25 0xc0143270 in _start () from /usr/lib/libc.2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-28 11:34 UTC]
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-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 17:01:28 2023 UTC