Project

General

Profile

Bug #24439

os/bluestore/BlueStore.cc: 1025: FAILED assert(buffer_bytes >= b->length) from ObjectStore/StoreTest.ColSplitTest2/2

Added by Sage Weil almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

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

Description

bin/ceph_test_objectstore --gtest_filter=*ColSplitTest2/2 --gtest_repeat=-1 --gtest_break_on_failure --gtest_catch_exceptions=0

reproduces after a few tens of tries
     0> 2018-06-06 17:00:20.612 7ff27edf89c0 -1 /home/sage/src/ceph5/src/os/bluestore/BlueStore.cc: In function 'virtual void BlueStore::TwoQCache::_rm_buffer(BlueStore::Buffer*)' thread 7ff27edf89c0 time 2018-06-06 17:00:20.607598
/home/sage/src/ceph5/src/os/bluestore/BlueStore.cc: 1025: FAILED assert(buffer_bytes >= b->length)

 ceph version 14.0.0-302-g43e7032418 (43e70324188e483c8c0e3cef479db8a2bf425dd3) nautilus (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x7ff274ad98e2]
 2: (()+0x299aa7) [0x7ff274ad9aa7]
 3: (BlueStore::TwoQCache::_rm_buffer(BlueStore::Buffer*)+0x22f) [0x5578839c956f]
 4: (BlueStore::BufferSpace::_rm_buffer(BlueStore::Cache*, std::_Rb_tree_iterator<std::pair<unsigned int const, std::unique_ptr<BlueStore::Buffer, std::default_delete<BlueStore::Buffer> > > >)+0x29) [0x557883a4cfe9]
 5: (BlueStore::BufferSpace::_discard(BlueStore::Cache*, unsigned int, unsigned int)+0x5a4) [0x5578839e9304]
 6: (BlueStore::Blob::discard_unallocated(BlueStore::Collection*)+0xec) [0x5578839e97fc]
 7: (BlueStore::_wctx_finish(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>, BlueStore::WriteContext*, std::set<BlueStore::SharedBlob*, std::less<BlueStore::SharedBlob*>, std::allocator<BlueStore::SharedBlob*> >*)+0x136) [0x557883a17116]
 8: (BlueStore::_do_truncate(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>, unsigned long, std::set<BlueStore::SharedBlob*, std::less<BlueStore::SharedBlob*>, std::allocator<BlueStore::SharedBlob*> >*)+0x13d) [0x557883a2811d]
 9: (BlueStore::_do_remove(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>)+0xc2) [0x557883a289e2]
 10: (BlueStore::_remove(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&)+0x60) [0x557883a2a200]
 11: (BlueStore::_txc_add_transaction(BlueStore::TransContext*, ObjectStore::Transaction*)+0x143d) [0x557883a3523d]
 12: (BlueStore::queue_transactions(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, std::vector<ObjectStore::Transaction, std::allocator<ObjectStore::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x5eb) [0x557883a36f8b]
 13: (ObjectStore::queue_transaction(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ObjectStore::Transaction&&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x82) [0x5578838e0e92]
 14: (int queue_transaction<ObjectStore*>(ObjectStore*&, boost::intrusive_ptr<ObjectStore::CollectionImpl>, ObjectStore::Transaction&&)+0xd0) [0x5578838e52d0]
 15: (colsplittest(ObjectStore*, unsigned int, unsigned int, bool)+0x17ae) [0x5578838bccfe]
 16: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x77) [0x557883b475e7]
 17: (testing::Test::Run()+0xba) [0x557883b3c38a]
 18: (testing::TestInfo::Run()+0xaf) [0x557883b3c46f]

Mark bisected this down to abd58ad


Related issues

Duplicated by bluestore - Bug #26902: ObjectStore/StoreTest.ColSplitTest1Clones/2 failure Duplicate 08/12/2018
Copied to bluestore - Backport #26943: luminous: os/bluestore/BlueStore.cc: 1025: FAILED assert(buffer_bytes >= b->length) from ObjectStore/StoreTest.ColSplitTest2/2 Resolved
Copied to bluestore - Backport #26944: mimic: os/bluestore/BlueStore.cc: 1025: FAILED assert(buffer_bytes >= b->length) from ObjectStore/StoreTest.ColSplitTest2/2 Resolved

History

#1 Updated by Sage Weil over 5 years ago

  • Duplicated by Bug #26902: ObjectStore/StoreTest.ColSplitTest1Clones/2 failure added

#2 Updated by Sage Weil over 5 years ago

  • Status changed from 12 to Fix Under Review
  • Backport set to mimic,luminous

#3 Updated by Sage Weil over 5 years ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #26943: luminous: os/bluestore/BlueStore.cc: 1025: FAILED assert(buffer_bytes >= b->length) from ObjectStore/StoreTest.ColSplitTest2/2 added

#5 Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #26944: mimic: os/bluestore/BlueStore.cc: 1025: FAILED assert(buffer_bytes >= b->length) from ObjectStore/StoreTest.ColSplitTest2/2 added

#6 Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF