Actions
Bug #48958
closed[crypto] seg fault when closing image
Status:
Resolved
Priority:
High
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
#0 raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x000055cd84334623 in reraise_fatal (signum=11) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/global/signal_handler.cc:332 #2 handle_fatal_signal (signum=11) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/global/signal_handler.cc:332 #3 <signal handler called> #4 0x00007f644c01fee0 in ?? () #5 0x00007f647b88957b in librbd::io::Dispatcher<librbd::ImageCtx, librbd::io::ImageDispatcherInterface>::send (this=0x7f644404e490, dispatch_spec=0x7f644c01e110) at /usr/include/c++/8/shared_mutex:125 #6 0x00007f647b885e2d in librbd::io::ImageDispatchSpec::C_Dispatcher::complete (this=<optimized out>, r=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/librbd/io/ImageDispatchSpec.cc:29 #7 0x00007f647b9e61c2 in librbd::io::FlushTracker<librbd::ImageCtx>::flush (this=0x7f644404e620, on_finish=on_finish@entry=0x7f644c01e110) at /usr/include/c++/8/bits/stl_tree.h:273 #8 0x00007f647b88fde1 in librbd::io::QosImageDispatch<librbd::ImageCtx>::flush (this=0x7f644404dfd0, aio_comp=<optimized out>, flush_source=<optimized out>, parent_trace=..., tid=215, image_dispatch_flags=<optimized out>, dispatch_result=0x7f644c01e130, on_finish=0x7f6438234688, on_dispatched=0x7f644c01e110) at /usr/include/c++/8/bits/basic_ios.h:282 #9 0x00007f647b88774c in librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor::operator() (flush=..., this=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/librbd/io/ImageDispatcher.cc:101 #10 boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>::internal_visit<librbd::io::ImageDispatchSpec::Flush&> (this=<synthetic pointer>, operand=...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:1028 --Type <RET> for more, q to quit, c to continue without paging-- #11 boost::detail::variant::visitation_impl_invoke_impl<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*, librbd::io::ImageDispatchSpec::Flush> ( storage=0x7f644c01e160, visitor=<synthetic pointer>...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/visitation_impl.hpp:119 #12 boost::detail::variant::visitation_impl_invoke<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*, librbd::io::ImageDispatchSpec::Flush, boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::has_fallback_type_> (internal_which=<optimized out>, t=0x0, storage=0x7f644c01e160, visitor=<synthetic pointer>...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/visitation_impl.hpp:157 #13 boost::detail::variant::visitation_impl<mpl_::int_<0>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<7l>, librbd::io::ImageDispatchSpec::Read, boost::mpl::l_item<mpl_::long_<6l>, librbd::io::ImageDispatchSpec::Discard, boost::mpl::l_item<mpl_::long_<5l>, librbd::io::ImageDispatchSpec::Write, boost::mpl::l_item<mpl_::long_<4l>, librbd::io::ImageDispatchSpec::WriteSame, boost::mpl::l_item<mpl_::long_<3l>, librbd::io::ImageDispatchSpec::CompareAndWrite, boost::mpl::l_item<mpl_::long_<2l>, librbd::io::ImageDispatchSpec::Flush, boost::mpl::l_item<mpl_::long_<1l>, librbd::io::ImageDispatchSpec::ListSnaps, boost::mpl::l_end> > > > > > > >, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*, boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::has_fallback_type_> ( no_backup_flag=..., storage=0x7f644c01e160, visitor=<synthetic pointer>..., logical_which=<optimized out>, internal_which=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/visitation_impl.hpp:238 #14 boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::internal_apply_visitor_impl<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*> ( storage=0x7f644c01e160, visitor=<synthetic pointer>..., logical_which=<optimized out>, internal_which=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:2337 #15 boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::internal_apply_visitor<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false> > (visitor=<synthetic pointer>..., this=0x7f644c01e158) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:2349 #16 boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::apply_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const>(librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const&) & (visitor=..., this=0x7f644c01e158) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:2393 #17 boost::apply_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor, boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>&> (visitable=..., visitor=...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/apply_visitor_unary.hpp:68 #18 librbd::io::ImageDispatcher<librbd::ImageCtx>::send_dispatch (this=<optimized out>, image_dispatch=0x7f644404dfd0, image_dispatch_spec=0x7f644c01e110) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/librbd/io/ImageDispatcher.cc:295 #19 0x00007f647b889591 in librbd::io::Dispatcher<librbd::ImageCtx, librbd::io::ImageDispatcherInterface>::send (this=0x7f644404e490, dispatch_spec=0x7f644c01e110) at /usr/include/c++/8/shared_mutex:125 #20 0x00007f647b885e2d in librbd::io::ImageDispatchSpec::C_Dispatcher::complete (this=<optimized out>, r=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/librbd/io/ImageDispatchSpec.cc:29 #21 0x00007f647b9e61c2 in librbd::io::FlushTracker<librbd::ImageCtx>::flush (this=0x7f644404e530, on_finish=on_finish@entry=0x7f644c01e110) at /usr/include/c++/8/bits/stl_tree.h:273 #22 0x00007f647b892651 in librbd::io::QueueImageDispatch<librbd::ImageCtx>::flush (this=0x7f644404cfe0, aio_comp=<optimized out>, flush_source=<optimized out>, parent_trace=..., tid=215, image_dispatch_flags=<optimized out>, dispatch_result=0x7f644c01e130, on_finish=0x7f6438234688, on_dispatched=0x7f644c01e110) at /usr/include/c++/8/bits/basic_ios.h:282 #23 0x00007f647b88774c in librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor::operator() (flush=..., this=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/librbd/io/ImageDispatcher.cc:101 #24 boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>::internal_visit<librbd::io::ImageDispatchSpec::Flush&> (this=<synthetic pointer>, operand=...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:1028 #25 boost::detail::variant::visitation_impl_invoke_impl<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*, librbd::io::ImageDispatchSpec::Flush> ( storage=0x7f644c01e160, visitor=<synthetic pointer>...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/visitation_impl.hpp:119 #26 boost::detail::variant::visitation_impl_invoke<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*, librbd::io::ImageDispatchSpec::Flush, boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::has_fallback_type_> (internal_which=<optimized out>, t=0x0, storage=0x7f644c01e160, visitor=<synthetic pointer>...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/visitation_impl.hpp:157 #27 boost::detail::variant::visitation_impl<mpl_::int_<0>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<7l>, librbd::io::ImageDispatchSpec::Read, boost::mpl::l_item<mpl_::long_<6l>, librbd::io::ImageDispatchSpec::Discard, boost::mpl::l_item<mpl_::long_<5l>, librbd::io::ImageDispatchSpec::Write, boost::mpl::l_item<mpl_::long_<4l>, librbd::io::ImageDispatchSpec::WriteSame, boost::mpl::l_item<mpl_::long_<3l>, librbd::io::ImageDispatchSpec::CompareAndWrite, boost::mpl::l_item<mpl_::long_<2l>, librbd::io::ImageDispatchSpec::Flush, boost::mpl::l_item<mpl_::long_<1l>, librbd::io::ImageDispatchSpec::ListSnaps, boost::mpl::l_end> > > > > > > >, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*, boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::has_fallback_type_> ( no_backup_flag=..., storage=0x7f644c01e160, visitor=<synthetic pointer>..., logical_which=<optimized out>, internal_which=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/visitation_impl.hpp:238 #28 boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::internal_apply_visitor_impl<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false>, void*> ( storage=0x7f644c01e160, visitor=<synthetic pointer>..., logical_which=<optimized out>, internal_which=<optimized out>) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:2337 #29 boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::Im--Type <RET> for more, q to quit, c to continue without paging-- ageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::internal_apply_visitor<boost::detail::variant::invoke_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const, false> > (visitor=<synthetic pointer>..., this=0x7f644c01e158) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:2349 #30 boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>::apply_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const>(librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor const&) & (visitor=..., this=0x7f644c01e158) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/variant.hpp:2393 #31 boost::apply_visitor<librbd::io::ImageDispatcher<librbd::ImageCtx>::SendVisitor, boost::variant<librbd::io::ImageDispatchSpec::Read, librbd::io::ImageDispatchSpec::Discard, librbd::io::ImageDispatchSpec::Write, librbd::io::ImageDispatchSpec::WriteSame, librbd::io::ImageDispatchSpec::CompareAndWrite, librbd::io::ImageDispatchSpec::Flush, librbd::io::ImageDispatchSpec::ListSnaps>&> (visitable=..., visitor=...) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/build/boost/include/boost/variant/detail/apply_visitor_unary.hpp:68 #32 librbd::io::ImageDispatcher<librbd::ImageCtx>::send_dispatch (this=<optimized out>, image_dispatch=0x7f644404cfe0, image_dispatch_spec=0x7f644c01e110) at /usr/src/debug/ceph-16.0.0-9181.g892e85c5.el8.x86_64/src/librbd/io/ImageDispatcher.cc:295 #33 0x00007f647b889591 in librbd::io::Dispatcher<librbd::ImageCtx, librbd::io::ImageDispatcherInterface>::send (this=0x7f644404e490, dispatch_spec=0x7f644c01e110) at /usr/include/c++/8/shared_mutex:125 #34 0x00007f647b83ed68 in librbd::image::CloseRequest<librbd::ImageCtx>::send_flush (this=this@entry=0x55cd862e8950) at /usr/include/c++/8/ext/new_allocator.h:86
Actions