Project

General

Profile

Bug #44004

"ceph" command crashes

Added by Xuehan Xu about 4 years ago. Updated about 4 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:

0%

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

Description

On the most recent master, after building, I ran the command "./bin/ceph -s --connect-timeout 1 -c /home/xuxuehan/ceph-dev/build/ceph.conf", which came up with the following error:

Traceback (most recent call last):
  File "./bin/ceph", line 1267, in <module>
    retval = main()
  File "./bin/ceph", line 980, in main
    conffile=conffile)   
  File "/home/xuxuehan/ceph-dev/src/pybind/ceph_argparse.py", line 1336, in run_in_thread
    raise Exception("timed out")
Exception: timed out
Default value rbd_default_features=layering,exclusive-lock,object-map,fast-diff,deep-flatten is invalid:
/home/xuxuehan/ceph-dev/src/common/config.cc: In function 'md_config_t::md_config_t(ConfigValues&, const ConfigTracker&, bool)' thread 2b9f8d3f0700 time 2020-02-06T10:50
:56.114874+0800
/home/xuxuehan/ceph-dev/src/common/config.cc: 199: ceph_abort_msg("abort() called")
 ceph version 15.1.0-183-g79040c2ea3 (79040c2ea3c2a4e600d50f2fa587d996cf5ba868) octopus (rc)
 1: (ceph::__ceph_abort(char const*, int, char const*, std::string const&)+0xfe) [0x2b9f7cc1e468]
 2: (md_config_t::md_config_t(ConfigValues&, ConfigTracker const&, bool)+0xf136) [0x2b9f7ccacf72]
 3: (ConfigProxy::ConfigProxy(bool)+0x6a) [0x2b9f7cc45172]
 4: (CephContext::CephContext(unsigned int, code_environment_t, int)+0x5f) [0x2b9f7cc3f375]
 5: (common_preinit(CephInitParameters const&, code_environment_t, int)+0x53) [0x2b9f7cc9bfc0]
 6: (()+0x396b9) [0x2b9f7b3646b9]
 7: (rados_create2()+0x122) [0x2b9f7b364bb5]
 8: (()+0xe36cc) [0x2b9f7b0e46cc]
 9: (_PyCFunction_FastCallDict()+0x147) [0x2b9f7296d0f7]
 10: (_PyObject_FastCallDict()+0x146) [0x2b9f7292f6f6]
 11: (()+0xb6bd1) [0x2b9f7293dbd1]
 12: (()+0x64b5c) [0x2b9f7b065b5c]
 13: (()+0x94b77) [0x2b9f7b095b77]
 14: (_PyObject_FastCallDict()+0x90) [0x2b9f7292f640]
 15: (_PyObject_Call_Prepend()+0x61) [0x2b9f7292f7d1]
 16: (()+0x8408d) [0x2b9f7b08508d]
 17: (()+0xf7f12) [0x2b9f7297ef12]
 18: (PyObject_Call()+0x43) [0x2b9f7292f443]
 19: (_PyEval_EvalFrameDefault()+0x207a) [0x2b9f729ced7a]
 20: (()+0x15182a) [0x2b9f729d882a]
 21: (()+0x151b63) [0x2b9f729d8b63]
 22: (_PyEval_EvalFrameDefault()+0x3a7) [0x2b9f729cd0a7]
 23: (()+0x15182a) [0x2b9f729d882a]
 24: (()+0x151b63) [0x2b9f729d8b63]
 25: (_PyEval_EvalFrameDefault()+0x3a7) [0x2b9f729cd0a7]
 26: (_PyFunction_FastCallDict()+0x15a) [0x2b9f729d9c5a]
 27: (_PyObject_FastCallDict()+0x10e) [0x2b9f7292f6be]
 28: (_PyObject_Call_Prepend()+0x61) [0x2b9f7292f7d1]
 29: (PyObject_Call()+0x43) [0x2b9f7292f443]
 30: (()+0x1e3722) [0x2b9f72a6a722]
 31: (()+0x1e0bd4) [0x2b9f72a67bd4]
 32: (()+0x7e25) [0x2b9f72db6e25]
 33: (clone()+0x6d) [0x2b9f737d2bad]

Looks like something went wrong when validating the default value of "rbd_default_features"

core_backtrace (19 KB) Xuehan Xu, 02/06/2020 03:35 AM

History

#1 Updated by Xuehan Xu about 4 years ago

Sometimes the "ceph" command fails with a segmentation fault, here is the core_backtrace. It seems that it has something to do with boost::variant.

#2 Updated by Kefu Chai about 4 years ago

not reproducible in my testbed.

#3 Updated by Neha Ojha about 4 years ago

  • Status changed from New to Can't reproduce

Also available in: Atom PDF