R
rrtttcsut
Hi,
I got a problem of deadlock in std::__default_alloc_template<true,
0>::allocate().
It occured in the following environment.
CPU: AMD64(multicore)
OS: suse linux(linux 2.6)
I can not get all thread's stack. The following stack is the only
thread I can got. It maybe main thread(I am not sure):
#0 0x0000002a9676a0bb in __lll_mutex_lock_wait () from /lib64/tls/
libpthread.so.0
#1 0x0000007fbfffcc60 in ?? ()
#2 0x0000000000000071 in ?? ()
#3 0x0000002a96766fe8 in pthread_mutex_lock () from /lib64/tls/
libpthread.so.0
#4 0x0000002a9650d4e0 in std::__default_alloc_template<true,
0>::allocate
()
from /usr/lib64/libstdc++.so.5
#5 0x0000000000bc1a31 in
std::__simple_alloc<std::_List_node<XXXXXX>,
std::__default_alloc_template<true, 0> >::allocate
()
#6 0x0000000000bc19fa in
std::_List_alloc_base<XXXXXX, std::allocator<XXXXXX>,
true>::_M_get_node ()
#7 0x0000000000bc19a9 in
std::_List_base<XXXXXX, std::allocator<XXXXXX> >::_List_base ()
#8 0x0000007fbfffcc88 in ?? ()
#9 0x0000007fbfffcbe0 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x0000007fbfffcc10 in ?? ()
#12 0x00000000019aac20 in ?? ()
#13 0x0000000000000040 in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x0000007fbfffcc10 in ?? ()
#16 0x00000000009d20a2 in
XXXXXX is an class.
This bug can not recur.
So could somebody tell how the deadlock happen? or how to recur it and
how to fix it?
Thanks a lot.
Regards.
I got a problem of deadlock in std::__default_alloc_template<true,
0>::allocate().
It occured in the following environment.
CPU: AMD64(multicore)
OS: suse linux(linux 2.6)
I can not get all thread's stack. The following stack is the only
thread I can got. It maybe main thread(I am not sure):
#0 0x0000002a9676a0bb in __lll_mutex_lock_wait () from /lib64/tls/
libpthread.so.0
#1 0x0000007fbfffcc60 in ?? ()
#2 0x0000000000000071 in ?? ()
#3 0x0000002a96766fe8 in pthread_mutex_lock () from /lib64/tls/
libpthread.so.0
#4 0x0000002a9650d4e0 in std::__default_alloc_template<true,
0>::allocate
()
from /usr/lib64/libstdc++.so.5
#5 0x0000000000bc1a31 in
std::__simple_alloc<std::_List_node<XXXXXX>,
std::__default_alloc_template<true, 0> >::allocate
()
#6 0x0000000000bc19fa in
std::_List_alloc_base<XXXXXX, std::allocator<XXXXXX>,
true>::_M_get_node ()
#7 0x0000000000bc19a9 in
std::_List_base<XXXXXX, std::allocator<XXXXXX> >::_List_base ()
#8 0x0000007fbfffcc88 in ?? ()
#9 0x0000007fbfffcbe0 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x0000007fbfffcc10 in ?? ()
#12 0x00000000019aac20 in ?? ()
#13 0x0000000000000040 in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x0000007fbfffcc10 in ?? ()
#16 0x00000000009d20a2 in
XXXXXX is an class.
This bug can not recur.
So could somebody tell how the deadlock happen? or how to recur it and
how to fix it?
Thanks a lot.
Regards.