--On March 4, 2011 11:14:46 PM +0000 dhawes(a)vt.edu wrote:
> Tested, and working. Thanks for the fix.
We're still seeing this happen sporadically with slapindex -q <attribute>
i.e., reindexing a single attribute instead of the entire DB
Thread 2 (Thread 0x96591ba0 (LWP 10652)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7dd21e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#2 0xb7f4b5d8 in ldap_pvt_thread_cond_wait (cond=0xb776bf80,
mutex=0xb776bf50) at thr_posix.c:277
No locals.
#3 0xb77376f4 in bdb_tool_trickle_task (ctx=0x965912bc, ptr=0x82eb728) at
tools.c:1242
env = 0x82eb728
wrote = -1208699249
#4 0xb7f4a33c in ldap_int_thread_pool_wrapper (xpool=0x81bda78) at
tpool.c:685
pool = 0x81bda78
task = 0x82ee038
work_list = 0x81bdaf8
ctx = {ltu_id = 2522422176, ltu_key = {{ltk_key = 0x0, ltk_data =
0x0, ltk_free = 0}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0}, {ltk_key
= 0x0, ltk_data = 0x0, ltk_free = 0}, {ltk_key = 0x0,
ltk_data = 0x0, ltk_free = 0}, {ltk_key = 0x0, ltk_data =
0x0, ltk_free = 0}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0}, {ltk_key
= 0x0, ltk_data = 0xb7f9b049, ltk_free = 0xb7dcc732}, {
ltk_key = 0x0, ltk_data = 0xb7fa7ff4, ltk_free = 0xb7bffd80},
{ltk_key = 0x0, ltk_data = 0x96591388, ltk_free = 0xb7f963d0
<do_lookup_x+640>}, {ltk_key = 0x0, ltk_data = 0xb7dcc75a, ltk_free = 0}, {
ltk_key = 0x0, ltk_data = 0xb7dcb324, ltk_free = 0x69cb120},
{ltk_key = 0x0, ltk_data = 0xd696910, ltk_free = 0xe}, {ltk_key = 0x0,
ltk_data = 0xb7a874a0, ltk_free = 0xb7a8ffe0}, {ltk_key = 0x0,
ltk_data = 0x0, ltk_free = 0}, {ltk_key = 0x0, ltk_data =
0x2, ltk_free = 0}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0xb7fa7ff4},
{ltk_key = 0x0, ltk_data = 0x96591414, ltk_free = 0x96591428}, {
ltk_key = 0x0, ltk_data = 0x96591414, ltk_free = 0xb7fa8830},
{ltk_key = 0x0, ltk_data = 0xb7bf7dd8, ltk_free = 0x1}, {ltk_key = 0x0,
ltk_data = 0x1, ltk_free = 0}, {ltk_key = 0x0, ltk_data = 0x0,
ltk_free = 0}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0},
{ltk_key = 0x0, ltk_data = 0xb7f272a0, ltk_free = 0xb7dcb69d}, {ltk_key =
0x0, ltk_data = 0x1000000, ltk_free = 0}, {ltk_key = 0x0,
ltk_data = 0x0, ltk_free = 0}, {ltk_key = 0x0, ltk_data =
0x0, ltk_free = 0}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0}, {ltk_key
= 0x0, ltk_data = 0x0, ltk_free = 0}, {ltk_key = 0x0,
ltk_data = 0xb7a8f000, ltk_free = 0xb7bf7508}, {ltk_key =
0x0, ltk_data = 0xb7dcb324, ltk_free = 0xb7f272a0}, {ltk_key = 0x0,
ltk_data = 0xb7f9a24d, ltk_free = 0xb7f27448}, {ltk_key = 0x0,
ltk_data = 0x1, ltk_free = 0x1}}}
kctx = 0x0
i = 32
keyslot = 522
hash = 5777930
__PRETTY_FUNCTION__ = "ldap_int_thread_pool_wrapper"
#5 0xb7dce35b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0xb7b43c0e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 1 (Thread 0xb7a826b0 (LWP 10610)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7dd21e6 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#2 0xb7f4b5d8 in ldap_pvt_thread_cond_wait (cond=0x81bda94,
mutex=0x81bda7c) at thr_posix.c:277
No locals.
#3 0xb7f49fe7 in ldap_pvt_thread_pool_destroy (tpool=0xbf995780,
run_pending=0) at tpool.c:582
pool = 0x81bda78
pptr = 0x81bda78
task = 0x0
#4 0xb7f49332 in ldap_int_thread_pool_shutdown () at tpool.c:181
pool = 0x81bda78
#5 0xb7f48aa0 in ldap_pvt_thread_destroy () at threads.c:70
No locals.
#6 0x080af918 in slap_destroy () at init.c:273
rc = 0
#7 0x080ff5f2 in slap_tool_destroy () at slapcommon.c:865
rc = 0
#8 0x080ffb9b in slapindex (argc=1, argv=0xbf9959bc) at slapindex.c:107
id = 4294967295
rc = 0
progname = 0x813ae0a "slapindex"
ad = 0x8239440
adv = 0xbf9959bc
__PRETTY_FUNCTION__ = "slapindex"
#9 0x08057783 in main (argc=7, argv=0xbf9959a4) at main.c:403
i = 3
no_detach = 0
rc = 1
urls = 0x0
username = 0x0
groupname = 0x0
sandbox = 0x0
syslogUser = 160
g_argc = 7
g_argv = 0xbf9959a4
configfile = 0x0
configdir = 0x0
serverName = 0xbf997206 "slapindex"
serverMode = 1
scp = 0x0
scp_entry = 0x0
debug_unknowns = 0x0
syslog_unknowns = 0x0
serverNamePrefix = 0x811c33f ""
l = 134548137
slapd_pid_file_unlink = 0
slapd_args_file_unlink = 0
firstopt = 1
__PRETTY_FUNCTION__ = "main"
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration