Project

General

Profile

Actions

Bug #24148

closed

Segmentation fault out of ObcLockManager::get_lock_type()

Added by David Zafman almost 6 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
-
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

teuthology:/a/dzafman-2018-05-16_09:57:45-rados:thrash-wip-zafman-testing-distro-basic-smithi/2539708

remote/smithi109/log/ceph-osd.3.log.gz
remote/smithi109/coredump/1526492585.37549.core

2018-05-16 17:43:05.227 7f0bbda89700 10 osd.3 pg_epoch: 551 pg[3.3( v 551'2734 (429'2331,551'2734] local-lis/les=550/551 n=49 ec=20/20 lis/c 550/503 les/c/f 551/504/0 549/550/549) [3,6,7]/[3,6,0] backfill=[7] r=0 lpr=550 pi=[503,550)/1 luod=551'2733 rops=1 bft=7 crt=551'2734 lcod 551'2732 mlcod 551'2732 active+remapped+backfilling mbc={} trimq=[1e4~1,1e8~1] ps=[1e5~2,1ea~1]] finish_flush 3:c4f32083:::smithi10915899-76:head tid 208 (0) Success
2018-05-16 17:43:05.227 7f0bbda89700 10 osd.3 pg_epoch: 551 pg[3.3( v 551'2734 (429'2331,551'2734] local-lis/les=550/551 n=49 ec=20/20 lis/c 550/503 les/c/f 551/504/0 549/550/549) [3,6,7]/[3,6,0] backfill=[7] r=0 lpr=550 pi=[503,550)/1 luod=551'2733 rops=1 bft=7 crt=551'2734 lcod 551'2732 mlcod 551'2732 active+remapped+backfilling mbc={} trimq=[1e4~1,1e8~1] ps=[1e5~2,1ea~1]] try_flush_mark_clean clearing DIRTY flag for 3:c4f32083:::smithi10915899-76:head
2018-05-16 17:43:05.227 7f0bbda89700 20 osd.3 pg_epoch: 551 pg[3.3( v 551'2734 (429'2331,551'2734] local-lis/les=550/551 n=49 ec=20/20 lis/c 550/503 les/c/f 551/504/0 549/550/549) [3,6,7]/[3,6,0] backfill=[7] r=0 lpr=550 pi=[503,550)/1 luod=551'2733 rops=1 bft=7 crt=551'2734 lcod 551'2732 mlcod 551'2732 active+remapped+backfilling mbc={} trimq=[1e4~1,1e8~1] ps=[1e5~2,1ea~1]] simple_opc_create 3:c4f32083:::smithi10915899-76:head
2018-05-16 17:43:05.227 7f0bbda89700 10 osd.3 pg_epoch: 551 pg[3.3( v 551'2734 (429'2331,551'2734] local-lis/les=550/551 n=49 ec=20/20 lis/c 550/503 les/c/f 551/504/0 549/550/549) [3,6,7]/[3,6,0] backfill=[7] r=0 lpr=550 pi=[503,550)/1 luod=551'2733 rops=1 bft=7 crt=551'2734 lcod 551'2732 mlcod 551'2732 active+remapped+backfilling mbc={} trimq=[1e4~1,1e8~1] ps=[1e5~2,1ea~1]] try_flush_mark_clean waiting on write lock 0x55e36aba0d80 0x55e37e22f180
2018-05-16 17:43:05.227 7f0bbda89700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f0bbda89700 thread_name:finisher

 ceph version 13.1.0-391-g6611561 (6611561fde26a1b12e5b3bcbb25150ec19b386cc) nautilus (dev)
 1: (()+0x913830) [0x55e362140830]
 2: (()+0x11390) [0x7f0bd98c1390]
 3: (std::_Rb_tree<hobject_t, std::pair<hobject_t const, ObcLockManager::ObjectLockState>, std::_Select1st<std::pair<hobject_t const, ObcLockManager::ObjectLockState> >, std::less<hobject_t>, std::allocator<std::pair<hobject_t const, ObcLockManager::ObjectLockState> > >::find(hobject_t const&)+0x14) [0x55e361da8104]
 4: (ObcLockManager::get_lock_type(ObjectContext::RWState::State, hobject_t const&, std::shared_ptr<ObjectContext>&, boost::intrusive_ptr<OpRequest>&)+0x3d) [0x55e361da832d]
 5: (PrimaryLogPG::try_flush_mark_clean(std::shared_ptr<PrimaryLogPG::FlushOp>)+0x702) [0x55e361d62032]
 6: (PrimaryLogPG::finish_flush(hobject_t, unsigned long, int)+0x30d) [0x55e361d62f5d]
 7: (C_Flush::finish(int)+0xb9) [0x55e361dd4e59]
 8: (Context::complete(int)+0x9) [0x55e361c1e049]
 9: (Finisher::finisher_thread_entry()+0x12e) [0x7f0bdae09ebe]
 10: (()+0x76ba) [0x7f0bd98b76ba]
 11: (clone()+0x6d) [0x7f0bd90e041d]

Related issues 1 (0 open1 closed)

Related to RADOS - Bug #24174: PrimaryLogPG::try_flush_mark_clean mixplaced ctx releaseResolved05/18/2018

Actions
Actions #1

Updated by David Zafman almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by David Zafman almost 6 years ago

The pg 3.3 involved here was never scrubbed, so unrelated to my changes.

Actions #3

Updated by Greg Farnum over 4 years ago

  • Related to Bug #24174: PrimaryLogPG::try_flush_mark_clean mixplaced ctx release added
Actions #4

Updated by Greg Farnum over 4 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF