Actions
Bug #56888
opencrash: int fork_function(int, std::ostream&, std::function<signed char()>): assert((*__errno_location ()) == 4)
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Telemetry
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
08feea0c5df7294f596d76c5dfef82931fadef74e9947a728d0459b2f9ff2e48
Crash signature (v2):
Description
Assert condition: (*__errno_location ()) == 4
Assert function: int fork_function(int, std::ostream&, std::function<signed char()>)
Sanitized backtrace:
CrushTester::test_with_fork(int) OSDMonitor::prepare_new_pool(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long, unsigned long, float, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned long, OSDMonitor::FastReadType, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::ostream*) OSDMonitor::prepare_command_impl(boost::intrusive_ptr<MonOpRequest>, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::variant<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, double, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<long, std::allocator<long> >, std::vector<double, std::allocator<double> > >, std::less<void>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, boost::variant<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, double, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<long, std::allocator<long> >, std::vector<double, std::allocator<double> > > > > > const&) OSDMonitor::prepare_command(boost::intrusive_ptr<MonOpRequest>) OSDMonitor::prepare_update(boost::intrusive_ptr<MonOpRequest>) PaxosService::dispatch(boost::intrusive_ptr<MonOpRequest>) PaxosService::C_RetryMessage::_finish(int) C_MonOp::finish(int) Context::complete(int) void finish_contexts<std::list<Context*, std::allocator<Context*> > >(ceph::common::CephContext*, std::list<Context*, std::allocator<Context*> >&, int) Paxos::finish_round() Paxos::handle_last(boost::intrusive_ptr<MonOpRequest>) Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>) Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>) Monitor::_ms_dispatch(Message*) Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&) DispatchQueue::entry() DispatchQueue::DispatchThread::entry()
Crash dump sample:
{ "assert_condition": "(*__errno_location ()) == 4", "assert_file": "common/fork_function.h", "assert_func": "int fork_function(int, std::ostream&, std::function<signed char()>)", "assert_line": 38, "assert_msg": "common/fork_function.h: In function 'int fork_function(int, std::ostream&, std::function<signed char()>)' thread 7fd5fdc50700 time 2022-07-18T12:56:26.445755+0000\ncommon/fork_function.h: 38: FAILED ceph_assert((*__errno_location ()) == 4)", "assert_thread_name": "ms_dispatch", "backtrace": [ "/lib64/libpthread.so.0(+0x12ce0) [0x7fd6092cece0]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x7fd60b593d99]", "/usr/lib64/ceph/libceph-common.so.2(+0x276f62) [0x7fd60b593f62]", "(CrushTester::test_with_fork(int)+0x796) [0x7fd60bb52046]", "(OSDMonitor::prepare_new_pool(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned long, unsigned long, float, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned long, OSDMonitor::FastReadType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::ostream*)+0x43c) [0x557f87406dec]", "(OSDMonitor::prepare_command_impl(boost::intrusive_ptr<MonOpRequest>, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, double, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<long, std::allocator<long> >, std::vector<double, std::allocator<double> > >, std::less<void>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, boost::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, double, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<long, std::allocator<long> >, std::vector<double, std::allocator<double> > > > > > const&)+0x1e833) [0x557f874353f3]", "(OSDMonitor::prepare_command(boost::intrusive_ptr<MonOpRequest>)+0xf4) [0x557f8743a5c4]", "(OSDMonitor::prepare_update(boost::intrusive_ptr<MonOpRequest>)+0x373) [0x557f8743e8a3]", "(PaxosService::dispatch(boost::intrusive_ptr<MonOpRequest>)+0xa6d) [0x557f873beebd]", "(PaxosService::C_RetryMessage::_finish(int)+0x64) [0x557f87311b54]", "(C_MonOp::finish(int)+0x49) [0x557f872aee69]", "(Context::complete(int)+0xd) [0x557f872ac33d]", "(void finish_contexts<std::__cxx11::list<Context*, std::allocator<Context*> > >(ceph::common::CephContext*, std::__cxx11::list<Context*, std::allocator<Context*> >&, int)+0xa5) [0x557f872d8835]", "(Paxos::finish_round()+0x27b) [0x557f873b670b]", "(Paxos::handle_last(boost::intrusive_ptr<MonOpRequest>)+0xe29) [0x557f873b79c9]", "(Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)+0x417) [0x557f873b8667]", "(Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)+0x1324) [0x557f872a9b74]", "(Monitor::_ms_dispatch(Message*)+0x670) [0x557f872aa600]", "(Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x5c) [0x557f872d94fc]", "(DispatchQueue::entry()+0x126a) [0x7fd60b7d9b6a]", "(DispatchQueue::DispatchThread::entry()+0x11) [0x7fd60b88b8f1]", "/lib64/libpthread.so.0(+0x81ca) [0x7fd6092c41ca]", "clone()" ], "ceph_version": "16.2.9", "crash_id": "2022-07-18T12:56:26.462300Z_88915aa1-db0e-40a6-b4b9-0638e18b264a", "entity_name": "mon.0d73e4654b4be6a5ea9e85fd633fce90dd704a6d", "os_id": "centos", "os_name": "CentOS Stream", "os_version": "8", "os_version_id": "8", "process_name": "ceph-mon", "stack_sig": "08feea0c5df7294f596d76c5dfef82931fadef74e9947a728d0459b2f9ff2e48", "timestamp": "2022-07-18T12:56:26.462300Z", "utsname_machine": "x86_64", "utsname_release": "4.18.0-372.9.1.el8.x86_64", "utsname_sysname": "Linux", "utsname_version": "#1 SMP Tue May 10 08:57:35 EDT 2022" }
Updated by Telemetry Bot over 1 year ago
Actions