Project

General

Profile

Actions

Bug #47226

closed

assert in PGLog::write_log_and_missing() in thrash test

Added by Kefu Chai over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
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

void seastar::backtrace<seastar::backtrace_buffer::append_backtrace()::{lambda(seastar::frame)#1}>(seastar::backtrace_buffer::append_backtrace()::{lambda(seastar::frame)#1}&&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/util/backtrace.hh:59
non-virtual thunk to std::_Nested_exception<std::runtime_error>::~_Nested_exception() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:730
 (inlined by) print_with_backtrace at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:751
print_with_backtrace at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:758
non-virtual thunk to std::_Nested_exception<std::runtime_error>::~_Nested_exception() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:3517
 (inlined by) operator() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:3499
 (inlined by) _FUN at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:3495
.annobin_funlockfile.c_end at funlockfile.c:?
__GI___libc_sigaction at :?
__isoc99_fscanf.cold.0 at isoc99_fscanf.c:?
ceph::__ceph_assert_fail(char const*, char const*, int, char const*) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/common/assert.cc:27
ceph::__ceph_assert_fail(ceph::assert_data const&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/common/assert.cc:14
PGLog::check() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/osd/PGLog.cc:606 (discriminator 1)
PGLog::write_log_and_missing(ceph::os::Transaction&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v15_2_0::list, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ceph::buffer::v15_2_0::list> > >*, coll_t const&, ghobject_t const&, bool) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/osd/PGLog.h:743
 (inlined by) PGLog::write_log_and_missing(ceph::os::Transaction&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v15_2_0::list, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ceph::buffer::v15_2_0::list> > >*, coll_t const&, ghobject_t const&, bool) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/osd/PGLog.cc:645
crimson::osd::PG::prepare_write(pg_info_t&, pg_info_t&, PastIntervals&, PGLog&, bool, bool, bool, ceph::os::Transaction&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/pg.cc:300
PeeringState::write_if_dirty(ceph::os::Transaction&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/osd/PeeringState.cc:404
crimson::osd::PG::do_peering_event(PGPeeringEvent&, PeeringCtx&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/pg.cc:447
 (inlined by) crimson::osd::PG::do_peering_event(PGPeeringEvent&, PeeringCtx&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/pg.cc:455
operator() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/osd_operations/peering_event.cc:85
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/bits/invoke.h:60
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/bits/invoke.h:96
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/tuple:1685
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/tuple:1696
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:2028
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1568
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1214
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1490
 (inlined by) operator() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/osd_operations/peering_event.cc:84
crimson::osd::PeeringEvent::start() at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/bits/invoke.h:60
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/bits/invoke.h:96
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/tuple:1685
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/tuple:1696
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:2028
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1568
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1214
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1490
 (inlined by) crimson::osd::PeeringEvent::start() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/osd_operations/peering_event.cc:65
non-virtual thunk to crimson::osd::PG::try_flush_or_schedule_async() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/shard_services.h:100
 (inlined by) operator() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/pg.cc:427
non-virtual thunk to crimson::osd::PG::try_flush_or_schedule_async() at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/bits/invoke.h:60
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/bits/invoke.h:96
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/tuple:1685
 (inlined by) ?? at /opt/rh/gcc-toolset-9/root/usr/include/c++/9/tuple:1696
 (inlined by) operator() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1551
 (inlined by) ?? at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:2038
 (inlined by) operator() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:1550
 (inlined by) run_and_dispose at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/include/seastar/core/future.hh:648
seastar::reactor::run_tasks(seastar::reactor::task_queue&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:2192
non-virtual thunk to std::_Nested_exception<std::runtime_error>::~_Nested_exception() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:2608
non-virtual thunk to std::_Nested_exception<std::runtime_error>::~_Nested_exception() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:2591
 (inlined by) seastar::reactor::run() at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/reactor.cc:2763
seastar::app_template::run_deprecated(int, char**, std::function<void ()>&&) at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/seastar/src/core/app-template.cc:207
main at /usr/src/debug/ceph-16.0.0-4918.g81870e4.el8.x86_64/src/crimson/osd/main.cc:147
check_one_fd at check_fds.c:?
_start at ??:?


Files

ceph-osd.0.log.bz2 (714 KB) ceph-osd.0.log.bz2 Kefu Chai, 09/02/2020 02:55 AM
Actions #1

Updated by Kefu Chai over 3 years ago

ceph_assert(log.log.size() == log_keys_debug.size());
Actions #3

Updated by Kefu Chai over 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 37000
Actions #4

Updated by Kefu Chai over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF