ID: 45769 Updated by: [EMAIL PROTECTED] Reported By: louis dot begin at cspq dot gouv dot qc dot ca -Status: Open +Status: Feedback Bug Type: OCI8 related Operating System: zVM/Linux PHP Version: 5.2.6 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2008-08-29 17:36:13] louis dot begin at cspq dot gouv dot qc dot ca Additional info: This installation (with OCI8) works fine if i use de "phpinfo.php" script or an other little script i did (an "Hello world" script) ------------------------------------------------------------------------ [2008-08-28 14:31:20] louis dot begin at cspq dot gouv dot qc dot ca I installed PECL OCI8 1.3.4 and i got the same result. ----------------------- root.sigubtm:>gdb /logiciels/tldb/httpd-2.0.61/bin/httpd GNU gdb 6.6 Copyright (C) 2006 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 "s390x-suse-linux"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) run -X Starting program: /logiciels/tldb/httpd-2.0.61/bin/httpd -X [Thread debugging using libthread_db enabled] [New Thread 2199026468240 (LWP 11695)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2199026468240 (LWP 11695)] _zval_ptr_dtor (zval_ptr=0x3fffff21818) at /logiciels/tldb/php/php-5.2.6/Zend/zend_execute_API.c:412 412 (*zval_ptr)->refcount--; (gdb) bt #0 _zval_ptr_dtor (zval_ptr=0x3fffff21818) at /logiciels/tldb/php/php-5.2.6/Zend/zend_execute_API.c:412 #1 0x00000200006094d6 in zend_do_fcall_common_helper_SPEC (execute_data=0x3fffff21e50) at /logiciels/tldb/php/php-5.2.6/Zend/zend_execute.h:155 #2 0x00000200005f79a2 in execute (op_array=0x20001e41a98) at /logiciels/tldb/php/php-5.2.6/Zend/zend_vm_execute.h:92 #3 0x00000200005d4258 in zend_execute_scripts (type=<value optimized out>, retval=0x0, file_count=2) at /logiciels/tldb/php/php-5.2.6/Zend/zend.c:1134 #4 0x000002000058bd78 in php_execute_script (primary_file=0x3fffff24460) at /logiciels/tldb/php/php-5.2.6/main/main.c:2005 #5 0x0000020000667e4c in php_handler (r=0x8026cb60) at /logiciels/tldb/php/php-5.2.6/sapi/apache2handler/sapi_apache2.c:629 #6 0x0000000080048e20 in ap_run_handler (r=0x8026cb60) at config.c:152 #7 0x000000008004c33a in ap_invoke_handler (r=0x8026cb60) at config.c:364 #8 0x000000008003615c in ap_process_request (r=0x8026cb60) at http_request.c:249 #9 0x0000000080030ccc in ap_process_http_connection (c=0x80262a50) at http_core.c:253 #10 0x0000000080055e4c in ap_run_process_connection (c=0x80262a50) at connection.c:43 #11 0x00000000800476e4 in child_main (child_num_arg=<value optimized out>) at prefork.c:610 #12 0x000000008004794e in make_child (s=0x800dca60, slot=0) at prefork.c:650 #13 0x0000000080047a5a in startup_children (number_to_start=2) at prefork.c:722 #14 0x00000000800483cc in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=0x800dca60) at prefork.c:941 #15 0x000000008004f02c in main (argc=<value optimized out>, argv=0x3fffff24f98) at main.c:636 (gdb) ------------------------------------------------------------------------ [2008-08-15 17:44:17] louis dot begin at cspq dot gouv dot qc dot ca Maybe this info could help: :>file php php: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped :>ldd php libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000020000028000) librt.so.1 => /lib64/librt.so.1 (0x0000020000064000) libresolv.so.2 => /lib64/libresolv.so.2 (0x000002000006e000) libm.so.6 => /lib64/libm.so.6 (0x0000020000085000) libdl.so.2 => /lib64/libdl.so.2 (0x000002000011b000) libnsl.so.1 => /lib64/libnsl.so.1 (0x0000020000120000) libclntsh.so.10.1 => /logiciels/oracle/product/10.2.0.3/lib/libclntsh.so.10.1 (0x000002000013a000) libc.so.6 => /lib64/libc.so.6 (0x0000020001470000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000200015d0000) /lib/ld64.so.1 (0x0000020000000000) libnnz10.so => /logiciels/oracle/product/10.2.0.3/lib/libnnz10.so (0x00000200015eb000) ------------------------------------------------------------------------ [2008-08-11 14:47:58] louis dot begin at cspq dot gouv dot qc dot ca That happend with any table, I think that the "OCILogon" function does not return Could be a problem of 32bits/64bits compatibility..... Could be a problem of 32bits/64bits compatibility..... ./configure --prefix=/logiciels/tldb/php-5.2.6 --with-config-file-path=/logiciels/tldb/php-5.2.6 --with-apxs2=/logiciels/tldb/httpd-2.0.61/bin/apxs --with-oci8=/logiciels/oracle/product/10.2.0.3 --with-pdo-oci8=/logiciels/oracle/product/10.2.0.3 --disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear --enable-sigchild (xml is not install on this server) :>echo $NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1 create table dri.client ( code_client varchar2(3) , client varchar2(30) ); insert into dri.client('CAR', 'Carra') ; insert into dri.client('MAM', 'Mamm') ; ------------------------------------------------------------------------ [2008-08-09 22:36:04] [EMAIL PROTECTED] Does this happen for all tables? What were the configure options? What is the NLS environment (and how is it set)? Please supply an export file or SQL script to creates a table & data that reproduces the problem. ------------------------------------------------------------------------ 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/45769 -- Edit this bug report at http://bugs.php.net/?id=45769&edit=1