The slapd package in lenny/squeeze depends on Berkeley DB 4.2, not 4.6.  Install the libdb4.2 package and see if it fixes the problem.<br><br><div class="gmail_quote">On Thu, Jul 23, 2009 at 4:09 AM, Marc Pignat <span dir="ltr">&lt;<a href="mailto:marc.pignat@hevs.ch">marc.pignat@hevs.ch</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all!<br>
<br>
I have the same bug on my machine.<br>
<br>
It is very easy to reproduce:<br>
1. install slapd and ldap-utils<br>
        * aptitude install slapd ldap-utils<br>
2. do a ldap search (any search, any credentials)<br>
        * ldapsearch toto -w anypassword<br>
<br>
Then slapd is crashed.<br>
<br>
dmesg contains various messages when slapd crashes, here are some examples:<br>
<br>
[1709526.534218] slapd[10017] trap invalid opcode ip:7fa92be6cc29 sp:7fa92a5e63c8 error:0 in <a href="http://libdb-4.6.so" target="_blank">libdb-4.6.so</a>[7fa92bda3000+142000]<br>
[1709555.781874] slapd[10030]: segfault at 2500ed8 ip 0000000002500ed8 sp 00007fdcb8e884c8 error 15<br>
[1709728.106545] slapd[10072] trap invalid opcode ip:7f3b3f38ec29 sp:7f3b3db083c8 error:0 in <a href="http://libdb-4.6.so" target="_blank">libdb-4.6.so</a>[7f3b3f2c5000+142000]<br>
[1709749.217577] slapd[10084] trap invalid opcode ip:7f5e03126c29 sp:7f5e018a03c8 error:0 in <a href="http://libdb-4.6.so" target="_blank">libdb-4.6.so</a>[7f5e0305d000+142000]<br>
[1709826.944526] slapd[10097] trap invalid opcode ip:7f19b1fd0c29 sp:7f19b074a3c8 error:0 in <a href="http://libdb-4.6.so" target="_blank">libdb-4.6.so</a>[7f19b1f07000+142000]<br>
<br>
versions used:<br>
slapd-2.4.11-1<br>
libdb4.6.21-14<br>
<br>
I have tested this on 2 different machines, using 2 different kernel:<br>
* linux-image-2.6.30-1-1-amd64 (phenom II X4)<br>
* linux-image-2.6.26-2-686 (on Core2)<br>
<br>
Please consider changing the severity level, I think crashing the ldap server<br>
is really a big problem.<br>
<br>
Please let me know if you want more info!<br>
<br>
Best regards<br>
<br>
Marc<br>
<br>
<br>
<br>
_______________________________________________<br>
Pkg-openldap-devel mailing list<br>
<a href="mailto:Pkg-openldap-devel@lists.alioth.debian.org">Pkg-openldap-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-openldap-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-openldap-devel</a><br>
<br>
</blockquote></div><br>