Project

General

Profile

Bug #8465

osd/OSD.cc: 4768: FAILED assert(osd->is_active())

Added by Sage Weil almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2014-05-28_02:30:04-rados-next-testing-basic-plana/278237

 -1165> 2014-05-29 01:16:17.938700 1e745700 -1 osd/OSD.cc: In function 'void OSDService::share_map(entity_name_t, Connection*, epoch_t, OSDMapRef&, epoch_t*)' thread 1e745700 time 2014-05-29 01:16:17.696554
osd/OSD.cc: 4768: FAILED assert(osd->is_active())

 ceph version 0.80-447-g2f023b5 (2f023b5d8aef86e9312b4ee8493f25319b8cc769)
 1: (OSDService::share_map(entity_name_t, Connection*, unsigned int, std::tr1::shared_ptr<OSDMap const>&, unsigned int*)+0x5c3) [0x646523]
 2: (OSD::dequeue_op(boost::intrusive_ptr<PG>, std::tr1::shared_ptr<OpRequest>, ThreadPool::TPHandle&)+0x36f) [0x64690f]
 3: (OSD::OpWQ::_process(boost::intrusive_ptr<PG>, ThreadPool::TPHandle&)+0x628) [0x647218]
 4: (ThreadPool::WorkQueueVal<std::pair<boost::intrusive_ptr<PG>, std::tr1::shared_ptr<OpRequest> >, boost::intrusive_ptr<PG> >::_void_process(void*, ThreadPool::TPHandle&)+0x9c) [0x67795c]
 5: (ThreadPool::worker(ThreadPool::WorkThread*)+0x4e6) [0xa631b6]
 6: (ThreadPool::WorkThread::entry()+0x10) [0xa64fc0]
 7: (()+0x7e9a) [0x503be9a]
 8: (clone()+0x6d) [0x690e3fd]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Associated revisions

Revision f1b890ec (diff)
Added by Sage Weil almost 10 years ago

osd: fix bad is_active() assert in share_map()

We may be is_stopping() here if we are racing with shutdown().

Fixes: #8465
Backport: firefly, dumpling
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil almost 10 years ago

  • Status changed from In Progress to Fix Under Review

#2 Updated by Sage Weil almost 10 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Sage Weil almost 10 years ago

  • Status changed from Pending Backport to Resolved

this was introduced with the fast dispatch stuff, which isn't (and won't be) backported

Also available in: Atom PDF