php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7240 ldap module linked with openldap2 crashes
Submitted: 2000-10-16 09:55 UTC Modified: 2000-11-06 03:49 UTC
From: cech at debian dot org Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.3pl1 OS: Debian GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 + 40 = ?
Subscribe to this entry?

 
 [2000-10-16 09:55 UTC] cech at debian dot org
Hi,

I was asked by the maintainer of openldap2 to recompile php4

with this.  The compilation went without problems, no warninings (will try higher -W settings). It links and loads

correctly into apache, apache starts. I can even load login page of IMP, but when I try to login, it crashes. After removing "extension=ldap.so" from php.ini it works OK.



Thanks for your help



Petr Cech

(php3 & php4 maintainer for Debian)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-17 12:44 UTC] sniper@php.net
Was this fixed ( like said in #6872 ) ??

--Jani
 [2000-11-03 18:09 UTC] sniper@php.net
No feedback, assumed to be fixed now.

--Jani
 [2000-11-05 19:01 UTC] cech at debian dot org
Hi,

this bug has not been solved even in the latest CVS version.

Strange is, that it crashes in the imap module and the ldap

is probably not even touched. Compiling with openldap1 works

aroud this problem.



#0  0x4000917c in _dl_lookup_versioned_symbol () from /lib/ld-linux.so.2

#1  0x4000c389 in fixup () from /lib/ld-linux.so.2

#2  0x4000c540 in _dl_runtime_resolve () from /lib/ld-linux.so.2

#3  0x423afdca in mail_open () from /usr/lib/libc-client.so.4.7

#4  0x4238f733 in imap_do_open (ht=3, return_value=0x8200a0c, this_ptr=0x0, return_value_used=1, persistent=0)

    at /root/php4/ext/imap/php_imap.c:768

#5  0x4238f7dd in php_if_imap_open (ht=3, return_value=0x8200a0c, this_ptr=0x0, return_value_used=1)

    at /root/php4/ext/imap/php_imap.c:796

#6  0x40268979 in execute (op_array=0x814a0a4) at ../../Zend/zend_execute.c:1519

#7  0x40268bcc in execute (op_array=0x80f8004) at ../../Zend/zend_execute.c:1559

#8  0x40276bef in zend_execute_scripts (type=8, file_count=3) at ../../Zend/zend.c:729

#9  0x40288214 in php_execute_script (primary_file=0xbffffaf8) at /root/php4/main/main.c:1204

#10 0x40284adf in apache_php_module_main (r=0x80f1c64, display_source_mode=0) at /root/php4/sapi/apache/sapi_apache.c:89

#11 0x40285458 in send_php (r=0x80f1c64, display_source_mode=0, filename=0x0) at /root/php4/sapi/apache/mod_php4.c:506

#12 0x40285496 in send_parsed_php (r=0x80f1c64) at /root/php4/sapi/apache/mod_php4.c:517

#13 0x8053f04 in ap_invoke_handler ()

#14 0x806284c in ap_some_auth_required ()

#15 0x80628a8 in ap_process_request ()

#16 0x805c5c9 in ap_child_terminate ()

#17 0x805c75c in ap_child_terminate ()

#18 0x805c879 in ap_child_terminate ()

#19 0x805cd2b in ap_child_terminate ()

#20 0x805d3ed in main ()

#21 0x400d8bcc in __libc_start_main () from /lib/libc.so.6


 [2000-11-06 03:49 UTC] cech at debian dot org
Hi,

thanks for the hint. I've compiled imap extension stiticaly

with c-client and it works OK now.



Petr Cech
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC