From: soula at lifl dot fr Operating system: Tru64 PHP version: 4.3.2RC1 PHP Bug Type: OCI8 related Bug description: OCI_SHARED init flag cause SIGABRT
I use php4-STABLE-200303241630 version, Oracle-8.1.7 and Tru64/5.1 . In standalone or within Apache, the initialization of OCI8 module (function OCIInitialise) with OCI_SHARED flag cause an immediate SIGABRT. Without the flag, the OCI8 initialize works well. Here the compilation config : Configure Command => './configure' '--prefix=/usr/local/php-200303241630-ap1' '--enable-memory-limit' '--enable-shared' '--enable-sockets' '--enable-trans-sid' '--enable-debug' '--with-config-file-path=/usr/local/lib' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-debugger=yes' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-mod_charset' '--with-openssl' '--with-bz2' '--with-zlib-dir' '--with-gettext' '--with-kerberos' '--with-regex=system' '--with-zlib' '--with-gd=shared' '--with-jpeg-dir=/usr/local/jpeg/lib' '--with-png-dir=/usr/local/lib' '--with-xpm-dir=/usr/local/lib' '--with-oci8=shared,/usr/oracle/product/8.1.6' '--with-ldap=shared' '--with-mysql=shared,/usr/local/mysql' '--with-pgsql=shared,/usr/local/pgsql' Here the gdb backtrace for "./php -i" : Core was generated by `php'. Program terminated with signal 6, IOT/Abort trap. Reading symbols from /usr/local/lib/libz.so.1.1.3...done. Reading symbols from /usr/local/lib/libssl.so...done. Reading symbols from /usr/local/lib/libcrypto.so...done. Reading symbols from /usr/shlib/libm.so...done. Reading symbols from /usr/shlib/libc.so...done. Reading symbols from /usr/local/php-200303241630-ap1/lib/php/extensions/debug-non-zts-20020429/libldap.so...done. Reading symbols from /usr/local/lib/libldap.so...done. Reading symbols from /usr/local/lib/liblber.so...done. Reading symbols from /usr/local/lib/libgcc_s.so.1...done. Reading symbols from /usr/local/php-200303241630-ap1/lib/php/extensions/debug-non-zts-20020429/libmysql.so...done. Reading symbols from /usr/local/php-200303241630-ap1/lib/php/extensions/debug-non-zts-20020429/liboci8.so...done. Reading symbols from /usr/oracle/product/8.1.6/lib/libclntsh.so.8.0...done. Reading symbols from /usr/shlib/libjava.so...done. Reading symbols from /usr/oracle/product/8.1.6/lib/libwtc8.so...done. Reading symbols from /usr/shlib/libexc.so...done. Reading symbols from /usr/shlib/librt.so...done. Reading symbols from /usr/shlib/libaio_raw.so...done. Reading symbols from /usr/shlib/libpthread.so...done. Reading symbols from /usr/shlib/libmach.so...done. #0 0x3ff805bab48 in __nxm_thread_kill () from /usr/shlib/libpthread.so (gdb) bt #0 0x3ff805bab48 in __nxm_thread_kill () from /usr/shlib/libpthread.so #1 0x3ff805b4148 in pthread_kill () from /usr/shlib/libpthread.so #2 0x3ff805c99ec in __tsInit () from /usr/shlib/libpthread.so #3 0x3ff80118f58 in tis_raise () from /usr/shlib/libc.so #4 0x3ff80170764 in raise () from /usr/shlib/libc.so #5 0x3ff8018f6e0 in __ieee_get_fp_control () from /usr/shlib/libc.so #6 0x3ff80191bec in __exc_raise_status_exception () from /usr/shlib/libc.so #7 0x3ff807f2280 in exc_raise_status_exception () from /usr/shlib/libexc.so #8 0x30003cfc078 in kgepop () at /vobs/rdbms/src/generic/vos/kge.c:401 #9 0x30003cfd124 in kgesev () at /vobs/rdbms/src/generic/vos/kge.c:965 #10 0x30003cfcc68 in kgesec0 () at /vobs/rdbms/src/generic/vos/kge.c:748 #11 0x300039f206c in kgupmcreate_sga () at /vobs/rdbms/src/client/vos/kgupm.c:313 #12 0x300039d6774 in kgup_startup () at /vobs/rdbms/src/client/vos/kgup.c:528 #13 0x3000396d810 in kpushInit () at /vobs/rdbms/src/client/progint/kpu/kpuini.c:2774 #14 0x30003d06764 in kpummpin () at /vobs/rdbms/src/generic/progint/progint/kpumm.c:448 #15 0x300039687d8 in kpupin () at /vobs/rdbms/src/client/progint/kpu/kpuini.c:574 #16 0x30003951010 in OCIInitialize () at /vobs/rdbms/src/client/progint/oci/oci8.c:261 #17 0x3000300496c in zm_startup_oci (type=-1071955256, module_number=16) at /usr/local/tmp/php4-STABLE-200303241630/ext/oci8/oci8.c:518 #18 0x1200737f4 in php_dl (file=0x140062710, type=1, return_value=0x11fffbad0) at /usr/local/tmp/php4-STABLE-200303241630/ext/standard/dl.c:238 #19 0x1200feea0 in php_load_function_extension_cb (arg=0x3ffc01b42c8) at /usr/local/tmp/php4-STABLE-200303241630/main/php_ini.c:216 #20 0x12012b9fc in zend_llist_apply (l=0x3ffc01b42c8, func=0x1200fee80 <php_load_function_extension_cb>) at /usr/local/tmp/php4-STABLE-200303241630/Zend/zend_llist.c:189 #21 0x1200ff630 in php_ini_delayed_modules_startup () at /usr/local/tmp/php4-STABLE-200303241630/main/php_ini.c:469 #22 0x1200f941c in php_module_startup (sf=0x140028826, additional_modules=0x0, num_additional_modules=0) at /usr/local/tmp/php4-STABLE-200303241630/main/main.c:1230 #23 0x12014e82c in main (argc=2, argv=0x11fffc018) at /usr/local/tmp/php4-STABLE-200303241630/sapi/cli/php_cli.c:481 Sincerly, -- Julien -- Edit bug report at http://bugs.php.net/?id=22927&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22927&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22927&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22927&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22927&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22927&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22927&r=support Expected behavior: http://bugs.php.net/fix.php?id=22927&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22927&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22927&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22927&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22927&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22927&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22927&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22927&r=gnused