Project

General

Profile

Bug #54319

rbd_mirror: TestImageSync.SnapshotStress: FAILED ceph_assert(object_no < m_object_map.size())

Added by Deepika Upadhyay about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[ RUN      ] TestImageSync.SnapshotStress
../src/librbd/ObjectMap.cc: In function 'uint8_t librbd::ObjectMap<ImageCtxT>::operator[](uint64_t) const [with ImageCtxT = librbd::ImageCtx; uint8_t = unsigned char; uint64_t = long unsigned int]' thread 7fac9bbea700 time 2022-02-17T10:40:34.963062+0000
../src/librbd/ObjectMap.cc: 79: FAILED ceph_assert(object_no < m_object_map.size())
 ceph version 17.0.0-10768-g74b7fe82641 (74b7fe826412ae29748bfccbdb23f42c33ac42d6) quincy (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x12e) [0x7face359981d]
 2: (ceph::register_assert_context(ceph::common::CephContext*)+0) [0x7face3599a4f]
 3: (librbd::ObjectMap<librbd::ImageCtx>::operator[](unsigned long) const+0x8e) [0x55e08ffc9984]
 4: (librbd::ObjectMap<librbd::ImageCtx>::object_may_exist(unsigned long) const+0x9e) [0x55e08ffcb238]
 5: (librbd::io::AbstractObjectWriteRequest<librbd::ImageCtx>::send()+0x2ba) [0x55e09036564a]
 6: (librbd::io::ObjectDispatch<librbd::ImageCtx>::write(unsigned long, unsigned long, ceph::buffer::v15_2_0::list&&, std::shared_ptr<neorados::IOContext>, int, int, std::optional<unsigned long>, ZTracer::Trace const&, int*, unsigned long*, librbd::io::DispatchResult*, Context**, Context*)+0xa6b) [0x55e0903585d1]
 7: (librbd::io::ObjectDispatcher<librbd::ImageCtx>::send_dispatch(librbd::io::ObjectDispatchInterface*, librbd::io::ObjectDispatchSpec*)+0x322) [0x55e090166678]
 8: (librbd::io::Dispatcher<librbd::ImageCtx, librbd::io::ObjectDispatcherInterface>::send(librbd::io::ObjectDispatchSpec*)+0xce) [0x55e09016b154]
 9: (librbd::io::ObjectDispatchSpec::send()+0x11) [0x55e09035c40b]
 10: (librbd::io::AbstractImageWriteRequest<librbd::ImageCtx>::send_object_requests(boost::container::small_vector<striper::LightweightObjectExtent, 4ul, void, void> const&, std::shared_ptr<neorados::IOContext>, unsigned long)+0x3f1) [0x55e090355ec3]
 11: (librbd::io::AbstractImageWriteRequest<librbd::ImageCtx>::send_request()+0x1b6) [0x55e0903561ac]
 12: (librbd::io::ImageRequest<librbd::ImageCtx>::send()+0x127) [0x55e0903528fb]
 13: (librbd::io::ImageRequest<librbd::ImageCtx>::aio_write(librbd::ImageCtx*, librbd::io::AioCompletion*, std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >&&, ceph::buffer::v15_2_0::list&&, std::shared_ptr<neorados::IOContext>, int, ZTracer::Trace const&)+0x1a5) [0x55e090352e15]
 14: (librbd::journal::Replay<librbd::ImageCtx>::handle_event(librbd::journal::AioWriteEvent const&, Context*, Context*)+0x3e9) [0x55e0901c6589]
 15: (librbd::journal::Replay<librbd::ImageCtx>::EventVisitor const::result_type boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<21l>, librbd::journal::AioDiscardEvent, boost::mpl::l_item<mpl_::long_<20l>, librbd::journal::AioWriteEvent, boost::mpl::l_item<mpl_::long_<19l>, librbd::journal::AioFlushEvent, boost::mpl::l_item<mpl_::long_<18l>, librbd::journal::OpFinishEvent, boost::mpl::l_item<mpl_::long_<17l>, librbd::journal::SnapCreateEvent, boost::mpl::l_item<mpl_::long_<16l>, librbd::journal::SnapRemoveEvent, boost::mpl::l_item<mpl_::long_<15l>, librbd::journal::SnapRenameEvent, boost::mpl::l_item<mpl_::long_<14l>, librbd::journal::SnapProtectEvent, boost::mpl::l_item<mpl_::long_<13l>, librbd::journal::SnapUnprotectEvent, boost::mpl::l_item<mpl_::long_<12l>, librbd::journal::SnapRollbackEvent, boost::mpl::l_item<mpl_::long_<11l>, librbd::journal::RenameEvent, boost::mpl::l_item<mpl_::long_<10l>, librbd::journal::ResizeEvent, boost::mpl::l_item<mpl_::long_<9l>, librbd::journal::FlattenEvent, boost::mpl::l_item<mpl_::long_<8l>, librbd::journal::DemotePromoteEvent, boost::mpl::l_item<mpl_::long_<7l>, librbd::journal::SnapLimitEvent, boost::mpl::l_item<mpl_::long_<6l>, librbd::journal::UpdateFeaturesEvent, boost::mpl::l_item<mpl_::long_<5l>, librbd::journal::MetadataSetEvent, boost::mpl::l_item<mpl_::long_<4l>, librbd::journal::MetadataRemoveEvent, boost::mpl::l_item<mpl_::long_<3l>, librbd::journal::AioWriteSameEvent, boost::mpl::l_item<mpl_::long_<2l>, librbd::journal::AioCompareAndWriteEvent, boost::mpl::l_item<mpl_::long_<1l>, librbd::journal::UnknownEvent, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > > > >>::apply_visitor<librbd::journal::Replay<librbd::ImageCtx>::EventVisitor const>(librbd::journal::Replay<librbd::ImageCtx>::EventVisitor const&) const &+0x55) [0x55e0901c7137]
 16: (librbd::journal::Replay<librbd::ImageCtx>::process(librbd::journal::EventEntry const&, Context*, Context*)+0x297) [0x55e0901c75d3]
 17: (librbd::Journal<librbd::ImageCtx>::handle_replay_ready()+0x5c7) [0x55e08ffb895d]
 18: (librbd::Journal<librbd::ImageCtx>::handle_replay_process_ready(int)+0x85) [0x55e08ffb8a4f]
 19: (librbd::util::detail::C_CallbackAdapter<librbd::Journal<librbd::ImageCtx>, &librbd::Journal<librbd::ImageCtx>::handle_replay_process_ready>::finish(int)+0xd) [0x55e08ffb8bd5]
 20: (Context::complete(int)+0x9) [0x55e08f9554cb]
 21: (boost::asio::detail::completion_handler<librbd::asio::ContextWQ::queue(Context*, int)::{lambda()#1}, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x9b) [0x55e08f962a5e]
 22: (boost::asio::detail::strand_service::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x90) [0x55e08ff5965a]
 23: (boost::asio::detail::scheduler::run(boost::system::error_code&)+0x49c) [0x55e09036fa00]
 24: (std::thread::_State_impl<std::thread::_Invoker<std::tuple<make_named_thread<ceph::async::io_context_pool::start(short)::{lambda()#1}>(std::basic_string_view<char, std::char_traits<char> >, ceph::async::io_context_pool::start(short)::{lambda()#1}&&)::{lambda(auto:1, auto:2&&)#1}, {lambda()#1}> > >::_M_run()+0x59) [0x55e0905bc7d7]
 25: /lib64/libstdc++.so.6(+0xc2ba3) [0x7face0972ba3]
 26: /lib64/libpthread.so.0(+0x817f) [0x7face4d4917f]

Also available in: Atom PDF