ID: 39462 User updated by: maremyanin at mera dot ru Reported By: maremyanin at mera dot ru -Status: Feedback +Status: Open Bug Type: OCI8 related Operating System: SuSE PHP Version: 5.2.0 New Comment:
Here is a backtrace: (gdb) bt #0 0x40213c89 in siglongjmp () from /lib/tls/libpthread.so.0 #1 0x41b6b397 in _nss_ldap_enter () from /lib/libnss_ldap.so.2 #2 0x41b6b692 in _nss_ldap_ent_context_init () from /lib/libnss_ldap.so.2 #3 0x41b6bf60 in _nss_ldap_setpwent () from /lib/libnss_ldap.so.2 #4 0x41b60316 in _nss_compat_getgrent_r () from /lib/libnss_compat.so.2 #5 0x41b6098f in _nss_compat_getpwuid_r () from /lib/libnss_compat.so.2 #6 0xbfffad90 in ?? () #7 0x08168fd0 in ?? () #8 0xbfffad80 in ?? () #9 0x08168fd0 in ?? () #10 0xbfffad98 in ?? () #11 0x40333ff4 in ?? () from /lib/tls/libc.so.6 #12 0xbfffadd4 in ?? () #13 0x402e84f5 in __nss_lookup_function () from /lib/tls/libc.so.6 Also i can note that there are Oracle base and Instant Client on the server. Their version is 10.2.0.1.0 The line 'unset ORACLE_HOME' is necessary in the file /opt/apache2/bin/envvars in order to use libraries of Instant Client but not Oracle base. Previous Comments: ------------------------------------------------------------------------ [2006-11-10 14:59:57] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2006-11-10 14:54:29] maremyanin at mera dot ru I have compiled the latest version but it didn't help. There is the same error when the line "unset ORACLE_HOME" is put in the file envvars. ------------------------------------------------------------------------ [2006-11-10 13:54:29] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2006-11-10 13:52:50] maremyanin at mera dot ru Description: ------------ I compile Apache+PHP with using Instantclient. For that are done the changes in Makefile: --with-oci8=instantclient,/opt/instantclient Then I have to change the file /opt/apache2/bin/envvars. I add the following lines: unset ORACLE_BASE ORACLE_HOME ORA_NLS ORA_NLS33 ORACLE_SID LD_LIBRARY_PATH export NLS_LANG=AMERICAN_AMERICA.AL32UTF8 export LD_LIBRARY_PATH=/opt/instantclient:$LD_LIBRARY_PATH But after starting Apache crashs. If I delete ORACLE_HOME from the file, Apache works but PHP does not. More details: OS: SuSE Linux 9 uname -a: Linux oracle 2.6.5-7.257-bigsmp #1 SMP Mon May 15 14:14:14 UTC 2006 i686 i686 i386 GNU/Linux Apache 2.2.3 Oracle 10.2.0.1.0 PHP 5.1.2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39462&edit=1