#32932 [Opn->Fbk]: Oracle LDAP: ldap_get_entries invalid pointer
| From: | iliaa@php.net | Date: | Tue, 03 May 2005 21:16:23 +0000 |
| Subject: | #32932 [Opn->Fbk]: Oracle LDAP: ldap_get_entries invalid pointer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78602@lists.php.net to get a copy of this message | ||
ID: 32932
Updated by: iliaa@php.net
Reported By: frameloss at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: Fedora Core 3
PHP Version: 5.0.4
New Comment:
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
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.
Previous Comments:
------------------------------------------------------------------------
[2005-05-03 22:43:25] frameloss at gmail dot com
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 this bug report at http://bugs.php.net/?id=32932&edit=1