Ceph: MDS crashes with "(ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1b6)" and "CDentry::check_corruption(bool)+0x456)"
Issue
MDS crashes with "(ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits
Example:
2024-04-28T13:25:34.753+0000 7fedc6158700 -1 *** Caught signal (Aborted) **
in thread 7fedc6158700 thread_name:ms_dispatch
ceph version 16.2.10-187.el8cp (5d6355e2bccd18b5c6457a34cb666d773f21823d) pacific (stable)
1: /lib64/libpthread.so.0(+0x12cf0) [0x7fedcdd8fcf0]
2: gsignal()
3: abort()
4: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1b6) [0x7fedceda6d45] [1]
5: (CDentry::check_corruption(bool)+0x456) [0x55ff0dfe98a6] [1]
6: (EMetaBlob::add_dir_context(CDir*, int)+0x241) [0x55ff0e132931]
7: (MDCache::create_subtree_map()+0x1acd) [0x55ff0defef0d]
8: (MDLog::_journal_segment_subtree_map(MDSContext*)+0x126) [0x55ff0e0c35d6]
9: (MDLog::_submit_entry(LogEvent*, MDSLogContextBase*)+0x358) [0x55ff0e0c3a28]
10: (Server::journal_close_session(Session*, int, Context*)+0x78c) [0x55ff0dded24c]
11: (Server::kill_session(Session*, Context*)+0x212) [0x55ff0dded9a2]
12: (Server::apply_blocklist()+0x10d) [0x55ff0ddedc5d]
13: (MDSRank::apply_blocklist(std::set<entity_addr_t, std::less<entity_addr_t>, std::allocator<entity_addr_t> > const&, unsigned int)+0x34) [0x55ff0dda9824]
14: (MDSRankDispatcher::handle_osd_map()+0x122) [0x55ff0dda9b92]
15: (MDSDaemon::handle_core_message(boost::intrusive_ptr<Message const> const&)+0x33b) [0x55ff0dd93b8b]
16: (MDSDaemon::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0xc3) [0x55ff0dd94473]
17: (DispatchQueue::entry()+0x126a) [0x7fedcefef8da]
18: (DispatchQueue::DispatchThread::entry()+0x11) [0x7fedcf0a2e21]
19: /lib64/libpthread.so.0(+0x81ca) [0x7fedcdd851ca]
20: clone()
Environment
Red Hat Ceph Storage (RHCS) 5.x
Red Hat Ceph Storage (RHCS) 6.x
Red Hat Ceph Storage (RHCS) 7.x
Ceph File System (CephFS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.