[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4117) slapd-ldap killed by a broken client

Full_Name: Raphael Ouazana
Version: 2.2.28
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

When I kill my client (using an old libldap), I get a SIGPIPE. The trace :

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1229386832 (LWP 4588)]
0x002a49e1 in __write_nocancel () from /lib/tls/libpthread.so.0
(gdb) bt
#0  0x002a49e1 in __write_nocancel () from /lib/tls/libpthread.so.0
#1  0x080dd104 in sb_debug_write (sbiod=0x9f542a8, buf=0x9f55830, len=7) at
#2  0x080dc908 in ber_int_sb_write (sb=0x9f4e4f0, buf=0x9f55830, len=7) at
#3  0x080da347 in ber_flush (sb=0x9f4e4f0, ber=0x9f55568, freeit=1) at io.c:243
#4  0x080c5008 in ldap_send_unbind (ld=0x9f539c8, sb=0x9f4e4f0, sctrls=0x0,
cctrls=0x0) at unbind.c:248
#5  0x080cbfba in ldap_free_connection (ld=0x9f539c8, lc=0x9f557d8, force=1,
unbind=1) at request.c:504
#6  0x080c4f1b in ldap_ld_free (ld=0x9f539c8, close=1, sctrls=0x0, cctrls=0x0)
at unbind.c:103
#7  0x080c4ccc in ldap_unbind_ext (ld=0x9f539c8, sctrls=0x0, cctrls=0x0) at
#8  0x080c4d20 in ldap_unbind (ld=0x9f539c8) at unbind.c:76
#9  0x080addb6 in ldap_back_retry (lc=0x9f543c0, op=0x9f53828, rs=0xb6b90870) at
#10 0x0809cfc2 in ldap_back_search (op=0x9f53828, rs=0xb6b90870) at
#11 0x08058b6b in do_search (op=0x9f53828, rs=0xb6b90870) at search.c:412
#12 0x0805745a in connection_operation (ctx=0xb6b908f0, arg_v=0x9f53828) at
#13 0x080befab in ldap_int_thread_pool_wrapper (xpool=0x9f05d00) at tpool.c:467
#14 0x0029fde8 in start_thread () from /lib/tls/libpthread.so.0
#15 0x0038793a in clone () from /lib/tls/libc.so.6

Is it related to ITS#3913 ?

Raphael Ouazana.