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

replication: slave slapd core dumped (signal 4), gdb bt



Hello!

I'm use openldap 2.1.16 on FreeBSD 5.0 and have problem with replication.

master# slapcat -l master.ldif
slave# slapadd -l master.ldif
slave# /usr/local/etc/rc.d/slapd.sh start
master# /usr/local/etc/rc.d/slapd.sh start
master# /usr/local/etc/rc.d/slurpd.sh start

If i add/delete records or attribute changes succesfull replicated. I cannot
modify attribute.
On master i modify attribute displayName (samba.schema), after that on slave
slapd exited on signal 4 (core dumped).

master slapd log:

Apr  3 14:59:46 master slapd[19282]: bdb_initialize: Sleepycat Software:
Berkeley DB 4.1.25: (December 19, 2002)
Apr  3 14:59:47 master slapd[19282]: bdb_db_init: Initializing BDB database
Apr  3 14:59:47 master slapd[19283]: slapd starting
Apr  3 15:00:08 master slapd[19283]: conn=1 fd=16 ACCEPT from
IP=127.0.0.1:52427 (IP=0.0.0.0:389)
Apr  3 15:00:08 master slapd[19283]: conn=1 op=0 BIND
dn="cn=root,dc=komi,dc=mts,dc=ru" method=128
Apr  3 15:00:08 master slapd[19283]: conn=1 op=0 BIND
dn="cn=root,dc=komi,dc=mts,dc=ru" mech=simple ssf=0
Apr  3 15:00:08 master slapd[19283]: conn=1 op=0 RESULT tag=97 err=0
text=Apr  3 15:00:08 master slapd[19283]: conn=1 op=1 SRCH
base="dc=komi,dc=mts,dc=ru" scope=2
filter="(&(uid=tiamat)(objectClass=sambaAccount))"
Apr  3 15:00:08 master slapd[19283]: conn=1 op=3 MOD
dn="uid=tiamat,ou=Users,dc=komi,dc=mts,dc=ru"
Apr  3 15:00:08 master slapd[19283]: conn=1 op=3 MOD attr=displayName
displayName
Apr  3 15:00:08 master slapd[19283]: conn=1 op=3 RESULT tag=103 err=0 text=
Apr  3 15:00:08 master slapd[19283]: conn=1 fd=16 closed

slave slapd log:

Apr  3 14:59:17 slave slapd[1560]: bdb_initialize: Sleepycat Software:
Berkeley DB 4.1.25: (December 19, 2002)
Apr  3 14:59:17 slave slapd[1560]: bdb_db_init: Initializing BDB database
Apr  3 14:59:17 slave slapd[1561]: slapd starting
Apr  3 14:59:58 slave slapd[1561]: conn=0 fd=14 ACCEPT from
IP=10.0.0.1:52428 (IP=0.0.0.0:389)
Apr  3 14:59:58 slave slapd[1561]: conn=0 op=0 BIND
dn="cn=root,dc=komi,dc=mts,dc=ru" method=128
Apr  3 14:59:58 slave slapd[1561]: conn=0 op=0 BIND
dn="cn=root,dc=komi,dc=mts,dc=ru" mech=simple ssf=0
Apr  3 14:59:58 slave slapd[1561]: conn=0 op=0 RESULT tag=97 err=0 text=
Apr  3 14:59:58 slave slapd[1561]: conn=0 op=1 MOD
dn="uid=tiamat,ou=Users,dc=komi,dc=mts,dc=ru"
Apr  3 14:59:58 slave slapd[1561]: conn=0 op=1 MOD attr=displayName
displayName entryCSN modifiersName modifyTimestamp
Apr  3 14:59:59 slave kernel: pid 1561 (slapd), uid 0: exited on signal 4
(core dumped)

