Project

General

Profile

Actions

Bug #7141

closed

osd: segv in DBObjectMap::clear_keys_header()

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

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

0%

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

Description

     0> 2014-01-13 03:42:41.530361 7f8b3f2ef700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f8b3f2ef700

 ceph version 0.74-682-gdae248f (dae248f273b2ccd3255a34dcf4427e7ac930c661)
 1: ceph-osd() [0x8bdfba]
 2: (()+0xfcb0) [0x7f8b4925acb0]
 3: (std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)+0x64) [0x7f8b4805bad4]
 4: (std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, std::less<unsigned long>, std::allocator<unsigned long> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, unsigned long const&)+0x64) [0x6c2044]
 5: (std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, std::less<unsigned long>, std::allocator<unsigned long> >::_M_insert_unique(unsigned long const&)+0xa3) [0x6c2133]
 6: (DBObjectMap::_generate_new_header(ghobject_t const&, std::tr1::shared_ptr<DBObjectMap::_Header>)+0x1ea) [0x89338a]
 7: (DBObjectMap::clear_keys_header(ghobject_t const&, SequencerPosition const*)+0x629) [0x898aa9]
 8: (FileStore::_omap_clear(coll_t, ghobject_t const&, SequencerPosition const&)+0x1c8) [0x81e268]
 9: (FileStore::_do_transaction(ObjectStore::Transaction&, unsigned long, int, ThreadPool::TPHandle*)+0x1d5d) [0x8453bd]
 10: (FileStore::_do_transactions(std::list<ObjectStore::Transaction*, std::allocator<ObjectStore::Transaction*> >&, unsigned long, ThreadPool::TPHandle*)+0x74) [0x84b174]
 11: (FileStore::_do_op(FileStore::OpSequencer*, ThreadPool::TPHandle&)+0x291) [0x84b421]
 12: (ThreadPool::worker(ThreadPool::WorkThread*)+0x4e6) [0x9853e6]
 13: (ThreadPool::WorkThread::entry()+0x10) [0x9871f0]
 14: (()+0x7e9a) [0x7f8b49252e9a]
 15: (clone()+0x6d) [0x7f8b478133fd]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

ubuntu@teuthology:/a/teuthology-2014-01-12_23:00:25-rados-master-testing-basic-plana/36401
Actions #1

Updated by Sage Weil over 10 years ago

  • Description updated (diff)
Actions #2

Updated by Samuel Just over 10 years ago

It would help to be holding the lock when accessing that map. Testing fix now.

Actions #3

Updated by Samuel Just over 10 years ago

  • Status changed from New to Resolved

09ae4bc2aa2530ea0d20c7487a4e1c11cb7eb488

Actions

Also available in: Atom PDF