__lll_mutex_lock_wait ()

From: Mani (mvenkite_at_cisco.com)
Date: 10/21/04


Date: Thu, 21 Oct 2004 12:50:04 +0530

Hi,
I am having an issue with a C++ application pegging CPU on a RedHat AS3.0
box. I did a gdb on the process and the trace is given below.

#0 0xb6f2c241 in __lll_mutex_lock_wait () from /lib/tls/libc.so.6
#1 0xb6eb7e64 in _L_mutex_lock_2507 () from /lib/tls/libc.so.6
#2 0x0820f5b0 in ?? ()
#3 0xafdcd538 in ?? ()
#4 0xb6e3c7fc in ?? () from /usr/lib/libstdc++.so.5
#5 0x0820f520 in ?? ()
#6 0x0820f5b0 in ?? ()
#7 0xafdcd538 in ?? ()
#8 0xb6e1a263 in operator delete () from /usr/lib/libstdc++.so.5

In the code I am doing a delete on a pointer. Don't know why should it hang
on some mutex? Also why should hang result in CPU being pegged.

Will be gateful to any help.

Thanks,
Mani.