Project

General

Profile

Actions

Bug #43147

closed

segv in LruOnodeCacheShard::_pin

Added by Sage Weil over 4 years ago. Updated about 1 year ago.

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

0%

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

Description

2019-12-04T23:38:51.153 INFO:tasks.ceph.osd.1.smithi012.stderr:*** Caught signal (Aborted) **
2019-12-04T23:38:51.153 INFO:tasks.ceph.osd.1.smithi012.stderr: in thread 7f71fb6e6700 thread_name:tp_osd_tp
2019-12-04T23:38:51.153 INFO:tasks.ceph.osd.1.smithi012.stderr:*** Caught signal (Segmentation fault) **
2019-12-04T23:38:51.153 INFO:tasks.ceph.osd.1.smithi012.stderr: in thread 7f71f4ed9700 thread_name:tp_osd_tp
2019-12-04T23:38:51.166 INFO:teuthology.orchestra.run.smithi012.stdout:ERROR: (22) Invalid argument
2019-12-04T23:38:51.169 INFO:teuthology.orchestra.run.smithi012.stderr:nodeep-scrub is unset
2019-12-04T23:38:51.176 INFO:tasks.ceph.osd.1.smithi012.stderr: ceph version 15.0.0-7988-g78cce6a (78cce6a95dd180e4f7be8d8930f478d1af138b12) octopus (dev)
2019-12-04T23:38:51.177 INFO:tasks.ceph.osd.1.smithi012.stderr: 1: (()+0x12890) [0x7f721e63a890]
2019-12-04T23:38:51.177 INFO:tasks.ceph.osd.1.smithi012.stderr: 2: (LruOnodeCacheShard::_pin(BlueStore::Onode&)+0x9a) [0x55c1b0e7704a]
2019-12-04T23:38:51.177 INFO:tasks.ceph.osd.1.smithi012.stderr: 3: (BlueStore::Onode::get()+0x56) [0x55c1b0e61a36]
2019-12-04T23:38:51.177 INFO:tasks.ceph.osd.1.smithi012.stderr: 4: (BlueStore::OnodeSpace::lookup(ghobject_t const&)+0x1d0) [0x55c1b0dcd2a0]
2019-12-04T23:38:51.177 INFO:tasks.ceph.osd.1.smithi012.stderr: 5: (BlueStore::Collection::get_onode(ghobject_t const&, bool, bool)+0xa1) [0x55c1b0ddc171]
2019-12-04T23:38:51.177 INFO:tasks.ceph.osd.1.smithi012.stderr: 6: (BlueStore::omap_get_values(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, ghobject_t const&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v14_2_0::list, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ceph::buffer::v14_2_0::list> > >*)+0xb0) [0x55c1b0e004e0]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 7: (MapCacher::MapCacher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v14_2_0::list>::get_keys(std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v14_2_0::list, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ceph::buffer::v14_2_0::list> > >*)+0x31e) [0x55c1b0b3f1de]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 8: (SnapMapper::get_snaps(hobject_t const&, SnapMapper::object_snaps*)+0xe7) [0x55c1b0b36187]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 9: (SnapMapper::update_snaps(hobject_t const&, std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> > const&, std::set<snapid_t, std::less<snapid_t>, std::allocator<snapid_t> > const*, MapCacher::Transaction<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v14_2_0::list>*)+0xbc) [0x55c1b0b3960c]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 10: (PG::update_snap_map(std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> > const&, ceph::os::Transaction&)+0x8e0) [0x55c1b09e6410]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 11: (non-virtual thunk to PrimaryLogPG::log_operation(std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> > const&, std::optional<pg_hit_set_history_t> const&, eversion_t const&, eversion_t const&, bool, ceph::os::Transaction&, bool)+0x1ea) [0x55c1b0ac88da]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 12: (ECBackend::handle_sub_write(pg_shard_t, boost::intrusive_ptr<OpRequest>, ECSubWrite&, ZTracer::Trace const&)+0x6d4) [0x55c1b0ca8424]
2019-12-04T23:38:51.178 INFO:tasks.ceph.osd.1.smithi012.stderr: 13: (ECBackend::try_reads_to_commit()+0x789) [0x55c1b0cb7409]
2019-12-04T23:38:51.179 INFO:tasks.ceph.osd.1.smithi012.stderr: 14: (ECBackend::check_ops()+0x1c) [0x55c1b0cba35c]
2019-12-04T23:38:51.179 INFO:tasks.ceph.osd.1.smithi012.stderr: 15: (ECBackend::start_rmw(ECBackend::Op*, std::unique_ptr<PGTransaction, std::default_delete<PGTransaction> >&&)+0x87b) [0x55c1b0cbb26b]
2019-12-04T23:38:51.179 INFO:tasks.ceph.osd.1.smithi012.stderr: 16: (ECBackend::submit_transaction(hobject_t const&, object_stat_sum_t const&, eversion_t const&, std::unique_ptr<PGTransaction, std::default_delete<PGTransaction> >&&, eversion_t const&, eversion_t const&, std::vector<pg_log_entry_t, std::allocator<pg_log_entry_t> > const&, std::optional<pg_hit_set_history_t>&, Context*, unsigned long, osd_reqid_t, boost::intrusive_ptr<OpRequest>)+0x30d) [0x55c1b0cbccbd]
2019-12-04T23:38:51.179 INFO:tasks.ceph.osd.1.smithi012.stderr: 17: (PrimaryLogPG::issue_repop(PrimaryLogPG::RepGather*, PrimaryLogPG::OpContext*)+0xd21) [0x55c1b0a576d1]
2019-12-04T23:38:51.179 INFO:tasks.ceph.osd.1.smithi012.stderr: 18: (PrimaryLogPG::simple_opc_submit(std::unique_ptr<PrimaryLogPG::OpContext, std::default_delete<PrimaryLogPG::OpContext> >)+0x84) [0x55c1b0a598c4]
2019-12-04T23:38:51.179 INFO:tasks.ceph.osd.1.smithi012.stderr: 19: (PrimaryLogPG::AwaitAsyncWork::react(PrimaryLogPG::DoSnapWork const&)+0x440) [0x55c1b0a910e0]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 20: (boost::statechart::simple_state<PrimaryLogPG::AwaitAsyncWork, PrimaryLogPG::Trimming, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*)+0x111) [0x55c1b0b0d481]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 21: (boost::statechart::state_machine<PrimaryLogPG::SnapTrimmer, PrimaryLogPG::NotTrimming, std::allocator<void>, boost::statechart::null_exception_translator>::process_event(boost::statechart::event_base const&)+0x6b) [0x55c1b0ae317b]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 22: (PrimaryLogPG::snap_trimmer(unsigned int)+0xec) [0x55c1b0a4ce3c]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 23: (ceph::osd::scheduler::PGSnapTrim::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x1b) [0x55c1b0b9f61b]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 24: (OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x90c) [0x55c1b0962b6c]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 25: (ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x4ac) [0x55c1b0f9dd4c]
2019-12-04T23:38:51.180 INFO:tasks.ceph.osd.1.smithi012.stderr: 26: (ShardedThreadPool::WorkThreadSharded::entry()+0x10) [0x55c1b0fa0fa0]
2019-12-04T23:38:51.181 INFO:tasks.ceph.osd.1.smithi012.stderr: 27: (()+0x76db) [0x7f721e62f6db]
2019-12-04T23:38:51.181 INFO:tasks.ceph.osd.1.smithi012.stderr: 28: (clone()+0x3f) [0x7f721d3cf88f]
2019-12-04T23:38:51.181 INFO:tasks.ceph.osd.1.smithi012.stderr:2019-12-04T23:38:51.169+0000 7f71f4ed9700 -1 *** Caught signal (Segmentation fault) **

/a/sage-2019-12-04_19:29:26-rados-wip-sage-testing-2019-12-04-0930-distro-basic-smithi/4566691

Related issues 3 (0 open3 closed)

Related to bluestore - Bug #43217: segv in BlueStore::OnodeSpace::map_anyDuplicate

Actions
Related to bluestore - Bug #43131: segfault in BlueStore::Collection::split_cache()Resolved

Actions
Copied to bluestore - Backport #46643: octopus: segv in LruOnodeCacheShard::_pinRejectedNeha OjhaActions
Actions

Also available in: Atom PDF