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

openldap-2.1.22 core dumped on create new entries with UTF dc



I'm running openldap 2.1.22 on FreeBSD 5.1 sparc64.
Slapd core-dumped each time, i try to create new entry with dc, contans UTF
symbols:

syslog:

slapd[25597]: do_add
slapd[25597]: >>> dnPrettyNormal:
<ou=▒M-^@▒M-^C▒M-^A▒M-^Aкий,ou=People,dc=komi,dc=mts,dc=ru>
kernel: pid 25597 (slapd), uid 0: exited on signal 4 (core dumped)

backtrace:

#0  0x00000000001762dc in uckdecomp (code=1088, num=0x7fdffae9420,
decomp=0x7fdffae9418)
    at ucdata.c:871
871             if (code > _uckdcmp_nodes[m])
(gdb) bt
#0  0x00000000001762dc in uckdecomp (code=1088, num=0x7fdffae9420,
decomp=0x7fdffae9418)
    at ucdata.c:871
#1  0x0000000000176468 in uccanoncompatdecomp (in=0x38f380, inlen=7,
out=0x7fdffae95e0,
    outlen=0x7fdffae95dc, mode=1) at ucdata.c:915
#2  0x00000000001767bc in uccompatdecomp (in=0x0, inlen=7,
out=0x7fdffae95e0,
    outlen=0x7fdffae95dc) at ucdata.c:980
#3  0x0000000000177760 in UTF8bvnormalize (bv=0x7, newbv=0x7fdffae96b8,
flags=2728072)
    at ucstr.c:215
#4  0x000000000011ead8 in LDAPDN_rewrite (dn=0x387bc0, flags=0) at dn.c:319
#5  0x000000000011f4a8 in dnPrettyNormal (syntax=0x15, val=0x7fdffae99c8,
    pretty=0x38f308, normal=0x38f318) at dn.c:612
#6  0x0000000000111690 in do_add (conn=0x3a7b80, op=0x3a0800) at add.c:88
#7  0x000000000010c5ac in connection_operation (ctx=0x387ac0,
arg_v=0x3a0800)
    at connection.c:927
#8  0x00000000403d5fb0 in ldap_int_thread_pool_wrapper (xpool=0x2ead00) at
tpool.c:426
#9  0x00000000410eea94 in _thread_start () from /usr/lib/libc_r.so.5

(gdb) print code
$1 = 1088
(gdb) print m
$2 = 13935021391870

Have you an idea of what is going wrong ?

Thanks!