From:             frameloss at gmail dot com
Operating system: Fedora Core 3
PHP version:      5.0.4
PHP Bug Type:     LDAP related
Bug description:  Oracle LDAP: ldap_get_entries invalid pointer

Description:
------------
The following errors occur when using the ldap_get_entries call on PHP
5.0.4, Apache 2.0.53 , Fedora Core 3 2.6.9-1.724_FC3smp

*** glibc detected *** free(): invalid pointer: 0xb7cede40 ***
*** glibc detected *** double free or corruption (out): 0x08917930 ***
*** glibc detected *** free(): invalid pointer: 0xb7cede40 ***
[Tue May  3 14:13:27 2005] [notice] child pid 13543 exit signal Aborted
(6)
[Tue May  3 14:13:27 2005] [notice] child pid 13544 exit signal Aborted
(6)
[Tue May  3 14:13:27 2005] [notice] child pid 13545 exit signal Aborted
(6)
*** glibc detected *** free(): invalid pointer: 0xb7cede40 ***

However, ldap_get_values and ldap_first_entry etc seem to work fine.

Configure line:

'./configure' '--with-ldap=/usr/local/oracle/product/10.1.0.3.0/'
'--enable-versioning' '--enable-memo' '--enable-ctype' '--with-curl'
'--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-freetype'
'--with-t1lib' '--with-jpeg' '--with-jpeg-dir=/usr/local' '--with-png'
'--with-xpm' '--with-gmp' '--with-mcrypt' '--with-mhash'
'--with-mysql=/usr/local' '--with-openssl'
'--with-oci8=/usr/local/oracle/product/10.1.0.3.0' '--enable-overload'
'--with-pcre-regex' '--enable-posix' '--enable-session'
'--enable-tokenizer' '--with-expat' '--enable-xml' '--with-zlib'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-xpm-dir=/usr/X11R6/'
'--with-freetype-dir=/usr' '--with-t1lib-dir=/usr'
'--with-sybase-ct=/usr/local/FreeTDS/'

Reproduce code:
---------------
Using example code provided from user manual.


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

Reply via email to