Hi list,

Is anybody running 7-STABLE (AMD64) with qmail-ldap ?

I have some FreeBSD+qmail-ldap servers running very wheel, but I'm
having a strange problem with a new setup running qmail-ldap with
7-STABLE(AMD64). Any operation that involves ldap connection result in
a core dumped. The OpenLDAP is running ok, doing synchronization via
syncrepl, I can query this with ldapsearch without any problem.

Compiling qmail-ldap and OpenLDAP with debug symbols I get the following:

# ./qmail-ldaplookup -m test
Segmentation fault (core dumped)
# gdb qmail-ldaplookup qmail-ldaplookup.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `qmail-ldaplookup'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libldap-2.3.so.2...done.
Loaded symbols for /usr/local/lib/libldap-2.3.so.2
Reading symbols from /usr/local/lib/liblber-2.3.so.2...done.
Loaded symbols for /usr/local/lib/liblber-2.3.so.2
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/libssl.so.5...done.
Loaded symbols for /usr/lib/libssl.so.5
Reading symbols from /lib/libcrypto.so.5...done.
Loaded symbols for /lib/libcrypto.so.5
Reading symbols from /usr/local/lib/nss_ldap.so.1...done.
Loaded symbols for /usr/local/lib/nss_ldap.so.1
Reading symbols from /usr/local/lib/nss_winbind.so.1...done.
Loaded symbols for /usr/local/lib/nss_winbind.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 ldap_set_option (ld=0x1039040, option=17, invalue=0x7fffffffea18)
at options.c:358
358 assert( LDAP_VALID( ld ) );
(gdb) bt
#0 ldap_set_option (ld=0x1039040, option=17, invalue=0x7fffffffea18)
at options.c:358
#1 0x0000000000404eaa in qldap_set_option (q=0x801010060, forceV2=0)
at qldap.c:972
#2 0x000000000040357d in qldap_open (q=0x801010060) at qldap.c:257
#3 0x00000000004015a6 in main (argc=3, argv=0x7fffffffec20) at
qmail-ldaplookup.c:211


The system is 7-STABLE updated and builded today.

Some idea ?

Regards,

Alexandre
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"