J
Jaydeep Chovatia
Hi,
I am getting core dump while using push_back of std::list. What could
be the reason for this?
std::list is of type: std::list<MyClient*>
#0 0x0000003f9b063803 in
std::_List_node_base::hook(std::_List_node_base*) () from /usr/lib64/
libstdc++.so.6
#1 0x00000000007ad596 in std::list<::MyClient*,
std::allocator<::MyClient*> >::_M_insert (
this=0x1e19780, __position=, __x=@0x7fdbbbdbdd38)
at /home/linux/rhes4_x64/bin/../lib/gcc/x86_64-unknown-linux-gnu/
4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:1140
#2 0x00000000007ad5c1 in std::list<::MyClient*,
std::allocator<::MyClient*> >:ush_back (
this=0x1e19780, __x=@0x7fdbbbdbdd38)
at /home/linux/rhes4_x64/bin/../lib/gcc/x86_64-unknown-linux-gnu/
4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:761
#3 0x00000000007ac356 in ::MyClientObjPool::addNewObject
(this=0x1e19678)
at objpool/MyClientObjPool.cxx:254
#4 0x00000000007ac744 in ::MyClientObjPool::checkUpdate
(this=0x1e19678)
at objpool/MyClientObjPool.cxx:175
#5 0x00000000007ac82d in careTakerThreadMain (p=0x1e19678) at objpool/
MyClientObjPool.cxx:28
#6 0x0000003f978077e1 in start_thread () from /lib64/libpthread.so.0
#7 0x0000003f974e153d in clone () from /lib64/libc.so.6
Thank you,
Jaydeep
I am getting core dump while using push_back of std::list. What could
be the reason for this?
std::list is of type: std::list<MyClient*>
#0 0x0000003f9b063803 in
std::_List_node_base::hook(std::_List_node_base*) () from /usr/lib64/
libstdc++.so.6
#1 0x00000000007ad596 in std::list<::MyClient*,
std::allocator<::MyClient*> >::_M_insert (
this=0x1e19780, __position=, __x=@0x7fdbbbdbdd38)
at /home/linux/rhes4_x64/bin/../lib/gcc/x86_64-unknown-linux-gnu/
4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:1140
#2 0x00000000007ad5c1 in std::list<::MyClient*,
std::allocator<::MyClient*> >:ush_back (
this=0x1e19780, __x=@0x7fdbbbdbdd38)
at /home/linux/rhes4_x64/bin/../lib/gcc/x86_64-unknown-linux-gnu/
4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:761
#3 0x00000000007ac356 in ::MyClientObjPool::addNewObject
(this=0x1e19678)
at objpool/MyClientObjPool.cxx:254
#4 0x00000000007ac744 in ::MyClientObjPool::checkUpdate
(this=0x1e19678)
at objpool/MyClientObjPool.cxx:175
#5 0x00000000007ac82d in careTakerThreadMain (p=0x1e19678) at objpool/
MyClientObjPool.cxx:28
#6 0x0000003f978077e1 in start_thread () from /lib64/libpthread.so.0
#7 0x0000003f974e153d in clone () from /lib64/libc.so.6
Thank you,
Jaydeep