PHP 4.0 Bug #7729 Updated: Segfault during IMP LDAP lookups
| From: | sniper@php.net | Date: | Sat, 11 Nov 2000 17:41:02 +0000 |
| Subject: | PHP 4.0 Bug #7729 Updated: Segfault during IMP LDAP lookups | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37757@lists.php.net to get a copy of this message | ||
ID: 7729
Updated by: sniper
Reported By: yoneyama@vet.upenn.edu
Status: Feedback
Bug Type: Reproduceable crash
Assigned To:
Comments:
1. Use the install paths for libraries not the source in --with-imap & --with-ldap
2. Does the ldapsearch binary work from the command line?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-09 11:33:11] yoneyama@vet.upenn.edu
I am running Apache 1.3.12 (mod_ssl/openssl), dynamic module, here is my configure line:
env CC=gcc
./configure
--with-mysql=/usr/local
--with-imap=../imap-2000.RELEASE-CANDIDATE.7
--with-ldap=../openldap-2.0.7
--with-apxs=/usr/local/apachessl/bin/apxs
I've compiled Apache and all pre-reqs using SGI's MIPSPro 7.3 C compiler *EXCEPT* for
PHP4, where I use gcc, because the SGI-compiled libphp4.so library is unusable (cf. bug #6433 for
details).
I have set up IMP (2.2.3). Everything is working just hunky-dory except for when I try to do an LDAP
search. I see a square symbol where the LDAP search results are supposed to be returned. IMP still
continues to function, though. But it does produce the following in my Apache error log:
(today's date) [notice] child pid 2446265 exit signal Segmentation fault (11)
I don't know enough to know if OpenLDAP is causing the problem, or if it's just a bad
libphp4.so library. I suspect the latter. So I will start here. Thanks.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7729