Project

General

Profile

Actions

Bug #38281

closed

mgr segv in ActivePyModule::handle_command -> PyObject_CallMethod ...

Added by Sage Weil about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Urgent
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

2019-02-12 20:04:10.637 7f18f02c3700  4 mgr get_config get_config key: mgr/selftest/rwoption3
2019-02-12 20:04:10.637 7f18f02c3700 10 mgr get_typed_config get_typed_config rwoption3 found: 1.500000
2019-02-12 20:04:10.637 7f18f02c3700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f18f02c3700 thread_name:mgr-fin

 ceph version 14.0.1-3622-g19b9e86 (19b9e86fd4acaddb1c36d7a7982727bb7e756959) nautilus (dev)
 1: (()+0x12890) [0x7f1907224890]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

/a/sage-2019-02-12_18:52:20-rados-wip-sage-testing-2019-02-12-0933-distro-basic-smithi/3580654
(gdb) bt
#0  raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x000055ecac408933 in reraise_fatal (signum=11) at ./src/global/signal_handler.cc:81
#2  handle_fatal_signal (signum=11) at ./src/global/signal_handler.cc:298
#3  <signal handler called>
#4  0x0000000000000000 in ?? ()
#5  0x00007f190774fc23 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#6  0x00007f1907750d1b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#7  0x00007f1907880278 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#8  0x00007f190774ddb6 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#9  0x00007f1907750d1b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#10 0x00007f1907750d1b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#11 0x00007f1907750d1b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007f1907880278 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007f19078055f9 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007f19076f5333 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007f190784cd1c in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007f19076f5333 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007f1907819c78 in PyObject_CallMethod () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#18 0x000055ecac256e77 in ActivePyModule::handle_command (this=0x55ecb07143c0, cmdmap=std::map with 2 elements = {...}, inbuf=..., ds=ds@entry=0x7f18f02c0920, ss=ss@entry=0x7f18f02c0790) at ./src/mgr/ActivePyModule.cc:195
#19 0x000055ecac25a4fc in ActivePyModules::handle_command (this=<optimized out>, module_name="selftest", cmdmap=std::map with 2 elements = {...}, inbuf=..., ds=ds@entry=0x7f18f02c0920, ss=ss@entry=0x7f18f02c0790) at ./src/mgr/ActivePyModules.cc:903
#20 0x000055ecac3000b1 in PyModuleRegistry::handle_command (this=<optimized out>, module_name="selftest", cmdmap=..., inbuf=..., ds=ds@entry=0x7f18f02c0920, ss=ss@entry=0x7f18f02c0790) at ./src/mgr/PyModuleRegistry.cc:295
#21 0x000055ecac2a4cc0 in DaemonServer::<lambda(int)>::operator()(int) const (__closure=0x55ecb2ddfa80, r_=<optimized out>) at ./src/mgr/DaemonServer.cc:2128
#22 0x000055ecac268a7c in boost::function1<void, int>::operator() (a0=<optimized out>, this=<optimized out>) at ./obj-x86_64-linux-gnu/boost/include/boost/function/function_template.hpp:768
#23 FunctionContext::finish (this=<optimized out>, r=<optimized out>) at ./src/include/Context.h:487
#24 0x000055ecac2653a9 in Context::complete (this=0x55ecb2fdf740, r=<optimized out>) at ./src/include/Context.h:77
#25 0x00007f1907eb553e in Finisher::finisher_thread_entry() () from /usr/lib/ceph/libceph-common.so.1
#26 0x00007f19072196db in start_thread (arg=0x7f18f02c3700) at pthread_create.c:463
#27 0x00007f19063fa88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) f 18
#18 0x000055ecac256e77 in ActivePyModule::handle_command (this=0x55ecb07143c0, cmdmap=std::map with 2 elements = {...}, inbuf=..., ds=ds@entry=0x7f18f02c0920, ss=ss@entry=0x7f18f02c0790) at ./src/mgr/ActivePyModule.cc:195
195     ./src/mgr/ActivePyModule.cc: No such file or directory.
(gdb) p cmdmap
$1 = std::map with 2 elements = {["prefix"] = {which_ = 0, storage_ = {<boost::detail::aligned_storage::aligned_storage_imp<32, 8>> = {data_ = {buf = "@\211\001��U\000\000\021\000\000\000\000\000\000\000\036\000\000\000\000\000\000\000�(�U\000", align_ = {<No data fields>}}}, static size = <optimized out>, 
      static alignment = <optimized out>}}, ["target"] = {which_ = 4, storage_ = {<boost::detail::aligned_storage::aligned_storage_imp<32, 8>> = {data_ = {buf = "\000\016���U\000\000@\016���U\000\000@\016���U\000\000�\r�U\000", align_ = {<No data fields>}}}, static size = <optimized out>, 
      static alignment = <optimized out>}}}

Related issues 1 (0 open1 closed)

Has duplicate mgr - Bug #38133: segmentation faultDuplicate01/31/2019

Actions
Actions #1

Updated by Sage Weil about 5 years ago

  • Project changed from RADOS to mgr
Actions #2

Updated by Sage Weil about 5 years ago

  • Status changed from 12 to Resolved
Actions #3

Updated by Sebastian Wagner about 5 years ago

  • Has duplicate Bug #38133: segmentation fault added
Actions

Also available in: Atom PDF