Project

General

Profile

Actions

Bug #36567

closed

Segmentation fault in BlueStore::Blob::discard_unallocated

Added by Stefan Priebe over 5 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hello,

i'm observing regular crashes / segmentation faults of bluestore OSDs in ceph 12.2.8.

Trace as follows:
0> 2018-10-23 13:29:16.438969 7fdc6b7ff700 -1 ** Caught signal (Segmentation fault) *
in thread 7fdc6b7ff700 thread_name:tp_osd_disk
ceph version 12.2.8-10-ga49f886acf (a49f886acf37d7254fc404807e4d26ffe16d3096) luminous (stable)
1: (()+0xa3b144) [0x564a52f0c144]
2: (()+0x110c0) [0x7fdc997510c0]
3: (pthread_mutex_lock()+0) [0x7fdc99749b20]
4: (BlueStore::Blob::discard_unallocated(BlueStore::Collection*)+0x349) [0x564a52da78b9]
5: (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*> >)+0x5d7) [0x564a52dd7ff7]
6: (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*> >)+0x2e2) [0x564a52df2802]
7: (BlueStore::_do_remove(BlueStore::TransContext
, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>)+0xc5) [0x564a52df3055]
8: (BlueStore::_remove(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&)+0x7b) [0x564a52df4b7b]
9: (BlueStore::_txc_add_transaction(BlueStore::TransContext*, ObjectStore::Transaction*)+0x1f55) [0x564a52e02475]
10: (BlueStore::queue_transactions(ObjectStore::Sequencer*, std::vector<ObjectStore::Transaction, std::allocator<ObjectStore::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x546) [0x564a52e03186]
11: (ObjectStore::queue_transaction(ObjectStore::Sequencer*, ObjectStore::Transaction&&, Context*, Context*, Context*, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x14f) [0x564a52994def]
12: (remove_dir(CephContext*, ObjectStore*, SnapMapper*, OSDriver*, ObjectStore::Sequencer*, coll_t, std::shared_ptr<DeletingState>, bool*, ThreadPool::TPHandle&)+0xbe0) [0x564a5291ec20]
13: (OSD::RemoveWQ::_process(std::pair<boost::intrusive_ptr<PG>, std::shared_ptr<DeletingState> >, ThreadPool::TPHandle&)+0x1cc) [0x564a5291f46c]
14: (ThreadPool::WorkQueueVal<std::pair<boost::intrusive_ptr<PG>, std::shared_ptr<DeletingState> >, std::pair<boost::intrusive_ptr<PG>, std::shared_ptr<DeletingState> > >::_void_process(void*, ThreadPool::TPHandle&)+0x122) [0x564a5298b562]
15: (ThreadPool::worker(ThreadPool::WorkThread*)+0xeb8) [0x564a52f5b1f8]
16: (ThreadPool::WorkThread::entry()+0x10) [0x564a52f5c390]
17: (()+0x7494) [0x7fdc99747494]
18: (clone()+0x3f) [0x7fdc987ceacf]


Related issues 1 (0 open1 closed)

Related to bluestore - Bug #36526: segv in BlueStore::OldExtent::createResolved10/18/2018

Actions
Actions

Also available in: Atom PDF