[JDEV] Bug in jabberd-2.0beta2 ldap
Aleksander Adamowski
aleksander.adamowski at altkom.pl
Fri Oct 24 06:41:33 CDT 2003
On RedHat 9, jabberd-2.0b2 c2s process hangs and has to be killed with
signal 9 when:
1) LDAP authentication is used and
2) a user is logged in to the jabberd server and
3) the administarator shuts down jabberd.
Those 3 conditions result in a locked up c2s process. Attaching to this
process with gdb and doing a backtrace gives this:
<snip>
Reading symbols from /usr/lib/sasl/libplain.so...done.
Loaded symbols for /usr/lib/sasl/libplain.so
0x42074bf4 in malloc_consolidate () from /lib/tls/libc.so.6
(gdb) bt
#0 0x42074bf4 in malloc_consolidate () from /lib/tls/libc.so.6
#1 0x42074249 in _int_malloc () from /lib/tls/libc.so.6
#2 0x4207360b in malloc () from /lib/tls/libc.so.6
#3 0x4017632f in ber_memalloc () from /usr/lib/liblber.so.2
#4 0x40176467 in ber_memrealloc () from /usr/lib/liblber.so.2
#5 0x40174e3c in ber_realloc () from /usr/lib/liblber.so.2
#6 0x40174d3b in ber_write () from /usr/lib/liblber.so.2
#7 0x40173431 in ber_scanf () from /usr/lib/liblber.so.2
#8 0x401736fe in ber_scanf () from /usr/lib/liblber.so.2
#9 0x40174908 in ber_printf () from /usr/lib/liblber.so.2
#10 0x40155faa in ldap_send_unbind () from /usr/lib/libldap.so.2
#11 0x4015c973 in ldap_free_connection () from /usr/lib/libldap.so.2
#12 0x40155eaa in ldap_ld_free () from /usr/lib/libldap.so.2
#13 0x40155c2b in ldap_unbind_ext () from /usr/lib/libldap.so.2
#14 0x40155f0f in ldap_unbind_s () from /usr/lib/libldap.so.2
#15 0x0804d047 in _ldap_free (ar=0x80b5718) at authreg_ldap.c:178
#16 0x0804a88a in authreg_free (ar=0x80b5718) at authreg.c:192
#17 0x08053f43 in main (argc=4, argv=0xbfffe664) at main.c:576
#18 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
</snip>
I've originally thought it to be a bug in RedHat's stock tls libs, and
reported it here:
<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107613>
See this bug for all the details I've collected.
Best regards,
--
Aleksander Adamowski
Jabber JID (to nie e-mail!): olo at jabber.altkom.pl
GG#: 274614
ICQ UIN: 19780575
http://olo.office.altkom.com.pl
More information about the JDev
mailing list