From: koc at rol dot ru Operating system: Linux PHP version: 5.2.4 PHP Bug Type: Oracle related Bug description: Segmentation fault
Description: ------------ Apache/2.2.4 (Unix) + php 5.2.4 PHP configure: ./configure -prefix=/usr/local/php \ -enable-sigchild \ -with-apxs2=/usr/local/apache2/bin/apxs \ -with-oci8=instantclient,/usr/local/oracle \ (OK) make (OK) make install (OK) Run scripts - Segmentation fault Look like Oracle (OCI8) problem. --- checking PHP version... 5.2.4, ok checking Oracle Instant Client directory... /usr/local/oracle checking Oracle Instant Client SDK header directory... /usr/local/oracle/sdk/include checking Oracle Instant Client version... 10.1 --- Actual result: -------------- (gdb) run -X Starting program: /usr/local/apache2/bin/httpd -X Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1210434720 (LWP 20570)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210434720 (LWP 20570)] 0xb6f67889 in kghmkfree () from /usr/local/oracle/libclntsh.so.10.1 (gdb) bt #0 0xb6f67889 in kghmkfree () from /usr/local/oracle/libclntsh.so.10.1 #1 0xb6f6eacb in kghaddex () from /usr/local/oracle/libclntsh.so.10.1 #2 0xb6f70a03 in kghgex () from /usr/local/oracle/libclntsh.so.10.1 #3 0xb6f738e5 in kghfnd () from /usr/local/oracle/libclntsh.so.10.1 #4 0xb6f73ccf in kghprmalo () from /usr/local/oracle/libclntsh.so.10.1 #5 0xb6f761ec in kghalp () from /usr/local/oracle/libclntsh.so.10.1 #6 0xb6f7ffd7 in kghmrk () from /usr/local/oracle/libclntsh.so.10.1 #7 0xb6b4fea7 in kpuhhmrk () from /usr/local/oracle/libclntsh.so.10.1 #8 0xb6b56636 in kpurclr () from /usr/local/oracle/libclntsh.so.10.1 #9 0xb6ef144b in kpcxc2r () from /usr/local/oracle/libclntsh.so.10.1 #10 0xb6f472ea in ttcrs2c () from /usr/local/oracle/libclntsh.so.10.1 #11 0xb6f56034 in ttcacr () from /usr/local/oracle/libclntsh.so.10.1 #12 0xb6ee3aed in ttcdrv () from /usr/local/oracle/libclntsh.so.10.1 #13 0xb6dc8bc8 in nioqwa () from /usr/local/oracle/libclntsh.so.10.1 #14 0xb6c34618 in upirtrc () from /usr/local/oracle/libclntsh.so.10.1 #15 0xb6ba95f6 in kpurcsc () from /usr/local/oracle/libclntsh.so.10.1 #16 0xb6b5da0d in kpuexecv8 () from /usr/local/oracle/libclntsh.so.10.1 #17 0xb6b5fec4 in kpuexec () from /usr/local/oracle/libclntsh.so.10.1 #18 0xb6c391b6 in OCIStmtExecute () from /usr/local/oracle/libclntsh.so.10.1 #19 0xb793d8a1 in php_oci_statement_execute (statement=0x8311600, mode=3078026404) at /usr/local/src/php-5.2.4/ext/oci8/oci8_statement.c:442 #20 0xb79441fd in zif_oci_execute (ht=1, return_value=0xb65050d8, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /usr/local/src/php-5.2.4/ext/oci8/oci8_interface.c:1302 #21 0xb7abb644 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf871680) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:200 #22 0xb7abad79 in execute (op_array=0xb6559184) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:92 #23 0xb7abaff9 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf8718e0) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:234 #24 0xb7abad79 in execute (op_array=0xb64e423c) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:92 #25 0xb7abaff9 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf871a30) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:234 #26 0xb7abad79 in execute (op_array=0xb64e4590) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:92 #27 0xb7abaff9 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf8727c0) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:234 #28 0xb7abad79 in execute (op_array=0xb65490e0) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:92 #29 0xb7abaff9 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf872950) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:234 #30 0xb7abad79 in execute (op_array=0xb6548f70) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:92 #31 0xb7abaff9 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf872f50) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:234 #32 0xb7abad79 in execute (op_array=0xb65b3b2c) at /usr/local/src/php-5.2.4/Zend/zend_vm_execute.h:92 #33 0xb7a9f984 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php-5.2.4/Zend/zend.c:1134 #34 0xb7a6402a in php_execute_script (primary_file=0xbf875200) at /usr/local/src/php-5.2.4/main/main.c:1982 #35 0xb7b22f9c in php_handler (r=0x828ef38) at /usr/local/src/php-5.2.4/sapi/apache2handler/sapi_apache2.c:631 #36 0x08073036 in ap_run_handler (r=0x828ef38) at config.c:157 #37 0x08073476 in ap_invoke_handler (r=0x828ef38) at config.c:372 #38 0x0808923d in ap_process_request (r=0x828ef38) at http_request.c:258 #39 0x08086bf9 in ap_process_http_connection (c=0x8282938) at http_core.c:184 #40 0x08078f96 in ap_run_process_connection (c=0x8282938) at connection.c:43 #41 0x08099325 in child_main (child_num_arg=137440908) at prefork.c:640 #42 0x080994f3 in make_child (s=0x0, slot=0) at prefork.c:680 #43 0x08099a6e in ap_mpm_run (_pconf=0xbf875580, plog=0x80fb198, s=0xbf875584) at prefork.c:956 #44 0x08061fc4 in main (argc=2, argv=0xbf875734) at main.c:717 -- Edit bug report at http://bugs.php.net/?id=42530&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42530&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42530&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42530&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42530&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42530&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42530&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42530&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42530&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42530&r=support Expected behavior: http://bugs.php.net/fix.php?id=42530&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42530&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42530&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42530&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42530&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42530&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42530&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42530&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42530&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42530&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42530&r=mysqlcfg