From:             guym at arizona dot edu
Operating system: Solaris 9
PHP version:      4.3.10
PHP Bug Type:     Reproducible crash
Bug description:  oci8 ldap causes crash

Description:
------------
Compiling oci8 into the php LoadableModule causes each apache child to
segfault immediately. Here is the gdb output:

#0  0xfd7007b8 in gslufpFLog () from
/home/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#1  0xfd6efb30 in ldap_init () from
/home/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#2  0xfe9a20ac in openConnection () from /usr/lib/libsldap.so.1

It seems it is not using Oracle's LDAP, even though that was specified
during configuration. Here is my configure command:

./configure --prefix=/opt/httpd/php
--with-apxs2=/opt/httpd/apache/bin/apxs
--with-config-file-path=/opt/httpd/apache/conf --enable-safe-mode
--with-dom-xslt --with-ldap=$ORACLE_HOME --with-oci8
--with-pgsql=/opt/httpd/postgres --with-dom --with-zlib-dir
--with-openssl-dir


-- 
Edit bug report at http://bugs.php.net/?id=31617&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31617&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31617&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31617&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31617&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31617&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31617&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31617&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31617&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31617&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31617&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31617&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31617&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31617&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31617&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31617&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31617&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31617&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31617&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31617&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31617&r=mysqlcfg

Reply via email to