michael(a)stroeder.com wrote:
> Full_Name: Michael Ströder
> Version: HEAD
> OS: openSUSE Linux 11.1
> URL:
> Submission from: (NULL) (84.163.90.131)
>
> Will try to grab a stack trace.
So here's the end of the output of test039 (with HDB) and a backtrace.
See also a tar.gz of directory testrun/:
http://www.stroeder.com/temp/openldap/testrun-its6004_test039_seg_faults.ta…
Ciao, Michael.
----------------------------- snip -----------------------------
PID=12116 - Read(1000): entry="cn=Database 1,cn=Databases,cn=Monitor".
PID=12113 - Search(500): base="cn=Monitor" scope=sub
filter="(objectClass=*)" attrs=cn (more...).
PID=12119 - Bind(1000): dn="".
PID=12125 - Search(500): base="o=Example,c=US" scope=sub
filter="(cn=Barbara Jensen)" attrs=cn (more...).
slapd-search PID=12113: ldap_sasl_bind_s: Can't contact LDAP server (-1)
bindDN="cn=Manager,o=Example,c=US"
slapd-read PID=12116: ldap_sasl_bind_s: Can't contact LDAP server (-1)
slapd-bind PID=12119: ldap_sasl_bind_s: Can't contact LDAP server (-1)
PID=12119 - Bind done (-1).
slapd-search PID=12125: ldap_sasl_bind_s: Can't contact LDAP server (-1)
bindDN="cn=Manager,o=Example,c=US"
PID=12133 - Read(1000): entry="cn=Barbara Jensen,ou=Information
Technology Division,ou=People,o=Example,c=US".
PID=12142 - Bind(1000): dn="cn=Barbara Jensen,ou=Information Technology
Division,ou=People,o=Example,c=US".
slapd-read PID=12133: ldap_sasl_bind_s: Can't contact LDAP server (-1)
slapd-bind PID=12142: ldap_sasl_bind_s: Can't contact LDAP server (-1)
PID=12142 - Bind done (-1).
PID=12156 - Search(500): base="ou=people,o=Example,c=US" scope=sub
filter="(cn=Bjorn Jensen)" attrs=cn (more...).
slapd-search PID=12156: ldap_sasl_bind_s: Can't contact LDAP server (-1)
bindDN="cn=Manager,o=Example,c=US"
stopping: child exited with status 1
./scripts/test039-glue-ldap-concurrency: line 188: 11492 Aborted
(core dumped) $SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3
2>&1
slapd-tester failed (1)!
./scripts/test039-glue-ldap-concurrency: line 193: kill: (11492) - No
such process
>>>>> ./scripts/test039-glue-ldap-concurrency failed (exit 1)
make[2]: *** [hdb-yes] Error 1
----------------------------- snip -----------------------------
(gdb) info threads
18 Thread 11817 0x40070f0d in ber_printf (ber=0x454c4c74,
fmt=0x81c654c "{O{") at encode.c:855
17 Thread 11522 0xffffe430 in __kernel_vsyscall ()
16 Thread 11754 0xffffe430 in __kernel_vsyscall ()
15 Thread 11815 0xffffe430 in __kernel_vsyscall ()
14 Thread 11739 0xffffe430 in __kernel_vsyscall ()
13 Thread 11507 0xffffe430 in __kernel_vsyscall ()
12 Thread 11781 0xffffe430 in __kernel_vsyscall ()
11 Thread 11782 0xffffe430 in __kernel_vsyscall ()
10 Thread 11749 0xffffe430 in __kernel_vsyscall ()
9 Thread 11813 0xffffe430 in __kernel_vsyscall ()
8 Thread 11697 0xffffe430 in __kernel_vsyscall ()
7 Thread 11821 0xffffe430 in __kernel_vsyscall ()
6 Thread 11717 0xffffe430 in __kernel_vsyscall ()
5 Thread 11719 0xffffe430 in __kernel_vsyscall ()
4 Thread 11703 0xffffe430 in __kernel_vsyscall ()
3 Thread 11492 0xffffe430 in __kernel_vsyscall ()
2 Thread 11660 0xffffe430 in __kernel_vsyscall ()
* 1 Thread 11679 0xffffe430 in __kernel_vsyscall ()
(gdb) thread apply all bt
Thread 18 (Thread 11817):
#0 0x40070f0d in ber_printf (ber=0x454c4c74, fmt=0x81c654c "{O{") at
encode.c:855
#1 0x0807b5f8 in ?? ()
#2 0x0810da3a in ?? ()
#3 0x0810d94c in ?? ()
#4 0x0810dd5d in ?? ()
#5 0x0806bcf3 in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x0806c568 in ?? ()
#9 0x0806983b in ?? ()
#10 0x0806a297 in ?? ()
#11 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x83ee578) at
tpool.c:663
#12 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#13 0x405793be in clone () from /lib/libc.so.6
Thread 17 (Thread 11522):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x40250b3b in write () from /lib/libpthread.so.0
#2 0x4007547b in sb_stream_write (sbiod=0x45c12248, buf=0x40fad17c,
len=65) at sockbuf.c:535
#3 0x400745ba in sb_debug_write (sbiod=0x45c10310, buf=0x40fad17c,
len=65) at sockbuf.c:852
#4 0x400749c2 in ber_int_sb_write (sb=0x45c0e490, buf=0x40fad17c,
len=65) at sockbuf.c:445
#5 0x40072244 in ber_flush2 (sb=0x45c0e490, ber=0x40fa9c74, freeit=0)
at io.c:256
#6 0x0807a49f in ?? ()
#7 0x0807c5bb in ?? ()
#8 0x0810da3a in ?? ()
#9 0x0810d94c in ?? ()
#10 0x0810dd5d in ?? ()
#11 0x0806bcf3 in ?? ()
#12 0x080d2f0c in ?? ()
#13 0x080d3ad4 in ?? ()
#14 0x0806c568 in ?? ()
#15 0x0806983b in ?? ()
#16 0x0806a297 in ?? ()
#17 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x4073d578) at
tpool.c:663
#18 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#19 0x405793be in clone () from /lib/libc.so.6
Thread 16 (Thread 11754):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x40250b3b in write () from /lib/libpthread.so.0
#2 0x4007547b in sb_stream_write (sbiod=0x8425cd0, buf=0x43cbf534,
len=120) at sockbuf.c:535
#3 0x400745ba in sb_debug_write (sbiod=0x8425dd8, buf=0x43cbf534,
len=120) at sockbuf.c:852
#4 0x400749c2 in ber_int_sb_write (sb=0x45c02a08, buf=0x43cbf534,
len=120) at sockbuf.c:445
#5 0x40072244 in ber_flush2 (sb=0x45c02a08, ber=0x43cbba1c, freeit=0)
at io.c:256
#6 0x0807a49f in ?? ()
#7 0x0807cd4e in ?? ()
#8 0x0807d96f in ?? ()
#9 0x080fb8ea in ?? ()
#10 0x080d13d8 in ?? ()
#11 0x080d2e96 in ?? ()
#12 0x080d3ad4 in ?? ()
#13 0x0806bcf3 in ?? ()
#14 0x080d2f0c in ?? ()
#15 0x080d3ad4 in ?? ()
#16 0x0806c568 in ?? ()
#17 0x0806983b in ?? ()
#18 0x0806a297 in ?? ()
#19 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x40739b34) at
tpool.c:663
#20 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#21 0x405793be in clone () from /lib/libc.so.6
Thread 15 (Thread 11815):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x402508dc in __lll_unlock_wake () from /lib/libpthread.so.0
#2 0x4024d0bb in _L_unlock_94 () from /lib/libpthread.so.0
#3 0x4024cccc in __pthread_mutex_unlock_usercnt () from
/lib/libpthread.so.0
#4 0x4003001d in ldap_pvt_thread_mutex_unlock (mutex=0x4073bc24) at
thr_posix.c:308
#5 0x0807a63b in ?? ()
#6 0x0807cd4e in ?? ()
#7 0x0807d96f in ?? ()
#8 0x081499f0 in ?? ()
#9 0x0814ad83 in ?? ()
#10 0x080d2f0c in ?? ()
#11 0x080d3ad4 in ?? ()
#12 0x0808835c in ?? ()
#13 0x080d2f0c in ?? ()
#14 0x080d3ad4 in ?? ()
#15 0x08088e92 in ?? ()
#16 0x0806983b in ?? ()
#17 0x0806a297 in ?? ()
#18 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x4073bcc0) at
tpool.c:663
#19 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#20 0x405793be in clone () from /lib/libc.so.6
Thread 14 (Thread 11739):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83d7b58, timeout=0x432b7b20) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83d7b58, msgid=943, all=0,
timeout=0x432b7c1c, result=0x432b7c34) at result.c:335
#4 0x080fbbab in ?? ()
#5 0x080d0b50 in ?? ()
#6 0x080d18e4 in ?? ()
#7 0x080d2e96 in ?? ()
#8 0x080d3ad4 in ?? ()
#9 0x0806bcf3 in ?? ()
#10 0x080d2f0c in ?? ()
#11 0x080d3ad4 in ?? ()
#12 0x0806c568 in ?? ()
#13 0x0806983b in ?? ()
#14 0x0806a297 in ?? ()
#15 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x0) at tpool.c:663
#16 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#17 0x405793be in clone () from /lib/libc.so.6
Thread 13 (Thread 11507):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x40579c56 in epoll_wait () from /lib/libc.so.6
#2 0x0806627f in ?? ()
#3 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#4 0x405793be in clone () from /lib/libc.so.6
Thread 12 (Thread 11781):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x838e580, timeout=0x441bdb20) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x838e580, msgid=588, all=0,
timeout=0x441bdc1c, result=0x441bdc34) at result.c:335
#4 0x080fbbab in ?? ()
#5 0x080d0b50 in ?? ()
#6 0x080d18e4 in ?? ()
#7 0x080d2e96 in ?? ()
#8 0x080d3ad4 in ?? ()
#9 0x0806bcf3 in ?? ()
#10 0x080d2f0c in ?? ()
#11 0x080d3ad4 in ?? ()
#12 0x0806c568 in ?? ()
#13 0x0806983b in ?? ()
#14 0x0806a297 in ?? ()
#15 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x0) at tpool.c:663
#16 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#17 0x405793be in clone () from /lib/libc.so.6
Thread 11 (Thread 11782):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83ceda8, timeout=0x445beb20) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83ceda8, msgid=777, all=0,
timeout=0x445bec1c, result=0x445bec34) at result.c:335
#4 0x080fbbab in ?? ()
#5 0x080d0b50 in ?? ()
#6 0x080d18b3 in ?? ()
#7 0x080d2e96 in ?? ()
#8 0x080d3ad4 in ?? ()
#9 0x0806bcf3 in ?? ()
#10 0x080d2f0c in ?? ()
#11 0x080d3ad4 in ?? ()
#12 0x0806c568 in ?? ()
#13 0x0806983b in ?? ()
#14 0x0806a297 in ?? ()
#15 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x0) at tpool.c:663
#16 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#17 0x405793be in clone () from /lib/libc.so.6
Thread 10 (Thread 11749):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83c6820, timeout=0x437babe0) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83c6820, msgid=237, all=1,
timeout=0x437bac50, result=0x437bac58) at result.c:335
#4 0x08149840 in ?? ()
#5 0x081520a1 in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x08083edb in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08084496 in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x437bb0c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 9 (Thread 11813):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83fe760, timeout=0x44bc2be0) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83fe760, msgid=457, all=1,
timeout=0x44bc2c50, result=0x44bc2c58) at result.c:335
#4 0x08149840 in ?? ()
#5 0x081520a1 in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x08083edb in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08084496 in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x44bc30c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 8 (Thread 11697):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x45c050a8, timeout=0x41dafb60) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x45c050a8, msgid=446, all=1,
timeout=0x41dafbd0, result=0x41dafbd8) at result.c:335
#4 0x08149840 in ?? ()
#5 0x080f9b8e in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x0808526f in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08085dd7 in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x41db00c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 7 (Thread 11821):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83adec0, timeout=0x458c69f0) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83adec0, msgid=137, all=1,
timeout=0x458c6a60, result=0x458c6a68) at result.c:335
#4 0x08149840 in ?? ()
#5 0x08146d87 in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x0807100f in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08071bab in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x458c70c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 6 (Thread 11717):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83bfbf8, timeout=0x427b3b60) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83bfbf8, msgid=17, all=1,
timeout=0x427b3bd0, result=0x427b3bd8) at result.c:335
#4 0x08149840 in ?? ()
#5 0x080f9b8e in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x0808526f in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08085dd7 in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x427b40c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 5 (Thread 11719):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83fe600, timeout=0x42db69f0) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83fe600, msgid=782, all=1,
timeout=0x42db6a60, result=0x42db6a68) at result.c:335
#4 0x08149840 in ?? ()
#5 0x08146d87 in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x0807100f in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08071bab in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x42db70c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 4 (Thread 11703):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83b6ae8, timeout=0x423b2b60) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83b6ae8, msgid=18, all=1,
timeout=0x423b2bd0, result=0x423b2bd8) at result.c:335
#4 0x08149840 in ?? ()
#5 0x080f9b8e in ?? ()
#6 0x080d2f0c in ?? ()
#7 0x080d3ad4 in ?? ()
#8 0x0808526f in ?? ()
#9 0x080d2f0c in ?? ()
#10 0x080d3ad4 in ?? ()
#11 0x08085dd7 in ?? ()
#12 0x0806983b in ?? ()
#13 0x0806a297 in ?? ()
#14 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x423b30c8) at
tpool.c:663
#15 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#16 0x405793be in clone () from /lib/libc.so.6
Thread 3 (Thread 11492):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4024a747 in pthread_join () from /lib/libpthread.so.0
#2 0x40030254 in ldap_pvt_thread_join (thread=1085975440,
thread_return=0x0) at thr_posix.c:197
#3 0x08063793 in ?? ()
#4 0x08050f6d in ?? ()
#5 0x404be705 in __libc_start_main () from /lib/libc.so.6
#6 0x0804f6b1 in ?? ()
Thread 2 (Thread 11660):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x4056f6a7 in poll () from /lib/libc.so.6
#2 0x40049f75 in ldap_int_select (ld=0x83c0c98, timeout=0x414abb20) at
os-ip.c:1056
#3 0x40031d6f in ldap_result (ld=0x83c0c98, msgid=445, all=0,
timeout=0x414abc1c, result=0x414abc34) at result.c:335
#4 0x080fbbab in ?? ()
#5 0x080d0b50 in ?? ()
#6 0x080d18e4 in ?? ()
#7 0x080d2e96 in ?? ()
#8 0x080d3ad4 in ?? ()
#9 0x0806bcf3 in ?? ()
#10 0x080d2f0c in ?? ()
#11 0x080d3ad4 in ?? ()
#12 0x0806c568 in ?? ()
#13 0x0806983b in ?? ()
#14 0x0806a297 in ?? ()
#15 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x0) at tpool.c:663
#16 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#17 0x405793be in clone () from /lib/libc.so.6
Thread 1 (Thread 11679):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x404d2990 in raise () from /lib/libc.so.6
#2 0x404d42c8 in abort () from /lib/libc.so.6
#3 0x404cb78e in __assert_fail () from /lib/libc.so.6
#4 0x081487f3 in ?? ()
#5 0x08149515 in ?? ()
#6 0x081495e3 in ?? ()
#7 0x0814b039 in ?? ()
#8 0x080d2f0c in ?? ()
#9 0x080d3ad4 in ?? ()
#10 0x0808835c in ?? ()
#11 0x080d2f0c in ?? ()
#12 0x080d3ad4 in ?? ()
#13 0x08088e92 in ?? ()
#14 0x0806983b in ?? ()
#15 0x0806a297 in ?? ()
#16 0x4002f480 in ldap_int_thread_pool_wrapper (xpool=0x0) at tpool.c:663
#17 0x4024a1b5 in start_thread () from /lib/libpthread.so.0
#18 0x405793be in clone () from /lib/libc.so.6
Full_Name: Michael Ströder
Version: RE24
OS: openSUSE Linux 11.1
URL:
Submission from: (NULL) (84.163.91.160)
$ ./run -b bdb test019
Running ./scripts/test019-syncreplication-cascade...
running defines.sh
Starting master slapd on TCP/IP port 9011...
Using ldapsearch to check that master slapd (pid=5018) is running...
Waiting 5 seconds for slapd to start...
Using ldapadd to create the context prefix entry in the master...
Starting R1 slave slapd on TCP/IP port 9012...
Using ldapsearch to check that R1 slave slapd (pid=5094) is running...
Starting R2 slave slapd on TCP/IP port 9013...
Using ldapsearch to check that R2 slave slapd (pid=5126) is running...
Starting P1 slave slapd on TCP/IP port 9014...
Using ldapsearch to check that P1 slave slapd (pid=5158) is running...
Starting P2 slave slapd on TCP/IP port 9015...
Using ldapsearch to check that P2 slave slapd (pid=5190) is running...
Starting P3 slave slapd on TCP/IP port 9016...
Using ldapsearch to check that P3 slave slapd (pid=5222) is running...
Using ldapadd to populate the master directory...
Waiting 10 seconds for syncrepl to receive changes...
Using ldapmodify to modify master directory...
Waiting 10 seconds for syncrepl to receive changes...
Performing modify alone on provider...
Waiting 10 seconds for syncrepl to receive changes...
Using ldapsearch to read all the entries from the master...
Using ldapsearch to read all the entries from the R1 slave...
Using ldapsearch to read all the entries from the R2 slave...
Using ldapsearch to read all the entries from the P1 slave...
Using ldapsearch to read all the entries from the P2 slave...
Using ldapsearch to read all the entries from the P3 slave...
Filtering master ldapsearch results...
Filtering R1 slave ldapsearch results...
Filtering R2 slave ldapsearch results...
Filtering P1 slave ldapsearch results...
Filtering P2 slave ldapsearch results...
Filtering P3 slave ldapsearch results...
Comparing retrieved entries from master and R1 slave...
Comparing retrieved entries from master and R2 slave...
test failed - master and R2 slave databases differ
HI
I am trying to do a mirrormode with 2 servers and deltasyncrepl. Is it
possible? We have some problemes with the update referrals, we can t write
on the both servers.
Thank you,
Julien Puntous
adrien.futschik(a)atosorigin.com wrote:
> Full_Name: Adrien Futschik
> Version: 2.4.15
> OS: Linux RHEL 4-5& Solaris 10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (192.54.193.59)
>
>
> Hello,
>
> As suggested by Howard Chu, I am filling an ITS for a problem I encountered when
> testing N-way multimaster with OpenLDAP 2.4.15.
>
> Here is the situation :
>
> I have been testing n-way multimaster replication with OpenLDAP for a while
> now (from 2.4.11, to 2.4.15) and just when I though that everything was
> working perfectly, I dicided to test N-way multimaster not only with 2 masters
> on different servers, but with 4 ! (all 4 servers are time-synced using NTP)
Some changes have been made in the syncprov overlay's queue management in CVS
HEAD. The test050 script has also been changed to test up to 9 masters, and it
passes for me with several hundred iterations of 9 servers. (Some of the
timing delays have to be increased though.)
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
rich(a)mirch.com wrote:
> Full_Name: Rich Mirch
> Version: 2.4.15
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (98.215.53.133)
>
>
> The README REQUIRED SOFTWARE section instructs to install a BDB patch - "In
> addition, for BDB 4.7, it is advised to also use the supplied
> build/db.4.7.25.patch.". Per the CHANGES document the patch was removed in the
> 2.4.14 release. I believe this should be removed from the README file.
>
Thanks, that note has now been removed.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Art Alliany
Version: CVS HEAD approx 2.4.14
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (65.102.51.113)
If the end of a LDIF file stream is reached. LDIFReader returns a null which
is fine. The problem is that if the LDIFReader is called again after the end of
stream is reached it throws a NPE as shown below:
java.lang.NullPointerException
at com.novell.ldap.util.LDIFReader.readRecordFields(LDIFReader.java:333)
at com.novell.ldap.util.LDIFReader.readMessage(LDIFReader.java:273)
classes in java.io.* return -1 if you invoke them multiple times so invoking
LDIFReader should not throw a null pointer exception if invoked again on a
exhausted stream.
Here is the fix:
I, Art Allisany, hereby place the following modifications to OpenLDAP Software
(and only these modifications) into the public domain. Hence, these
modifications may be freely used and/or redistributed for any purpose with or
without attribution and/or other notice.
$ diff -u com/novell/ldap/util/LDIFReader.java.old
com/novell/ldap/util/LDIFReader.java.new
--- com/novell/ldap/util/LDIFReader.java.old 2009-03-06 02:30:22.000000000
-0800
+++ com/novell/ldap/util/LDIFReader.java.new 2009-03-06 02:34:29.000000000
-0800
@@ -270,6 +270,12 @@
public LDAPMessage readMessage()
throws IOException, LDAPException
{
+ if ( this.rFields == null ) {
+ // end of file has already been reached, this readMessage()
+ // call has been invoked after the end of the
+ // ldif file has been reached on previous calls to this method
+ return null;
+ }
readRecordFields(); // read record fields
if ( this.rFields == null ) { // end of file
return null;
> I have put an updated version into
> ftp://ftp.openldap.org/incoming/Peter-Marschall-090307-ldapexop.1
Thanks. I'm about to commit it (with minor modifications) unless
there's any concern about IPR (Kurt?).
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando(a)sys-net.it
-----------------------------------