Actions
Bug #54718
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):
3845a8a2a55777f62ef6a3dc53869fa38dc0de34a8162895c68c7cb886d7c96e
4b81d4434af24170287146ba6330a65400f6af553596cc9f42cddf7230d13d64
b84158a4126c1b7906000abc692ae1fa0784fc1635dee189ff5bd77cca1a4918
c1fdc8443ec63a00da959a73970d40db860724570673eacb5ce3c72da8bc38e2
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 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&, std::ostream*) OSDMonitor::prepare_new_pool(boost::intrusive_ptr<MonOpRequest>) OSDMonitor::prepare_pool_op_create(boost::intrusive_ptr<MonOpRequest>) OSDMonitor::prepare_pool_op(boost::intrusive_ptr<MonOpRequest>) OSDMonitor::prepare_update(boost::intrusive_ptr<MonOpRequest>) PaxosService::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 7f9145da6700 time 2021-12-29T08:42:02.748933+0000\ncommon/fork_function.h: 38: FAILED ceph_assert((*__errno_location ()) == 4)", "assert_thread_name": "ms_dispatch", "backtrace": [ "/lib64/libpthread.so.0(+0x12c20) [0x7f9151423c20]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1a9) [0x7f91536e7ba3]", "/usr/lib64/ceph/libceph-common.so.2(+0x276d6c) [0x7f91536e7d6c]", "(CrushTester::test_with_fork(int)+0x796) [0x7f9153ca4066]", "(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 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&, std::ostream*)+0x42c) [0x55e39134022c]", "(OSDMonitor::prepare_new_pool(boost::intrusive_ptr<MonOpRequest>)+0x162) [0x55e391341302]", "(OSDMonitor::prepare_pool_op_create(boost::intrusive_ptr<MonOpRequest>)+0x99) [0x55e391341729]", "(OSDMonitor::prepare_pool_op(boost::intrusive_ptr<MonOpRequest>)+0x1c8) [0x55e39134b7e8]", "(OSDMonitor::prepare_update(boost::intrusive_ptr<MonOpRequest>)+0x278) [0x55e391377938]", "(PaxosService::dispatch(boost::intrusive_ptr<MonOpRequest>)+0xa6d) [0x55e3912f889d]", "(Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)+0x4d2) [0x55e3911e27a2]", "(Monitor::_ms_dispatch(Message*)+0x670) [0x55e3911e4080]", "(Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x5c) [0x55e391212f4c]", "(DispatchQueue::entry()+0x126a) [0x7f915392baba]", "(DispatchQueue::DispatchThread::entry()+0x11) [0x7f91539dd5d1]", "/lib64/libpthread.so.0(+0x817a) [0x7f915141917a]", "clone()" ], "ceph_version": "16.2.7", "crash_id": "2021-12-29T08:42:02.811313Z_f64612a1-03c6-4d0b-8132-46ec6d1cf423", "entity_name": "mon.110988bc72fa9babbb910f27ed506f6cb941d6a0", "os_id": "centos", "os_name": "CentOS Linux", "os_version": "8", "os_version_id": "8", "process_name": "ceph-mon", "stack_sig": "4b81d4434af24170287146ba6330a65400f6af553596cc9f42cddf7230d13d64", "timestamp": "2021-12-29T08:42:02.811313Z", "utsname_machine": "x86_64", "utsname_release": "4.18.0-348.el8.x86_64", "utsname_sysname": "Linux", "utsname_version": "#1 SMP Tue Oct 19 15:14:17 UTC 2021" }
Updated by Telemetry Bot about 2 years ago
Actions