Project

General

Profile

Actions

Bug #55903

closed

src/mds/MDLog.h: 247: FAILED ceph_assert(!segments.empty())

Added by Xiubo Li almost 2 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

From https://pulpito.ceph.com/jlayton-2022-06-06_19:24:37-fs-wip-vshankar-testing1-20220603-134300-distro-default-smithi/6864629/:

    -3> 2022-06-06T20:01:42.702+0000 7fa87eb66700 20 mds.3.bal handle_export_pins export_pin_queue size=0
    -2> 2022-06-06T20:01:42.702+0000 7fa87eb66700 10 mds.3.log trim_all: 0/0/0
    -1> 2022-06-06T20:01:42.702+0000 7fa87eb66700 -1 /build/ceph-17.0.0-12791-g44457532/src/mds/MDLog.h: In function 'uint64_t MDLog::get_last_segment_seq() const' thread 7fa87eb66700 time 2022-06-06T20:01:42.706060+0000
/build/ceph-17.0.0-12791-g44457532/src/mds/MDLog.h: 247: FAILED ceph_assert(!segments.empty())

 ceph version 17.0.0-12791-g44457532 (44457532553f59daa44f901930401f299f7ef2a5) quincy (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x14f) [0x7fa8866b9a4c]
 2: /usr/lib/ceph/libceph-common.so.2(+0x2b9c5e) [0x7fa8866b9c5e]
 3: (MDLog::trim_all()+0x9ad) [0x5608c6a6767d]
 4: (MDCache::shutdown_pass()+0x891) [0x5608c684fbc1]
 5: (MDSRankDispatcher::tick()+0x2c0) [0x5608c66e8120]
 6: (Context::complete(int)+0xd) [0x5608c66c880d]
 7: (CommonSafeTimer<ceph::fair_mutex>::timer_thread()+0x15d) [0x7fa8867cb74d]
 8: (CommonSafeTimerThread<ceph::fair_mutex>::entry()+0x11) [0x7fa8867ccc51]
 9: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7fa887097609]
 10: clone()

     0> 2022-06-06T20:01:42.706+0000 7fa87eb66700 -1 *** Caught signal (Aborted) **
 in thread 7fa87eb66700 thread_name:safe_timer

 ceph version 17.0.0-12791-g44457532 (44457532553f59daa44f901930401f299f7ef2a5) quincy (dev)
 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x143c0) [0x7fa8870a33c0]
 2: gsignal()
 3: abort()
 4: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x7fa8866b9ab4]
 5: /usr/lib/ceph/libceph-common.so.2(+0x2b9c5e) [0x7fa8866b9c5e]
 6: (MDLog::trim_all()+0x9ad) [0x5608c6a6767d]
 7: (MDCache::shutdown_pass()+0x891) [0x5608c684fbc1]
 8: (MDSRankDispatcher::tick()+0x2c0) [0x5608c66e8120]
 9: (Context::complete(int)+0xd) [0x5608c66c880d]
 10: (CommonSafeTimer<ceph::fair_mutex>::timer_thread()+0x15d) [0x7fa8867cb74d]
 11: (CommonSafeTimerThread<ceph::fair_mutex>::entry()+0x11) [0x7fa8867ccc51]
 12: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7fa887097609]
 13: clone()
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Actions #2

Updated by Venky Shankar almost 2 years ago

There is an issue in a PR that was being tested. See - https://github.com/ceph/ceph/pull/45143#discussion_r890770082

Actions #3

Updated by Xiubo Li almost 2 years ago

  • Description updated (diff)
Actions #4

Updated by Xiubo Li almost 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Xiubo Li

This is a bug from PR https://github.com/ceph/ceph/pull/45143, which is under testing, not merged yet.

Actions #5

Updated by Venky Shankar almost 2 years ago

  • Status changed from Resolved to Rejected
Actions

Also available in: Atom PDF