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

RE: slapd thread hangs on modify operations (ITS#1836)




--On Montag, 27. Mai 2002 02:28 +0000 hyc@highlandsun.com wrote:

> In gdb, use "info threads" to get a list of the active threads.
> Look for the one that's in sched_yield. use the "thread XX" command
> to select that particular thread. Then backtrace as normal.

0x40245906 in sigsuspend () from /lib/libc.so.6
(gdb) info threads
  5 Thread 3076 (LWP 27433)  0x40245906 in sigsuspend () from /lib/libc.so.6
  4 Thread 2051 (LWP 19510)  0x402db107 in sched_yield () from 
/lib/libc.so.6
  3 Thread 1026 (LWP 19494)  0x402e93ee in select () from /lib/libc.so.6
  2 Thread 2049 (LWP 19493)  0x402e7c87 in poll () from /lib/libc.so.6
  1 Thread 1024 (LWP 19492)  0x40245906 in sigsuspend () from /lib/libc.so.6
(gdb) thread 4
[Switching to thread 4 (Thread 2051 (LWP 19510))]#0  0x402db107 in 
sched_yield () from /lib/libc.so.6
(gdb) bt
#0  0x402db107 in sched_yield () from /lib/libc.so.6
#1  0x080a1e9b in strcpy ()
#2  0x400a3112 in __os_yield () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#3  0x400432f6 in __db_tas_mutex_lock () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#4  0x400903db in __lock_get_internal () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#5  0x4008fae5 in __lock_get () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#6  0x4006d01a in __db_lget () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#7  0x400505c8 in __bam_search () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#8  0x40047f57 in __bam_c_search () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#9  0x40046bbd in __bam_c_put () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#10 0x400664e5 in __db_c_put () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#11 0x400603e7 in __db_put () from 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
#12 0x08092a17 in strcpy ()
#13 0x08092a79 in strcpy ()
#14 0x08082bac in strcpy ()
#15 0x08062a4d in strcpy ()
#16 0x080516c0 in strcpy ()
#17 0x080a1d0b in strcpy ()
#18 0x40207f37 in pthread_start_thread () from /lib/libpthread.so.0



-- 
Dipl.-Inform. Norbert Klasen
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de