idealboy commented on issue #10513: pure virtual function call
URL: 
https://github.com/apache/incubator-mxnet/issues/10513#issuecomment-380672233
 
 
   (gdb) backtrace
   #0  0x00007f29b8b844da in malloc_consolidate () from /lib64/libc.so.6
   #1  0x00007f29b8b85087 in _int_free () from /lib64/libc.so.6
   #2  0x00007f29bb1d8e2c in 
__gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<mxnet::NDArray::Chunk, 
std::allocator<mxnet::NDArray::Chunk>, (__gnu_cxx::_Lock_policy)2> 
>::deallocate (this=0x7f2955a3fbaf, 
       __p=0x2c03220) at /usr/include/c++/4.8.2/ext/new_allocator.h:110
   #3  0x00007f29bb1c4cec in 
std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<mxnet::NDArray::Chunk,
 std::allocator<mxnet::NDArray::Chunk>, (__gnu_cxx::_Lock_policy)2> > 
>::deallocate (__a=..., 
       __p=0x2c03220, __n=1) at /usr/include/c++/4.8.2/bits/alloc_traits.h:377
   #4  0x00007f29bb1db3d2 in 
std::_Sp_counted_ptr_inplace<mxnet::NDArray::Chunk, 
std::allocator<mxnet::NDArray::Chunk>, (__gnu_cxx::_Lock_policy)2>::_M_destroy 
(this=0x2c03220)
       at /usr/include/c++/4.8.2/bits/shared_ptr_base.h:417
   #5  0x00007f29ba72a016 in 
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x2c03220) 
at /usr/include/c++/4.8.2/bits/shared_ptr_base.h:161
   #6  0x00007f29ba723295 in 
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count 
(this=0x305cca8, __in_chrg=<optimized out>) at 
/usr/include/c++/4.8.2/bits/shared_ptr_base.h:546
   #7  0x00007f29baa27b44 in std::__shared_ptr<mxnet::NDArray::Chunk, 
(__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x305cca0, 
__in_chrg=<optimized out>) at /usr/include/c++/4.8.2/bits/shared_ptr_base.h:781
   #8  0x00007f29baa27b5e in 
std::shared_ptr<mxnet::NDArray::Chunk>::~shared_ptr (this=0x305cca0, 
__in_chrg=<optimized out>) at /usr/include/c++/4.8.2/bits/shared_ptr.h:93
   #9  0x00007f29baa28dbc in mxnet::NDArray::~NDArray (this=0x305cca0, 
__in_chrg=<optimized out>) at include/mxnet/./././ndarray.h:81
   #10 0x00007f29bcc21ef4 in mxnet::__lambda36::~<lambda>(void) 
(this=0x305cca0, __in_chrg=<optimized out>) at src/ndarray/ndarray.cc:1179
   #11 0x00007f29bcc3420d in 
std::_Function_base::_Base_manager<mxnet::CopyFromTo(const mxnet::NDArray&, 
const mxnet::NDArray&, int)::__lambda36>::_M_destroy(std::_Any_data &, 
std::false_type) (__victim=...)
       at /usr/include/c++/4.8.2/functional:1926
   #12 0x00007f29bcc33046 in 
std::_Function_base::_Base_manager<mxnet::CopyFromTo(const mxnet::NDArray&, 
const mxnet::NDArray&, int)::__lambda36>::_M_manager(std::_Any_data &, const 
std::_Any_data &, std::_Manager_operation) (__dest=..., __source=..., 
__op=std::__destroy_functor) at /usr/include/c++/4.8.2/functional:1950
   #13 0x00007f29ba720af5 in std::_Function_base::~_Function_base 
(this=0x322c438, __in_chrg=<optimized out>) at 
/usr/include/c++/4.8.2/functional:2030
   #14 0x00007f29bc7ec398 in std::function<void (mxnet::RunContext, 
mxnet::engine::CallbackOnComplete)>::~function() (this=0x322c438, 
__in_chrg=<optimized out>) at /usr/include/c++/4.8.2/functional:2174
   #15 0x00007f29bd26c802 in mxnet::engine::ThreadedOpr::~ThreadedOpr 
(this=0x322c438, __in_chrg=<optimized out>) at 
src/engine/./threaded_engine.h:224
   #16 0x00007f29bd26c820 in 
mxnet::common::ObjectPool<mxnet::engine::ThreadedOpr>::Delete (this=0x28fad20, 
ptr=0x322c438) at src/engine/./../common/object_pool.h:158
   #17 0x00007f29bd26b7ae in 
mxnet::common::ObjectPoolAllocatable<mxnet::engine::ThreadedOpr>::Delete 
(ptr=0x322c438) at src/engine/./../common/object_pool.h:215
   #18 0x00007f29bd26b057 in mxnet::engine::ThreadedEngine::OnComplete 
