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

(ITS#5685) slapd segfault

Full_Name: Claude Lecommandeur
Version: 2.2.13
OS: Redhat AS4
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


  slapd segfault on search with a very long filter. /var/log/nessages says :

Sep  5 10:50:44 cognac5-mgr kernel: slapd[22263]: segfault at 0000002a978e2000
rip 0000002a96290746 rsp 00000000407ff290 error 6

   gdb says :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082136928 (LWP 22263)]
0x0000002a96290746 in _IO_default_xsputn_internal () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x0000002a96290746 in _IO_default_xsputn_internal () from
#1  0x0000002a9626d06b in vfprintf () from /lib64/tls/libc.so.6
#2  0x0000002a9628c794 in vsnprintf () from /lib64/tls/libc.so.6
#3  0x0000002a962726b1 in snprintf () from /lib64/tls/libc.so.6
#4  0x000000552aadbd2e in filter2bv_x (op=0x2a99fc76a0, f=Variable "f" is not
) at ../../../servers/slapd/filter.c:852
#5  0x000000552aadbce2 in filter2bv_x (op=0x2a99fc76a0, f=Variable "f" is not
) at ../../../servers/slapd/filter.c:846
#6  0x000000552aad99e2 in do_search (op=0x2a99fc76a0, rs=0x40800d70) at
#7  0x000000552aad91b6 in connection_operation (ctx=0x40800e20,
arg_v=0x2a99fc76a0) at ../../../servers/slapd/connection.c:1042
#8  0x000000552ab7f44b in ldap_int_thread_pool_wrapper (xpool=Variable "xpool"
is not available.
) at ../../../libraries/libldap_r/tpool.c:467
#9  0x0000002a95f0e137 in start_thread () from /lib64/tls/libpthread.so.0
#10 0x0000002a962f3883 in clone () from /lib64/tls/libc.so.6

   I am on holliday next week but will be happy to answer questions when I