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

Re: SEGV on syncRepl provider (ITS#3296)



Does this segfault appear with the same configuration as described in the
original message (two refreshAndPersist syncrepl consumers) ?
A brief description of the experimental configuration will be helpful. And,
yes - log files will save much speculation and time.
Best regards,
- Jong-Hyuk


----- Original Message ----- 
From: <richton@nbcs.rutgers.edu>
To: <openldap-its@OpenLDAP.org>
Sent: Monday, November 22, 2004 11:46 AM
Subject: Re: SEGV on syncRepl provider (ITS#3296)


> Still getting occasional SEGVs with 2.2.18. Below please find a couple
> backtraces from 2.2.18 provider slapd. As always, I will provide logs
> and/or core files if you need more details.
>
> BACKTRACE 1:
>
> Thread 6 (process 264367    ):
> #0  0xfedd58fc in __lwp_park () from /usr/lib/libthread.so.1
> #1  0xfedd2ba8 in cond_wait_queue () from /usr/lib/libthread.so.1
> #2  0xfedd3364 in cond_wait () from /usr/lib/libthread.so.1
> #3  0xfedd33a0 in pthread_cond_wait () from /usr/lib/libthread.so.1
> #4  0x001839a0 in ldap_pvt_thread_cond_wait (cond=0x3e6c10,
mutex=0x3e6b60)
>     at thr_posix.c:251
> #5  0x0008b3c8 in send_ldap_ber (conn=0x3e6b50, ber=0xd9b3f630) at
result.c:211
> #6  0x0008f0f4 in slap_send_search_entry (op=0xfa6448, rs=0xd9bffd58)
>     at result.c:1304
> #7  0x00112394 in hdb_do_search () at tools.c:288
> #8  0x0010e96c in hdb_search () at tools.c:288
> #9  0x00079ed8 in do_search (op=0xfa6448, rs=0xd9bffd58) at search.c:412
> #10 0x0007636c in connection_operation (ctx=0xd9bffe14, arg_v=0xfa6448)
>     at connection.c:1079
> #11 0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
>
> Thread 5 (process 198831    ):
> #0  0xfedd58fc in __lwp_park () from /usr/lib/libthread.so.1
> #1  0xfedd2ba8 in cond_wait_queue () from /usr/lib/libthread.so.1
> #2  0xfedd3364 in cond_wait () from /usr/lib/libthread.so.1
> #3  0xfedd33a0 in pthread_cond_wait () from /usr/lib/libthread.so.1
> #4  0x001839a0 in ldap_pvt_thread_cond_wait (cond=0x3e6fe8,
mutex=0x3e6f38)
>     at thr_posix.c:251
> #5  0x0008b3c8 in send_ldap_ber (conn=0x3e6f28, ber=0xda33f630) at
result.c:211
> #6  0x0008f0f4 in slap_send_search_entry (op=0x3f9f20, rs=0xda3ffd58)
>     at result.c:1304
> #7  0x00112394 in hdb_do_search () at tools.c:288
> #8  0x0010e96c in hdb_search () at tools.c:288
> #9  0x00079ed8 in do_search (op=0x3f9f20, rs=0xda3ffd58) at search.c:412
> #10 0x0007636c in connection_operation (ctx=0xda3ffe14, arg_v=0x3f9f20)
>     at connection.c:1079
> #11 0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
>
> Thread 4 (process 133295    ):
> #0  0xfee9d608 in _poll () from /usr/lib/libc.so.1
> #1  0xfee51e78 in _select () from /usr/lib/libc.so.1
> #2  0xfedce6b4 in select () from /usr/lib/libthread.so.1
> #3  0x00070fe0 in slapd_daemon_task (ptr=0x0) at daemon.c:1422
>
> Thread 3 (process 67759    ):
> #0  0xfee9f334 in _lwp_wait () from /usr/lib/libc.so.1
> #1  0xfedcd6bc in lwp_wait () from /usr/lib/libthread.so.1
> #2  0xfedc90f0 in _thrp_join () from /usr/lib/libthread.so.1
> #3  0x001837a0 in ldap_pvt_thread_join (thread=2, thread_return=0x0)
>     at thr_posix.c:151
> #4  0x00072b14 in slapd_daemon () at daemon.c:2037
> #5  0x00061184 in main (argc=4, argv=0xffbffd94) at main.c:713
>
> Thread 2 (process 395439    ):
> #0  0xfedd58fc in __lwp_park () from /usr/lib/libthread.so.1
> #1  0xfedd2ba8 in cond_wait_queue () from /usr/lib/libthread.so.1
> #2  0xfedd3364 in cond_wait () from /usr/lib/libthread.so.1
> #3  0xfedd33a0 in pthread_cond_wait () from /usr/lib/libthread.so.1
> #4  0x001839a0 in ldap_pvt_thread_cond_wait (cond=0x3e7508,
mutex=0x3e7458)
>     at thr_posix.c:251
> #5  0x0008b3c8 in send_ldap_ber (conn=0x3e7448, ber=0xd8b3f630) at
result.c:211
> #6  0x0008f0f4 in slap_send_search_entry (op=0x2de6330, rs=0xd8bffd58)
>     at result.c:1304
> #7  0x00112394 in hdb_do_search () at tools.c:288
> #8  0x0010e96c in hdb_search () at tools.c:288
> #9  0x00079ed8 in do_search (op=0x2de6330, rs=0xd8bffd58) at search.c:412
> #10 0x0007636c in connection_operation (ctx=0xd8bffe14, arg_v=0x2de6330)
>     at connection.c:1079
> #11 0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
>
> Thread 1 (process 329903    ):
> #0  0x00eec8d0 in ?? ()
> #1  0x00152644 in hdb_key_read (be=0x386208, db=0x4fa470, txn=0x0,
>     k=0x209823c, ids=0x21a9830) at key.c:52
> #2  0x0014b2cc in equality_candidates () at index.c:324
> #3  0x00149b90 in hdb_filter_candidates () at index.c:324
> #4  0x0014a488 in list_candidates () at index.c:324
> #5  0x00149fdc in hdb_filter_candidates () at index.c:324
> #6  0x0014a488 in list_candidates () at index.c:324
> #7  0x0014a0a0 in hdb_filter_candidates () at index.c:324
> #8  0x0014a488 in list_candidates () at index.c:324
> #9  0x00149fdc in hdb_filter_candidates () at index.c:324
> #10 0x0011396c in search_candidates () at tools.c:288
> #11 0x00110264 in hdb_do_search () at tools.c:288
> #12 0x0010e96c in hdb_search () at tools.c:288
> #13 0x00079ed8 in do_search (op=0x1bf9258, rs=0xd93ffd58) at search.c:412
> #14 0x0007636c in connection_operation (ctx=0xd93ffe14, arg_v=0x1bf9258)
>     at connection.c:1079
> #15 0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
> #0  0xfedd58fc in __lwp_park () from /usr/lib/libthread.so.1
>
>
>
> END BACKTRACE 1
>
>
> BACKTRACE 2:
> Thread 6 (process 133535    ):
> #0  0xfee9d608 in _poll () from /usr/lib/libc.so.1
> #1  0xfee51e78 in _select () from /usr/lib/libc.so.1
> #2  0xfedce6b4 in select () from /usr/lib/libthread.so.1
> #3  0x00070fe0 in slapd_daemon_task (ptr=0x0) at daemon.c:1422
>
> Thread 5 (process 67999    ):
> #0  0xfee9f334 in _lwp_wait () from /usr/lib/libc.so.1
> #1  0xfedcd6bc in lwp_wait () from /usr/lib/libthread.so.1
> #2  0xfedc90f0 in _thrp_join () from /usr/lib/libthread.so.1
> #3  0x001837a0 in ldap_pvt_thread_join (thread=2, thread_return=0x0)
>     at thr_posix.c:151
> #4  0x00072b14 in slapd_daemon () at daemon.c:2037
> #5  0x00061184 in main (argc=4, argv=0xffbffd94) at main.c:713
>
> Thread 4 (process 395679    ):
> #0  0xfedd58fc in __lwp_park () from /usr/lib/libthread.so.1
> #1  0xfedd2ba8 in cond_wait_queue () from /usr/lib/libthread.so.1
> #2  0xfedd3364 in cond_wait () from /usr/lib/libthread.so.1
> #3  0xfedd33a0 in pthread_cond_wait () from /usr/lib/libthread.so.1
> #4  0x001839a0 in ldap_pvt_thread_cond_wait (cond=0x33d778,
mutex=0x33d760)
>     at thr_posix.c:251
> #5  0x001823f4 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:456
>
> Thread 3 (process 330143    ):
> #0  0xfee9ba28 in _pread64 () from /usr/lib/libc.so.1
> #1  0xfedce4a0 in pread64 () from /usr/lib/libthread.so.1
> #2  0xff32f04c in __os_io () from /usr/local/lib/libdb-4.2.so
> #3  0xff3251c8 in __memp_pgread () from /usr/local/lib/libdb-4.2.so
> #4  0xff3267d4 in __memp_fget () from /usr/local/lib/libdb-4.2.so
> #5  0xff2a69ec in __bam_search () from /usr/local/lib/libdb-4.2.so
> #6  0xff29bb94 in __bam_c_search () from /usr/local/lib/libdb-4.2.so
> #7  0xff298214 in __bam_c_get () from /usr/local/lib/libdb-4.2.so
> #8  0xff2edad8 in __db_c_get () from /usr/local/lib/libdb-4.2.so
> #9  0xff2f56a4 in __db_get () from /usr/local/lib/libdb-4.2.so
> #10 0xff2f55ac in __db_get_pp () from /usr/local/lib/libdb-4.2.so
> #11 0x0014cc54 in hdb_id2entry (be=0x386418, tid=0x1c84378, id=7713,
>     e=0xd933f72c) at id2entry.c:111
> #12 0x00140958 in hdb_cache_find_id (op=0x1cc9af0, tid=0x0, id=7713,
>     eip=0xd933f968, islocked=0, locker=7, lock=0xd933f7fc) at cache.c:701
> #13 0x00110e6c in hdb_do_search () at tools.c:288
> #14 0x0010e96c in hdb_search () at tools.c:288
> #15 0x00079ed8 in do_search (op=0x1cc9af0, rs=0xd93ffd58) at search.c:412
> #16 0x0007636c in connection_operation (ctx=0xd93ffe14, arg_v=0x1cc9af0)
>     at connection.c:1079
> #17 0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
>
> Thread 2 (process 264607    ):
> #0  0xfee9ba28 in _pread64 () from /usr/lib/libc.so.1
> #1  0xfedce4a0 in pread64 () from /usr/lib/libthread.so.1
> #2  0xff32f04c in __os_io () from /usr/local/lib/libdb-4.2.so
> #3  0xff3251c8 in __memp_pgread () from /usr/local/lib/libdb-4.2.so
> #4  0xff3267d4 in __memp_fget () from /usr/local/lib/libdb-4.2.so
> #5  0xff2a69ec in __bam_search () from /usr/local/lib/libdb-4.2.so
> #6  0xff29bb94 in __bam_c_search () from /usr/local/lib/libdb-4.2.so
> #7  0xff298214 in __bam_c_get () from /usr/local/lib/libdb-4.2.so
> #8  0xff2edad8 in __db_c_get () from /usr/local/lib/libdb-4.2.so
> #9  0xff2f7800 in __db_c_get_pp () from /usr/local/lib/libdb-4.2.so
> #10 0x00148578 in hdb_dn2id_parent (op=0x1052d68, txn=0x0, ei=0xd9b3f5f0,
>     idp=0xd9b3f5a4) at dn2id.c:818
> #11 0x0013fc80 in hdb_cache_find_parent (op=0x1052d68, txn=0x0, id=13700,
>     res=0xd9b3f968) at cache.c:389
> #12 0x0014069c in hdb_cache_find_id (op=0x1052d68, tid=0x0, id=13700,
>     eip=0xd9b3f968, islocked=0, locker=23, lock=0xd9b3f7fc) at cache.c:651
> #13 0x00110e6c in hdb_do_search () at tools.c:288
> #14 0x0010e96c in hdb_search () at tools.c:288
> #15 0x00079ed8 in do_search (op=0x1052d68, rs=0xd9bffd58) at search.c:412
> #16 0x0007636c in connection_operation (ctx=0xd9bffe14, arg_v=0x1052d68)
> #17 0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
>
> Thread 1 (process 199071    ):
> #0  0x001402fc in bdb_cache_lru_add () at index.c:324
> #1  0x00140d44 in hdb_cache_find_id (op=0x3f9fd8, tid=0x0, id=13389,
>     eip=0xda33f968, islocked=0, locker=7, lock=0xda33f7fc) at cache.c:776
> #2  0x00110e6c in hdb_do_search () at tools.c:288
> #3  0x0010e96c in hdb_search () at tools.c:288
> #4  0x00079ed8 in do_search (op=0x3f9fd8, rs=0xda3ffd58) at search.c:412
> #5  0x0007636c in connection_operation (ctx=0xda3ffe14, arg_v=0x3f9fd8)
>     at connection.c:1079
> #6  0x00182470 in ldap_int_thread_pool_wrapper (xpool=0x33d758) at
tpool.c:467
>
>
>
> On Wed, 27 Oct 2004, Jong-Hyuk wrote:
>
> > Please consider trying the 2.2.18 release which contains a patch for
this
> > issue.
> > Best regards,
> > - Jong
>
>