Project

General

Profile

Bug #50814

mds cpu_profiler asok_command crashes

Added by shi liu 30 days ago. Updated 23 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Enable PROFILER

# ./do_cmake.sh -DWITH_PROFILER=ON

Query the profiler status.

# ceph tell mds.a cpu_profiler status
Hang up...

MDS log:

ceph version 17.0.0-4203-gdac7e2be74 (dac7e2be74d8b7b2cd6acf26e460ea92350de7ef) quincy (dev)
 1: /ceph/build/bin/ceph-mds(+0x121dba6) [0x55fa82ea8ba6]
 2: /lib64/libpthread.so.0(+0x12b20) [0x7fe684831b20]
 3: gsignal()
 4: abort()
 5: /ceph/build/bin/ceph-mds(+0xb82323) [0x55fa8280d323]
 6: (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> > > >::operator[](unsigned long) const+0x4f) [0x55fa828898d7]
 7: (cpu_profiler_handle_command(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> > > > const&, std::ostream&)+0x3c) [0x55fa82ead3d6]
 8: (MDSDaemon::asok_command(std::basic_string_view<char, std::char_traits<char> >, 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&, ceph::Formatter*, ceph::buffer::v15_2_0::list const&, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ceph::buffer::v15_2_0::list&)>)+0x679) [0x55fa8282a51f]
...

Related issues

Copied to Ceph - Backport #50915: pacific: mds cpu_profiler asok_command crashes New
Copied to Ceph - Backport #50916: octopus: mds cpu_profiler asok_command crashes In Progress

History

#1 Updated by Patrick Donnelly 29 days ago

  • Status changed from New to Fix Under Review
  • Assignee set to shi liu
  • Target version set to v17.0.0
  • Source set to Community (dev)
  • Backport set to pacific,octopus
  • Pull request ID set to 41338

#2 Updated by Patrick Donnelly 23 days ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot 23 days ago

  • Copied to Backport #50915: pacific: mds cpu_profiler asok_command crashes added

#4 Updated by Backport Bot 23 days ago

  • Copied to Backport #50916: octopus: mds cpu_profiler asok_command crashes added

Also available in: Atom PDF