(this=0x290b830, threaded_opr=0x322c438) at src/engine/threaded_engine.cc:450
   #19 0x00007f29bd2691a9 in mxnet::engine::ThreadedEngine::OnCompleteStatic 
(engine=0x290b830, opr_block_=0x28dd690) at src/engine/threaded_engine.cc:473
   #20 0x00007f29bc7ec37d in mxnet::engine::CallbackOnComplete::operator() 
(this=0x7f2955a40090) at include/mxnet/././engine.h:61
   #21 0x00007f29bcc21eb6 in mxnet::__lambda36::operator() 
(__closure=0x305cca0, ctx=..., on_complete=...) at src/ndarray/ndarray.cc:1181
   #22 0x00007f29bcc32faa in std::_Function_handler<void(mxnet::RunContext, 
mxnet::engine::CallbackOnComplete), mxnet::CopyFromTo(const mxnet::NDArray&, 
const mxnet::NDArray&, int)::__lambda36>::_M_invoke(const std::_Any_data &, 
mxnet::RunContext, mxnet::engine::CallbackOnComplete) (__functor=..., 
__args#0=..., __args#1=...) at /usr/include/c++/4.8.2/functional:2071
   #23 0x00007f29bd25dd79 in std::function<void (mxnet::RunContext, 
mxnet::engine::CallbackOnComplete)>::operator()(mxnet::RunContext, 
mxnet::engine::CallbackOnComplete) const (this=0x322c438, __args#0=..., 
       __args#1=...) at /usr/include/c++/4.8.2/functional:2464
   #24 0x00007f29bd25fd64 in mxnet::engine::ThreadedEngine::ExecuteOprBlock 
(this=0x290b830, run_ctx=..., opr_block=0x28dd690) at 
src/engine/./threaded_engine.h:367
   #25 0x00007f29bd271c8d in 
mxnet::engine::ThreadedEnginePerDevice::CPUWorker<(dmlc::ConcurrentQueueType)0> 
(this=0x290b830, ctx=..., block=0x2d895e0, ready_event=...)
       at src/engine/threaded_engine_perdevice.cc:284
   #26 0x00007f29bd26fce1 in 
mxnet::engine::ThreadedEnginePerDevice::PushToExecute(mxnet::engine::OprBlock*, 
bool)::{lambda()#1}::operator()() 
const::{lambda(std::shared_ptr<dmlc::ManualEvent>)#1}::operator()(dmlc::ManualEvent)
 const (__closure=0x2849670, ready_event=...) at 
src/engine/threaded_engine_perdevice.cc:129
   #27 0x00007f29bd274490 in std::_Function_handler<void 
(std::shared_ptr<dmlc::ManualEvent>), 
mxnet::engine::ThreadedEnginePerDevice::PushToExecute(mxnet::engine::OprBlock*, 
bool)::{lambda()#1}::operator()() 
const::{lambda(std::shared_ptr<dmlc::ManualEvent>)#1}>::_M_invoke(std::_Any_data
 const&, std::shared_ptr<dmlc::ManualEvent>) (__functor=..., __args#0=...) at 
/usr/include/c++/4.8.2/functional:2071
   #28 0x00007f29bd279428 in std::function<void 
(std::shared_ptr<dmlc::ManualEvent>)>::operator()(std::shared_ptr<dmlc::ManualEvent>)
 const (this=0x2d89a40, __args#0=...) at /usr/include/c++/4.8.2/functional:2464
   #29 0x00007f29bd279358 in std::_Bind_simple<std::function<void 
(std::shared_ptr<dmlc::ManualEvent>)> 
(std::shared_ptr<dmlc::ManualEvent>)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) 
(this=0x2d89a30)
       at /usr/include/c++/4.8.2/functional:1732
   #30 0x00007f29bd279243 in std::_Bind_simple<std::function<void 
(std::shared_ptr<dmlc::ManualEvent>)> 
(std::shared_ptr<dmlc::ManualEvent>)>::operator()() (this=0x2d89a30) at 
/usr/include/c++/4.8.2/functional:1720
   #31 0x00007f29bd2791dc in 
std::thread::_Impl<std::_Bind_simple<std::function<void 
(std::shared_ptr<dmlc::ManualEvent>)> (std::shared_ptr<dmlc::ManualEvent>)> 
>::_M_run() (this=0x2d89a18)
       at /usr/include/c++/4.8.2/thread:115
   #32 0x00007f29b9495da0 in ?? () from /lib64/libstdc++.so.6
   #33 0x00007f29b88f3df3 in start_thread () from /lib64/libpthread.so.0
   #34 0x00007f29b8bfe1ad in clone () from /lib64/libc.so.6
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to