[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: core dumped on create new entries with UTF/base64 dn (ITS#2632)
The back trace you provided shows a trashed stack but no
indication of how that occurred. You'll likely will need
to walk through the code in a debugger to determine how
that occurred.
Kurt
At 01:19 PM 7/6/2003, tiamat@komi.mts.ru wrote:
>Full_Name: Alex Deiter
>Version: 2.1.22
>OS: FreeBSD 5.1 sparc64
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (212.44.140.14)
>
>
>I'm running openldap 2.1.22 on FreeBSD 5.1 sparc64.
>Slapd core-dumped each time, i try to add new entry with dn, contans UTF, or
>base64 encoded:
>
>test.ldif:
>dn:: b3U90YDRg9GB0YHQutC40Lkg0YLQtdGB0YIsZGM9a29taSxkYz1tdHMsZGM9cnU=
>objectClass: top
>objectclass: organizationalUnit
>ou:: 0YDRg9GB0YHQutC40Lkg0YLQtdGB0YI=
>
># ldapadd -x -W -D 'cn=ldapmanager,dc=komi,dc=mts,dc=ru' -f test.ldif
>Enter LDAP Password:
>adding new entry "ou=§ñ©¤§ñ©´§ñ©¦§ñ©¦§á¨l§á¨j§á¨k
>§ñ©°§á¨g§ñ©¦§ñ©°,dc=komi,dc=mts,dc=ru"
>ldapadd: update failed: ou=§ñ©¤§ñ©´§ñ©¦§ñ©¦§á¨l§á¨j§á¨k
>§ñ©°§á¨g§ñ©¦§ñ©°,dc=komi,dc=mts,dc=ru
>ldap_add: Can't contact LDAP server (81)
>
>/var/log/messages:
>kernel: pid 2464 (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=0x3a0900, 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=0x387ac0, flags=0) at dn.c:319
>#5 0x000000000011f4a8 in dnPrettyNormal (syntax=0x15, val=0x7fdffae99c8,
> pretty=0x38f188, normal=0x38f198) at dn.c:612
>#6 0x0000000000111690 in do_add (conn=0x3a7b80, op=0x3a0700) at add.c:88
>#7 0x000000000010c5ac in connection_operation (ctx=0x3878c0,
>arg_v=0x3a0700)
> 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
>
>Thanks!