ID: 28948 Comment by: cjbj at hotmail dot com Reported By: christian dot gottschalch at is-energy dot de Status: Open Bug Type: OCI8 related Operating System: Solaris 5.8 PHP Version: 4.3.7 New Comment:
What's the exact version of the Oracle client libraries? Your stack traces show crashes deep within Oracle code. I think you should contact Oracle Support. Previous Comments: ------------------------------------------------------------------------ [2004-06-30 11:11:11] christian dot gottschalch at is-energy dot de BT again: bash-2.03# gdb /opt/netscape/server4/bin/https/bin/ns-httpd core.ns-httpd.1876.000065.60001.60001.1088585722 GNU gdb 6.1 Copyright 2004 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 "sparc-sun-solaris2.8"...(no debugging symbols found)... Core was generated by `ns-httpd -d /opt/netscape/server4/https-home/config'. Program terminated with signal 11, Segmentation fault. Reading symbols from /opt/netscape/server4/bin/https/lib………………. ………………………………………………... Loaded symbols for /opt/netscape/server4/bin/https/lib/libvdk200.so #0 0xfd603010 in nnfgrne () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 (gdb) bt #0 0xfd603010 in nnfgrne () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #1 0xfd78d2b4 in nlifigbl () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #2 0xfd601644 in nnfgiinit () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #3 0xfd6012bc in nnfgiinit () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #4 0xfd5fe0ac in nigconcbs () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #5 0xfd5d5754 in kwfnbcs () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #6 0xfd597c60 in kwfcmc () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #7 0xfd51bdb8 in kpudtch () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #8 0xfd5797bc in OCILobRead () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 #9 0xfde689d8 in _oci_open_server (dbname=0x1 <Address 0x1 out of bounds>, persistent=-33580208) at /opt/php4-STABLE-200406300630/ext/oci8/oci8.c:2531 #10 0xfde68f94 in oci_do_connect (ht=3, return_value=0x1eed7d8, this_ptr=0x0, return_value_used=1, tsrm_ls=0xe4dd28, persistent=0, exclusive=0) at /opt/php4-STABLE-200406300630/ext/oci8/oci8.c:2701 #11 0xfde6d5b0 in zif_ocilogon (ht=3, return_value=0x1eed7d8, this_ptr=0x0, return_value_used=1, tsrm_ls=0xe4dd28) at /opt/php4-STABLE-200406300630/ext/oci8/oci8.c:4340 #12 0xfdf64ff8 in execute (op_array=0x1ce58a8, tsrm_ls=0xe4dd28) at /opt/php4-STABLE-200406300630/Zend/zend_execute.c:1635 #13 0xfdf64d04 in execute (op_array=0xd175c0, tsrm_ls=0xe4dd28) at /opt/php4-STABLE-200406300630/Zend/zend_execute.c:1679 #14 0xfdf64d04 in execute (op_array=0x1ed4eb8, tsrm_ls=0xe4dd28) at /opt/php4-STABLE-200406300630/Zend/zend_execute.c:1679 #15 0xfdf64d04 in execute (op_array=0x1e86d30, tsrm_ls=0xe4dd28) at /opt/php4-STABLE-200406300630/Zend/zend_execute.c:1679 #16 0xfdf53b44 in zend_execute_scripts (type=8, tsrm_ls=0xe4dd28, retval=0x0, file_count=3) at /opt/php4-STABLE-200406300630/Zend/zend.c:891 #17 0xfdf19ba0 in php_execute_script (primary_file=0xfdb41548, tsrm_ls=0xe4dd28) at /opt/php4-STABLE-200406300630/main/main.c:1731 #18 0xfdf6bd08 in php4_execute (pb=0x1147a0, sn=0x8fd9fc, rq=0x8fda34) at /opt/php4-STABLE-200406300630/sapi/nsapi/nsapi.c:945 #19 0xff256dac in __0Fafunc_native_pool_wait_workPFP6GpblockP6HSessionP6HRequest_iUiP6GpblockP6HSessionP6HRequest () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #20 0xff2563cc in __0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #21 0xff257364 in INTobject_execute () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #22 0xff25bfd8 in __0FQ_perform_serviceP6HSessionP6HRequestP6Mhttpd_object () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #23 0xff25c094 in INTservact_service () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #24 0xff25c3ac in INTservact_handle_processed () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #25 0xff28ac1c in __0fLHttpRequestUUnacceleratedRespondPCcPcTC () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #26 0xff2899f8 in __0fLHttpRequestNHandleRequestP6Gnetbuf () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #27 0xff28621c in __0fNDaemonSessionHRespondv () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #28 0xff2860a0 in __0fNDaemonSessionKThreadMainv () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #29 0xff285b24 in CThreadMain () from /opt/netscape/server4/bin/https/lib/libns-httpd40.so #30 0xfef42ad8 in _pt_root () from /opt/netscape/server4/bin/https/lib/libnspr3.so #31 0xfed2b73c in .L1240 () from /lib/libthread.so.1 #32 0xfed2b73c in .L1240 () from /lib/libthread.so.1 Previous frame identical to this frame (corrupt stack?) ------------------------------------------------------------------------ [2004-06-29 18:05:57] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-06-28 12:55:08] christian dot gottschalch at is-energy dot de Description: ------------ Produktion System: SunOS su00006-5 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R IPlanet 4.1 sp 14 gcc version 3.1 ist not possible to create a Backtrace, we've also more then one Problem i think, ok Step by Step: Our Problem: Iplanet Webserver is terminated with Signal SIGBUS und SIGSEGV "watchdog is restarting it" It may be a Problem with OCI8 requests and PHP but we're not sure. We've tried to reproduce the errors and done some tests with another Solaris Workstation(SunOS sx0172 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-5_10) Iplanet and PHP. Its possible to get info.php(phpinfo()) with Apache Bench without Errors at this System. In Produktion we also can get the info.php without errors(same PHP compile Options). If we try with real traffic/live traffic at the production System we get Initialized PHP Module. We also can't locate the PHP code that caused the errors. There also no regularities in the logs apparent. He're the Logs and Infos: IPlanet error.log [17/Jun/2004:19:20:05] info (23922): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:21:19] info (23978): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:21:59] info (24004): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:22:04] info (24037): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:22:35] info (24048): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:22:38] info (24049): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:31:53] info (24611): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:37:04] info (24932): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:41:22] info (25152): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:20:01:19] info (26380): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:20:06:31] info (26660): php4_init reports: Initialized PHP Module (128 threads exspected) /var/adm/messages Jun 17 19:20:04 u00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it Jun 17 19:22:37 u00056 last message repeated 5 times Jun 17 19:31:52 u00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 10): watchdog is restarting it Jun 17 19:37:02 u00056 last message repeated 2 times Jun 17 19:41:21 u00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it Jun 17 20:01:17 u00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it Jun 17 20:06:30 u00056 last message repeated 2 times Error count can be up to 3 or more times, restarts per second Produktion System: SunOS su00006-5 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R IPlanet 4.1 sp 14 gcc version 3.1 we've tryed php-4.3.5-DEV up to 4.3.7 Configure Options for PHP: ./configure \ --prefix=/php/home.intranet.de/php-4.3.7 \ --with-mysql=no \ --enable-track-vars \ --with-gd \ --with-jpeg-dir=/usr/local/jpeg-6b \ --with-png-dir=/usr/local/libpng-1.2.5 \ --with-zlib-dir=/usr/local/zlib-1.1.4 \ --with-freetype-dir=/usr/local/freetype-2.1.3 \ --enable-libgcc \ --with-nsapi=/netscape/server4 \ --with-ldap=/usr/local/ldapsdk-30 \ --with-oci8=/oracle/8.1.7 we've also tryed --enable-sigchild i also enabled for debugging --enable-debug Infos from the Net: http://bugs.php.net/bug.php?id=15450 http://bugs.php.net/bug.php?id=16996 http://www.mail-archive.com/php-general <at> lists.php.net/msg105908.html There may some Other BugReports about this problem, most of them are Old or in State "suspended" or something. So i'll create a new Bug. Regards Christian Actual result: -------------- bash-2.03# gdb /netscape/server4/bin/https/bin/ns-httpd core.ns-httpd.22451.5.60001.60001.1087980112 GNU gdb 6.1 Copyright 2004 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 "sparc-sun-solaris2.8"...(no debugging symbols found)... Core was generated by `ns-httpd -d /netscape/server4/https-home/config'. Program terminated with signal 11, Segmentation fault. Reading symbols ……………... (gdb) bt #0 0xfd74a510 in nnciunm () from /oracle/8.1.7/lib/libclntsh.so.8.0 #1 0xfd76f2e0 in nnfcmcal () from /oracle/8.1.7/lib/libclntsh.so.8.0 #2 0xfd6044b8 in nnfgsrdp () from /oracle/8.1.7/lib/libclntsh.so.8.0 #3 0xfd603200 in nnfgfrm () from /oracle/8.1.7/lib/libclntsh.so.8.0 #4 0xfd78d2b4 in nlifigbl () from /oracle/8.1.7/lib/libclntsh.so.8.0 #5 0xfd601644 in nnfgiinit () from /oracle/8.1.7/lib/libclntsh.so.8.0 #6 0xfd6012bc in nnfgiinit () from /oracle/8.1.7/lib/libclntsh.so.8.0 #7 0xfd5fe0ac in nigconcbs () from /oracle/8.1.7/lib/libclntsh.so.8.0 #8 0xfd5fee90 in nlnvmsc () from /oracle/8.1.7/lib/libclntsh.so.8.0 #9 0xfd506e58 in upicon () from /oracle/8.1.7/lib/libclntsh.so.8.0 #10 0xfd51b370 in kpuValidateSvc () from /oracle/8.1.7/lib/libclntsh.so.8.0 #11 0xfd50c14c in upinblc () from /oracle/8.1.7/lib/libclntsh.so.8.0 #12 0xfd51bdd0 in kpudtch () from /oracle/8.1.7/lib/libclntsh.so.8.0 #13 0xfd5797bc in OCILobRead () from /oracle/8.1.7/lib/libclntsh.so.8.0 #14 0xfde689f4 in _oci_open_server (dbname=0x1 <Address 0x1 out of bounds>, persistent=-33583640) at /php-4.3.7/ext/oci8/oci8.c:2531 #15 0xfde68fb0 in oci_do_connect (ht=3, return_value=0x1e94f00, this_ptr=0x0, return_value_used=1, tsrm_ls=0xbf95a0, persistent=0, exclusive=0) at /php-4.3.7/ext/oci8/oci8.c:2701 #16 0xfde6d5cc in zif_ocilogon (ht=3, return_value=0x1e94f00, this_ptr=0x0, return_value_used=1, tsrm_ls=0xbf95a0) at /php-4.3.7/ext/oci8/oci8.c:4340 #17 0xfdf64bb4 in execute (op_array=0x1f477a8, tsrm_ls=0xbf95a0) ---Type <return> to continue, or q <return> to quit--- at /php-4.3.7/Zend/zend_execute.c:1635 #18 0xfdf648c0 in execute (op_array=0x1eeaf08, tsrm_ls=0xbf95a0) at /php-4.3.7/Zend/zend_execute.c:1679 #19 0xfdf648c0 in execute (op_array=0x1a221e8, tsrm_ls=0xbf95a0) at /php-4.3.7/Zend/zend_execute.c:1679 #20 0xfdf648c0 in execute (op_array=0x1652358, tsrm_ls=0xbf95a0) at /php-4.3.7/Zend/zend_execute.c:1679 #21 0xfdf53700 in zend_execute_scripts (type=8, tsrm_ls=0xbf95a0, retval=0x0, file_count=3) at /php-4.3.7/Zend/zend.c:891 #22 0xfdf198e8 in php_execute_script (primary_file=0xfce31548, tsrm_ls=0xbf95a0) at /php-4.3.7/main/main.c:1731 #23 0xfdf6b8bc in php4_execute (pb=0x114770, sn=0x85e35c, rq=0x85e394) at /php-4.3.7/sapi/nsapi/nsapi.c:954 #24 0xff256dac in __0Fafunc_native_pool_wait_workPFP6GpblockP6HSessionP6HRequest_iUiP6GpblockP6HSessionP6HRequest () from /netscape/server4/bin/https/lib/libns-httpd40.so #25 0xff2563cc in __0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest () from /netscape/server4/bin/https/lib/libns-httpd40.so #26 0xff257364 in INTobject_execute () from /netscape/server4/bin/https/lib/libns-httpd40.so #27 0xff25bfd8 in __0FQ_perform_serviceP6HSessionP6HRequestP6Mhttpd_object () from /netscape/server4/bin/https/lib/libns-httpd40.so #28 0xff25c094 in INTservact_service () from /netscape/server4/bin/https/lib/libns-httpd40.so #29 0xff25c3ac in INTservact_handle_processed () from /netscape/server4/bin/https/lib/libns-httpd40.so #30 0xff28ac1c in __0fLHttpRequestUUnacceleratedRespondPCcPcTC () from /netscape/server4/bin/https/lib/libns-httpd40.so #31 0xff2899f8 in __0fLHttpRequestNHandleRequestP6Gnetbuf () from /netscape/server4/bin/https/lib/libns-httpd40.so #32 0xff28621c in __0fNDaemonSessionHRespondv () from /netscape/server4/bin/https/lib/libns-httpd40.so #33 0xff2860a0 in __0fNDaemonSessionKThreadMainv () from /netscape/server4/bin/https/lib/libns-httpd40.so #34 0xff285b24 in CThreadMain () from /netscape/server4/bin/https/lib/libns-httpd40.so #35 0xfef42ad8 in _pt_root () from /netscape/server4/bin/https/lib/libnspr3.so #36 0xfed2b73c in .L1240 () from /lib/libthread.so.1 #37 0xfed2b73c in .L1240 () from /lib/libthread.so.1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28948&edit=1