Project

General

Profile

Actions

Bug #19984

closed

/build/ceph-12.0.2/src/os/bluestore/KernelDevice.cc: 364: FAILED assert(r >= 0)

Added by xw zhang almost 7 years ago. Updated over 6 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

version:11.2.0
bluestore+ec+iscsi

client writing files...

0> 2017-04-17 15:35:11.177901 7f1b346da700 -1 /home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/11.2.0/rpm/el7/BUILD/ceph-11.2.0/src/os/bluestore/BlueStore.cc: In function 'void BlueStore::_do_write_small(BlueStore::TransContext*, BlueStore::CollectionRef&, BlueStore::OnodeRef, uint64_t, uint64_t, ceph::buffer::list::iterator&, BlueStore::WriteContext*)' thread 7f1b346da700 time 2017-04-17 15:35:11.173383
/home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/11.2.0/rpm/el7/BUILD/ceph-11.2.0/src/os/bluestore/BlueStore.cc: 7640: FAILED assert(r >= 0 && r <= (int)tail_read)

ceph version 11.2.0 (f223e27eeb35991352ebc1f67423d4ebc252adb7)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x85) [0x7f1b56dacb35]
2: (BlueStore::_do_write_small(BlueStore::TransContext*, boost::intrusive_ptr&lt;BlueStore::Collection&gt;&, boost::intrusive_ptr&lt;BlueStore::Onode&gt;, unsigned long, unsigned long, ceph::buffer::list::iterator&, BlueStore::WriteContext*)+0x269e) [0x7f1b56b17c1e]
3: (BlueStore::_do_write_data(BlueStore::TransContext*, boost::intrusive_ptr&lt;BlueStore::Collection&gt;&, boost::intrusive_ptr&lt;BlueStore::Onode&gt;, unsigned long, unsigned long, ceph::buffer::list&, BlueStore::WriteContext*)+0x22a) [0x7f1b56b17f1a]
4: (BlueStore::_do_write(BlueStore::TransContext*, boost::intrusive_ptr&lt;BlueStore::Collection&gt;&, boost::intrusive_ptr&lt;BlueStore::Onode&gt;, unsigned long, unsigned long, ceph::buffer::list&, unsigned int)+0x70d) [0x7f1b56b3319d]
5: (BlueStore::_write(BlueStore::TransContext*, boost::intrusive_ptr&lt;BlueStore::Collection&gt;&, boost::intrusive_ptr&lt;BlueStore::Onode&gt;&, unsigned long, unsigned long, ceph::buffer::list&, unsigned int)+0x10f) [0x7f1b56b33f5f]
6: (BlueStore::_txc_add_transaction(BlueStore::TransContext*, ObjectStore::Transaction*)+0x1cff) [0x7f1b56b37b9f]
7: (BlueStore::queue_transactions(ObjectStore::Sequencer*, std::vector&lt;ObjectStore::Transaction, std::allocator&lt;ObjectStore::Transaction&gt; >&, std::shared_ptr&lt;TrackedOp&gt;, ThreadPool::TPHandle*)+0x3f9) [0x7f1b56b38629]
8: (PrimaryLogPG::queue_transactions(std::vector&lt;ObjectStore::Transaction, std::allocator&lt;ObjectStore::Transaction&gt; >&, std::shared_ptr&lt;OpRequest&gt;)+0x8c) [0x7f1b568e8ccc]
9: (ReplicatedBackend::sub_op_modify(std::shared_ptr&lt;OpRequest&gt;)+0xb61) [0x7f1b569c67a1]
10: (ReplicatedBackend::handle_message(std::shared_ptr&lt;OpRequest&gt;)+0x3e3) [0x7f1b569c7133]
11: (PrimaryLogPG::do_request(std::shared_ptr&lt;OpRequest&gt;&, ThreadPool::TPHandle&)+0x100) [0x7f1b568886d0]
12: (OSD::dequeue_op(boost::intrusive_ptr&lt;PG&gt;, std::shared_ptr&lt;OpRequest&gt;, ThreadPool::TPHandle&)+0x41d) [0x7f1b5673100d]
13: (PGQueueable::RunVis::operator()(std::shared_ptr&lt;OpRequest&gt; const&)+0x6d) [0x7f1b5673125d]
14: (OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x7e2) [0x7f1b56758632]
15: (ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x947) [0x7f1b56db27a7]
16: (ShardedThreadPool::WorkThreadSharded::entry()+0x10) [0x7f1b56db4900]
17: (()+0x7dc5) [0x7f1b53d2cdc5]
18: (clone()+0x6d) [0x7f1b52c1328d]
NOTE: a copy of the executable, or `objdump -rdS &lt;executable&gt;` is needed to interpret this.
Actions #1

Updated by Sage Weil almost 7 years ago

  • Status changed from New to Need More Info

Do you have the logs preceding this assertion?

Can you reproduce on more recent code?

Actions #2

Updated by Sage Weil over 6 years ago

  • Project changed from Ceph to bluestore
Actions #3

Updated by Sage Weil over 6 years ago

  • Status changed from Need More Info to Can't reproduce
Actions

Also available in: Atom PDF