root@slave:/usr/local/etc/openldap# gdb53 /usr/local/libexec/slapd
./slapd.core
GNU gdb 5.3 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc64-portbld-freebsd5.0"...
Core was generated by `slapd'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/local/lib/libdb41.so.1...done.
Loaded symbols for /usr/local/lib/libdb41.so.1
Reading symbols from /usr/local/lib/libsasl2.so.2...done.
Loaded symbols for /usr/local/lib/libsasl2.so.2
Reading symbols from /usr/lib/libssl.so.3...done.
Loaded symbols for /usr/lib/libssl.so.3
Reading symbols from /usr/lib/libcrypto.so.3...done.
Loaded symbols for /usr/lib/libcrypto.so.3
Reading symbols from /usr/lib/libfetch.so.3...done.
Loaded symbols for /usr/lib/libfetch.so.3
Reading symbols from /usr/lib/libcom_err.so.2...done.
Loaded symbols for /usr/lib/libcom_err.so.2
Reading symbols from /usr/lib/libcrypt.so.2...done.
Loaded symbols for /usr/lib/libcrypt.so.2
Reading symbols from /usr/lib/libwrap.so.3...done.
Loaded symbols for /usr/lib/libwrap.so.3
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/local/lib/sasl2/libsasldb.so...done.
Loaded symbols for /usr/local/lib/sasl2/libsasldb.so
Reading symbols from /usr/local/lib/sasl2/libcrammd5.so...done.
Loaded symbols for /usr/local/lib/sasl2/libcrammd5.so
Reading symbols from /usr/local/lib/sasl2/libdigestmd5.so...done.
Loaded symbols for /usr/local/lib/sasl2/libdigestmd5.so
Reading symbols from /usr/local/lib/sasl2/libplain.so...done.
Loaded symbols for /usr/local/lib/sasl2/libplain.so
Reading symbols from /usr/local/lib/sasl2/libanonymous.so...done.
Loaded symbols for /usr/local/lib/sasl2/libanonymous.so
Reading symbols from /usr/local/lib/sasl2/liblogin.so...done.
Loaded symbols for /usr/local/lib/sasl2/liblogin.so
Reading symbols from /usr/local/lib/sasl2/libntlm.so...done.
Loaded symbols for /usr/local/lib/sasl2/libntlm.so
Reading symbols from /usr/libexec/ld-elf.so.1...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x00000000001607bc in uckdecomp (code=1057, num=0x7fdffffdbc8,
    decomp=0x7fdffffdbc0) at ucdata.c:871
871             if (code > _uckdcmp_nodes[m])
(gdb) bt
#0  0x00000000001607bc in uckdecomp (code=1057, num=0x7fdffffdbc8,
    decomp=0x7fdffffdbc0) at ucdata.c:871
#1  0x0000000000160948 in uccanoncompatdecomp (in=0x364a00, inlen=24,
    out=0x7fdffffdd88, outlen=0x7fdffffdd84, mode=1) at ucdata.c:915
#2  0x0000000000160c9c in uccompatdecomp (in=0x0, inlen=24,
out=0x7fdffffdd88,
    outlen=0x7fdffffdd84) at ucdata.c:980
#3  0x0000000000162264 in UTF8bvnormcmp (bv1=0x18, bv2=0x3682c0, flags=0)
    at ucstr.c:379
#4  0x0000000000132b14 in caseIgnoreMatch (matchp=0x7fdffffe00c, flags=1,
    syntax=0x2d0780, mr=0x2d6900, value=0x368300, assertedValue=0x3682c0)
    at schema_init.c:1780
#5  0x00000000001224c0 in value_match (match=0x7fdffffe00c, ad=0x2fbc40,
    mr=0x2d6900, flags=1, v1=0x362e00, v2=0x7fdffffe010, text=0x7fdffffe1c0)
    at value.c:354
#6  0x0000000000143a30 in modify_add_values (e=0x367000, mod=0x2fbac0,
    permissive=0, text=0x7fdffffe1c0, textbuf=0x7fdffffe220 "", textlen=256)
    at mods.c:410
#7  0x0000000000147d14 in bdb_modify_internal (be=0x2d2800, conn=0x36b7a0,
    op=0x35b600, tid=0x35b700, modlist=0x2fbac0, e=0x367000,
text=0x7fdffffe1c0,
    textbuf=0x7fdffffe220 "", textlen=256) at modify.c:59
#8  0x00000000001488b8 in bdb_modify (be=0x2d2800, conn=0x36b7a0,
op=0x35b600,
    dn=0x7fdffffe760, ndn=0x7fdffffe750, modlist=0x2fbac0) at modify.c:449
#9  0x000000000011fb3c in do_modify (conn=0x36b7a0, op=0x35b600) at
modify.c:424
#10 0x000000000010b350 in connection_operation (ctx=0x0, arg_v=0x2e2ef0)
    at connection.c:947
#11 0x0000000000168cf0 in ldap_pvt_thread_pool_submit (pool=0x2b0ac0,
    start_routine=0x10b1c0 <connection_operation>, arg=0x2e2ef0) at
thr_stub.c:159
#12 0x000000000010c2e4 in connection_op_activate (conn=0x36b7a0,
op=0x35b600)
    at connection.c:1625
#13 0x000000000010bebc in connection_input (conn=0x36b7a0) at
connection.c:1496
#14 0x000000000010b9c4 in connection_read (s=14) at connection.c:1265
#15 0x0000000000109044 in slapd_daemon_task (ptr=0xe) at daemon.c:1854
#16 0x0000000000168adc in ldap_pvt_thread_create (thread=0x7fdfffff7dc,
detach=0,
    start_routine=0x107700 <slapd_daemon_task>, arg=0x0) at thr_stub.c:48
#17 0x0000000000109304 in slapd_daemon () at daemon.c:1943
#18 0x0000000000105300 in main (argc=1091126904, argv=0x7fdfffffa50) at
main.c:557
#19 0x0000000000104824 in _start ()
(gdb)

Help me please!

Thanks!