Backport #19323
hammer: segfault in FileStore::fiemap()
Release:
hammer
Crash signature (v1):
Crash signature (v2):
Related issues
History
#1 Updated by Alexey Sheplyakov almost 7 years ago
- Status changed from New to In Progress
#2 Updated by Nathan Cutler almost 7 years ago
- Tracker changed from Bug to Backport
- Description updated (diff)
- Release set to hammer
description¶
The last' pointer is initialized by NULL and never gets assigned before dereferencing it inis_last = ...'. Introduced by
d1e1207 (an incomplete backport).
ceph version 0.94.10 (b1e0532418e4631af01acbc0cedd426f1905f4af) 1: /usr/bin/ceph-osd() [0xab8b8a] 2: (()+0x10330) [0x7f13fff64330] 3: (FileStore::fiemap(coll_t, ghobject_t const&, unsigned long, unsigned long, ceph::buffer::list&)+0x6d7) [0x903157] 4: (ReplicatedPG::do_osd_ops(ReplicatedPG::OpContext*, std::vector<OSDOp, std::allocator<OSDOp> >&)+0x2ee2) [0x87a3e2] 5: (ReplicatedPG::prepare_transaction(ReplicatedPG::OpContext*)+0x97) [0x88bdc7] 6: (ReplicatedPG::execute_ctx(ReplicatedPG::OpContext*)+0x5ba) [0x88c75a] 7: (ReplicatedPG::do_op(std::tr1::shared_ptr<OpRequest>&)+0x2d41) [0x890b21] 8: (ReplicatedPG::do_request(std::tr1::shared_ptr<OpRequest>&, ThreadPool::TPHandle&)+0x66a) [0x82bb8a] 9: (OSD::dequeue_op(boost::intrusive_ptr<PG>, std::tr1::shared_ptr<OpRequest>, ThreadPool::TPHandle&)+0x3bd) [0x69897d] 10: (OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x338) [0x698ea8] 11: (ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x875) [0xba35a5] 12: (ShardedThreadPool::WorkThreadSharded::entry()+0x10) [0xba56c0] 13: (()+0x8184) [0x7f13fff5c184] 14: (clone()+0x6d) [0x7f13fe4c4bed]
#3 Updated by Nathan Cutler almost 7 years ago
- Description updated (diff)
#4 Updated by Nathan Cutler almost 7 years ago
- Project changed from rgw to Ceph
#5 Updated by Nathan Cutler almost 7 years ago
- Related to Backport #17878: hammer: FileStore: fiemap cannot be totally retrieved in xfs when the number of extents > 1364 added
#6 Updated by Nathan Cutler over 6 years ago
- Status changed from In Progress to Rejected
Hammer is EOL.