Re: PHP 4.0 Bug #6349 Updated: Apache+php4.0.1pl2 crash on ora_logon
| From: | ondi | Date: | Mon, 16 Oct 2000 05:21:28 +0000 |
| Subject: | Re: PHP 4.0 Bug #6349 Updated: Apache+php4.0.1pl2 crash on ora_logon | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35102@lists.php.net to get a copy of this message | ||
I had fix that bug people!!!
but that is not bug :)
apache server _MUST_ be started with following ORACLE environment variables
ORACLE_BASE
ORACLE_HOME
ORA_NLS33
NLS_LANG
ORACLE libclientsh.so going down because of ORA_NLS33 is unset!!!
that variable is used by National language support library in
libclientsh.so!!!
SO SET IT!!!!!
Thanks and have a nice day!
ondi.
-----Original Message-----
From: Bug Database <php-dev@lists.php.net>
To: ondi@21.ru <ondi@21.ru>
Date: 16 октября 2000 г. 3:44
Subject: PHP 4.0 Bug #6349 Updated: Apache+php4.0.1pl2 crash on ora_logon
>ID: 6349
>Updated by: sniper
>Reported By: ondi@21.ru
>Status: Feedback
>Bug Type: Reproduceable crash
>Assigned To:
>Comments:
>
>1. Try PHP4.0.3pl1
>2. Please include your configure line (which you have used to configure
php4)
>
>--Jani
>
>Previous Comments:
>---------------------------------------------------------------------------
>
>[2000-08-25 08:07:03] ondi@21.ru
>so there is the following server configuration:
>Server: Apache/1.3.12 (Unix) PHP/4.0.1pl2 mod_ssl/2.6.6 OpenSSL/0.9.5a
>PHP supports Oracle8i (ora and oci) functions!
>so then I try to connect to the Oracle DB the apache child going down with:
>"child pid 13514 exit signal Segmentation Fault (11), possible coredump in
/opt/www"
>
>here is backtrace:
>gdb bin/httpd core
>GNU gdb 4.18
>Copyright 1998 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.7"...
>
>warning: exec file is newer than core file.
>Core was generated by `bin/httpd -DSSL'.
>Program terminated with signal 9, Killed.
>Reading symbols from /usr/lib/libpam.so.1...done.
>Reading symbols from /usr/lib/libdl.so.1...done.
>Reading symbols from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0...done.
>Reading symbols from /usr/lib/libsched.so.1...done.
>Reading symbols from /usr/lib/libgen.so.1...done.
>Reading symbols from /usr/lib/libresolv.so.2...done.
>Reading symbols from /usr/lib/libm.so.1...done.
>Reading symbols from /usr/lib/libcrypt_i.so.1...done.
>Reading symbols from /usr/lib/libnsl.so.1...done.
>Reading symbols from /usr/lib/libsocket.so.1...done.
>Reading symbols from /usr/lib/libc.so.1...done.
>Reading symbols from
/export/home/oracle/product/8.1.6/JRE/lib/sparc/native_threads/libjava.so...
done.
>Reading symbols from
/export/home/oracle/product/8.1.6/lib/libwtc8.so...done.
>Reading symbols from /usr/lib/libaio.so.1...done.
>Reading symbols from /usr/lib/libmp.so.2...done.
>Reading symbols from /usr/lib/libthread.so.1...done.
>Reading symbols from /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1...done.
>Reading symbols from /usr/lib/nss_files.so.1...done.
>#0 0xff12f398 in lmsaic () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>(gdb) where
>#0 0xff12f398 in lmsaic () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#1 0xff12f0e8 in lmsaip () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#2 0xfef54668 in nlemomf () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#3 0xfef54b64 in nlemgmz () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#4 0xfeea4ce0 in nsmgfprintf () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#5 0xfee7ad9c in niqlce () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#6 0xfee79e40 in niotns () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#7 0xfee72fa4 in nigcall () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#8 0xfede8ce0 in osncon () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#9 0xfed1589c in upiini () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#10 0xfed0691c in upiah0 () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#11 0xfeda9aa4 in upilgn () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#12 0xfedaaf68 in upilog () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#13 0xfed6772c in ocilog () from
/export/home/oracle/product/8.1.6/lib/libclntsh.so.8.0
>#14 0x8dea0 in ora_do_logon (ht=3066880, return_value=0x387ec0,
this_ptr=0x0, return_value_used=1, persistent=1) at oracle.c:419
>#15 0x8db5c in php_if_ora_plogon (ht=2, return_value=0x387ec0,
this_ptr=0x0, return_value_used=1) at oracle.c:367
>#16 0x11f5ec in execute ()
>#17 0x11f8cc in execute ()
>#18 0x11f8cc in execute ()
>#19 0x69154 in php_execute_script (primary_file=0xffbef588) at main.c:1157
>#20 0xf9a64 in apache_php_module_main (r=0x36d268, fd=25,
display_source_mode=0) at sapi_apache.c:93
>#21 0x661d0 in send_php ()
>#22 0x66228 in send_parsed_php ()
>#23 0x14f074 in ap_invoke_handler ()
>#24 0x16bef8 in process_request_internal ()
>#25 0x16bf7c in ap_process_request ()
>#26 0x15f918 in child_main ()
>#27 0x15fccc in make_child ()
>#28 0x15fdf0 in startup_children ()
>#29 0x1607e0 in standalone_main ()
>#30 0x1613f4 in main ()
>
>I've asked Ralf S. Engelschall (mod_ssl author) so he told me than that is
PHP or Oracle Bug!!!
>Help me!!!
>
>
>---------------------------------------------------------------------------
>
>
>Full Bug description available at: http://bugs.php.net/?id=6349
>
>