Package: slapd
Version: 2.4.11-1
Severity: normal

--- Please enter the report below this line. ---

Hi,

I installed a lenny system via an official netinstall cd. Then I upgraded the
system to testing and installed kolabd and kolab-webadmin.

Without further manual configuration changes, slapd segfaults during the first
request (e.g. triggered by ldapsearch).

I installed slapd-dbg and started slapd via gdb. Attached you find the gdb log
and the slapd.conf file, as well as the used kolab2.schema file.

My versions of db4.6 (it was mentioned in the gdb output):
ii      db4.6-util      4.6.21-13
ii      libdb4.6        4.6.21-13


I hope, this helps you to reproduce the segfault.

thanks for your time,
Lars

-- 

gpg key: https://systemausfall.org/schluessel/lars-devel.0.asc
Starting program: /usr/sbin/slapd -d 2 -g openldap -u openldap -f /etc/ldap/slapd.conf
[Thread debugging using libthread_db enabled]
[New Thread 0xb7a586c0 (LWP 31809)]
[New Thread 0xb5113b90 (LWP 31812)]
[Thread 0xb5113b90 (LWP 31812) exited]
[New Thread 0xb5113b90 (LWP 31813)]
[New Thread 0xb4511b90 (LWP 31814)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4511b90 (LWP 31814)]
0xb7b9afd3 in strchrnul () from /lib/i686/cmov/libc.so.6

Thread 4 (Thread 0xb4511b90 (LWP 31814)):
#0  0xb7b9afd3 in strchrnul () from /lib/i686/cmov/libc.so.6
#1  0xb7b5e81b in vfprintf () from /lib/i686/cmov/libc.so.6
#2  0xb7b63590 in ?? () from /lib/i686/cmov/libc.so.6
#3  0xb7b5ea4e in vfprintf () from /lib/i686/cmov/libc.so.6
#4  0xb79bba34 in __db_errfile () from /usr/lib/libdb-4.6.so
#5  0xb79c599f in ?? () from /usr/lib/libdb-4.6.so
#6  0x084cc808 in ?? ()
#7  0x00000000 in ?? ()

Thread 3 (Thread 0xb5113b90 (LWP 31813)):
#0  0xb7f4b424 in __kernel_vsyscall ()
#1  0xb7c028d6 in epoll_wait () from /lib/i686/cmov/libc.so.6
#2  0x08073227 in slapd_daemon_task (ptr=0x0)
    at /build/buildd/openldap-2.4.11/servers/slapd/daemon.c:2281
#3  0xb7c864e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#4  0xb7c0210e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7a586c0 (LWP 31809)):
#0  0xb7f4b424 in __kernel_vsyscall ()
#1  0xb7c86b67 in pthread_join () from /lib/i686/cmov/libpthread.so.0
#2  0xb7f0ed94 in ldap_pvt_thread_join () from /usr/lib/libldap_r-2.4.so.2
#3  0x08070043 in slapd_daemon ()
    at /build/buildd/openldap-2.4.11/servers/slapd/daemon.c:2643
#4  0x0805deee in main (argc=9, argv=0xbfe68eb4)
    at /build/buildd/openldap-2.4.11/servers/slapd/main.c:948
#0  0xb7b9afd3 in strchrnul () from /lib/i686/cmov/libc.so.6
The program is running.  Exit anyway? (y or n) 

Attachment: kolab2.schema.bz2
Description: application/bzip

Attachment: slapd.conf
Description: Binary data

Attachment: signature.asc
Description: PGP signature

Reply via email to