michael@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.tar...
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