#0 0x0000000000310000 in ?? () #1 0x0000000000c6b3cc in…
- User
#0 0x0000000000310000 in ?? () #1 0x0000000000c6b3cc in baidu::inf::ds::table::protocol::CUQuota::SharedDtor (this=0x8a07508) at bc_out/baidu/third-party/protobuf/output/include/google/protobuf/io/wire_format.h:12300 #2 0x0000000000c6b34e in baidu::inf::ds::table::protocol::CUQuota::~CUQuota (this=0x8a07508, __in_chrg=) at bc_out/baidu/third-party/protobuf/output/include/google/protobuf/io/wire_format.h:12295 #3 0x00000000004ab31a in std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota>::
pair (this=0x8a07500, __in_chrg=) at bc_out/inf/ds/table-api/protocol/session.h:185 #4 0x00000000004ab346 in std::__new_allocator<std::_Rb_tree_node<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > >::destroy<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > (this=0x8a09c40, __p=0x8a07500) at /home/opt/compiler/gcc-12/include/c++/12.1.0/move.h:181 #5 0x00000000004a6e45 in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > > >::destroy<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > (__a=..., __p=0x8a07500) at /home/opt/compiler/gcc-12/include/c++/12.1.0/new_allocator.h:535 #6 0x00000000004a0173 in std::_Rb_tree<std::string, std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota>, std::_Select1st<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> >, std::lessstd::string, std::allocator<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > >::_M_destroy_node (this=0x8a09c40, __p=0x8a074e0) at /home/opt/compiler/gcc-12/include/c++/12.1.0/x86_64-pc-linux-gnu/bits/iomanip:623 #7 0x00000000004982cb in std::_Rb_tree<std::string, std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota>, std::_Select1st<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> >, std::lessstd::string, std::allocator<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > >::_M_drop_node (this=0x8a09c40, __p=0x8a074e0) at /home/opt/compiler/gcc-12/include/c++/12.1.0/x86_64-pc-linux-gnu/bits/iomanip:631 #8 0x0000000000493151 in std::_Rb_tree<std::string, std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota>, std::_Select1st<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> >, std::lessstd::string, std::allocator<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > >::_M_erase (this=0x8a09c40, __x=0x8a074e0) at /home/opt/compiler/gcc-12/include/c++/12.1.0/x86_64-pc-linux-gnu/bits/iomanip:1937 #9 0x000000000048e57c in std::_Rb_tree<std::string, std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota>, std::_Select1st<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> >, std::lessstd::string, std::allocator<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > >::_Rb_tree (this=0x8a09c40, __in_chrg=) at /home/opt/compiler/gcc-12/include/c++/12.1.0/x86_64-pc-linux-gnu/bits/iomanip:984 #10 0x000000000048bbb0 in std::map<std::string, baidu::inf::ds::table::protocol::CUQuota, std::less, std::allocator<std::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota> > >::~map (this=0x8a09c40, __in_chrg=) at bc_out/inf/ds/table-api/protocol/rpc_client.h:312 #11 0x00000000006a1625 in baidu::inf::ds::table::master::QuotaManager::~QuotaManager (this=0x8a09840, __in_chrg=) at bc_out/inf/ds/table-api/protocol/table_manager.h:91 #12 0x00000000006a17a4 in baidu::inf::ds::table::master::QuotaManager::~QuotaManager (this=0x8a09840, __in_chrg=) at bc_out/inf/ds/table-api/protocol/table_manager.h:91 #13 0x000000000048d4ac in baidu::inf::ds::table::master::QuotaManagerTest::TearDown (this=0x86d56c0) at /home/opt/compiler/gcc-12/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include/table_manager.h:146 #14 0x0000000000786d9a in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (location=0x1980cb5 "TearDown()", method=, object=0x86d56c0) at ./src/gtest.cc:2071 #15 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=object@entry=0x86d56c0, method=, location=location@entry=0x1980cb5 "TearDown()") at ./src/gtest.cc:2126 #16 0x00000000007804fd in testing::Test::Run (this=this@entry=0x86d56c0) at ./src/gtest.cc:2169 #17 0x0000000000780705 in testing::Test::Run (this=0x86d56c0) at ./src/gtest.cc:2338 #18 testing::TestInfo::Run (this=0x684cf40) at ./src/gtest.cc:2338 #19 0x0000000000780808 in testing::TestInfo::Run (this=) at ./src/gtest.cc:2313 #20 testing::TestCase::Run (this=0x684a3b0) at ./src/gtest.cc:2445 #21 0x0000000000780da8 in testing::TestCase::Run (this=) at ./src/gtest.cc:2431 #22 testing::internal::UnitTestImpl::RunAllTests (this=0x684a430) at ./src/gtest.cc:4237 #23 0x0000000000780ee4 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (location=0x1981d60 "auxiliary test code (environments or event listeners)", method=, object=) at ./src/gtest.cc:2071 #24 testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (location=0x1981d60 "auxiliary test code (environments or event listeners)", method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x7808f0 , object=0x684a430) at ./src/gtest.cc:2126 #25 testing::UnitTest::Run (this=) at ./src/gtest.cc:3871 #26 0x000000000047a261 in main (argc=1, argv=0x7fff6e2fe0b8) at /home/opt/compiler/gcc-12/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include/table_manager.h:83 - Assistant
Based on the provided stack trace:
- The crash occurs at address 0x0000000000310000, which appears to be an unknown location.
- The crash is caused by the destruction of an object of type
baidu::inf::ds::table::protocol::CUQuotain thebaidu::inf::ds::table::protocol::CUQuota::SharedDtorfunction at line 12300 of the wire_format.h file. - The object of type
baidu::inf::ds::table::protocol::CUQuotais also involved in the destruction of a pair in thestd::pair<std::string const, baidu::inf::ds::table::protocol::CUQuota>::~pairfunction at line 185 of the session.h file. - The destruction of the pair is performed by the
std::__new_allocatorandstd::allocator_traitsfunctions. - The pair is part of a std::map object of type which is being destroyed in the QuotaManager destructor at line 312 of the rpc_client.h file.