PHP 4.0 Bug #7240 Updated: ldap module linked with openldap2 crashes
| From: | cech at debian dot org | Date: | Mon, 06 Nov 2000 08:49:56 +0000 |
| Subject: | PHP 4.0 Bug #7240 Updated: ldap module linked with openldap2 crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37233@lists.php.net to get a copy of this message | ||
ID: 7240
User Update by: cech@debian.org
Old-Status: Open
Status: Closed
Bug Type: LDAP related
Description: ldap module linked with openldap2 crashes
Hi,
thanks for the hint. I've compiled imap extension stiticaly
with c-client and it works OK now.
Petr Cech
Previous Comments:
---------------------------------------------------------------------------
[2000-11-05 19:01:13] cech@debian.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-03 18:09:57] sniper@php.net
No feedback, assumed to be fixed now.
--Jani
---------------------------------------------------------------------------
[2000-10-17 12:44:03] sniper@php.net
Was this fixed ( like said in #6872 ) ??
--Jani
---------------------------------------------------------------------------
[2000-10-16 09:55:36] cech@debian.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)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7240