storaged and graphd crash sometime when insert/search data #5992
Labels
affects/none
PR/issue: this bug affects none version.
severity/none
Severity of bug
type/bug
Type: something is unexpected
uname -r :
3.10.0-1160.el7.x86_64
install with rpm ,version is 3.8.0
storaged and graphd crash,coredump like this:
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/nebula/nebula-graph-3.8.0.el7/bin/nebula-graphd --flagfile /home/nebula/n'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000002282b5d in folly::EventBase::runImmediatelyOrRunInEventBaseThreadAndWait(folly::Function<void ()>) ()
Missing separate debuginfos, use: debuginfo-install glibc-2.17-317.el7.x86_64
(gdb) bt
#0 0x0000000002282b5d in folly::EventBase::runImmediatelyOrRunInEventBaseThreadAndWait(folly::Function<void ()>) ()
#1 0x000000000178a792 in ?? ()
#2 0x00000000018f4b4c in std::_Hashtable<std::pair<nebula::HostAddr, folly::EventBase*>, std::pair<std::pair<nebula::HostAddr, folly::EventBase*> const, std::shared_ptrnebula::meta::cpp2::MetaServiceAsyncClient >, std::allocator<std::pair<std::pair<nebula::HostAddr, folly::EventBase*> const, std::shared_ptrnebula::meta::cpp2::MetaServiceAsyncClient > >, std::__detail::_Select1st, std::equal_to<std::pair<nebula::HostAddr, folly::EventBase*> >, std::hash<std::pair<nebula::HostAddr, folly::EventBase*> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::~_Hashtable() ()
#3 0x00000000018f4bde in void folly::threadlocal_detail::ElementWrapper::set<std::unordered_map<std::pair<nebula::HostAddr, folly::EventBase*>, std::shared_ptrnebula::meta::cpp2::MetaServiceAsyncClient, std::hash<std::pair<nebula::HostAddr, folly::EventBase*> >, std::equal_to<std::pair<nebula::HostAddr, folly::EventBase*> >, std::allocator<std::pair<std::pair<nebula::HostAddr, folly::EventBase*> const, std::shared_ptrnebula::meta::cpp2::MetaServiceAsyncClient > > >>(std::unordered_map<std::pair<nebula::HostAddr, folly::EventBase>, std::shared_ptrnebula::meta::cpp2::MetaServiceAsyncClient, std::hash<std::pair<nebula::HostAddr, folly::EventBase*> >, std::equal_to<std::pair<nebula::HostAddr, folly::EventBase*> >, std::allocator<std::pair<std::pair<nebula::HostAddr, folly::EventBase*> const, std::shared_ptrnebula::meta::cpp2::MetaServiceAsyncClient > > >)::{lambda(void, folly::TLPDestructionMode)#2}::_FUN(void*, folly::TLPDestructionMode) ()
#4 0x00000000021fa082 in folly::threadlocal_detail::StaticMetaBase::onThreadExit(void*) ()
#5 0x00007f29807b3ca2 in __nptl_deallocate_tsd () from /lib64/libpthread.so.0
#6 0x00007f29807b3eb3 in start_thread () from /lib64/libpthread.so.0
#7 0x00007f29804dc96d in clone () from /lib64/libc.so.6
(gdb) disas
Dump of assembler code for function _ZN5folly9EventBase43runImmediatelyOrRunInEventBaseThreadAndWaitENS_8FunctionIFvvEEE:
0x0000000002282b50 <+0>: push %r13
0x0000000002282b52 <+2>: push %r12
0x0000000002282b54 <+4>: push %rbp
0x0000000002282b55 <+5>: mov %rsi,%rbp
0x0000000002282b58 <+8>: push %rbx
0x0000000002282b59 <+9>: sub $0x48,%rsp
=> 0x0000000002282b5d <+13>: mov 0x90(%rdi),%rbx
0x0000000002282b64 <+20>: test %rbx,%rbx
0x0000000002282b67 <+23>: je 0x2282bf0 <_ZN5folly9EventBase43runImmediatelyOrRunInEventBaseThreadAndWaitENS_8FunctionIFvvEEE+160>
0x0000000002282b6d <+29>: cmpq $0x0,0xcdcfb3(%rip) # 0x2f5fb28
(gdb) info reg rdi
rdi 0x7f295d802280 139815639065216
(gdb) x/10xg 0x7f295d802280
0x7f295d802280: Cannot access memory at address 0x7f295d802280
The text was updated successfully, but these errors were encountered: