Project

General

Profile

Actions

Bug #2957

closed

osd: crash in PG::gen_prefix()

Added by Sage Weil over 11 years ago. Updated over 11 years ago.

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

0%

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

Description


2012-08-16 14:46:42.286849 7f7c82d90700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f7c82d90700

 ceph version 0.50-103-gf083a15 (commit:f083a15621ff5688a07c8a19de2386831929b267)
 1: /tmp/cephtest/binary/usr/local/bin/ceph-osd() [0x72afa1]
 2: (()+0xfcb0) [0x7f7c94c10cb0]
 3: (std::_Rb_tree_increment(std::_Rb_tree_node_base*)+0x24) [0x7f7c93a029a4]
 4: (std::ostream& operator<< <snapid_t>(std::ostream&, interval_set<snapid_t> const&)+0x78) [0x5950d8]
 5: (operator<<(std::ostream&, PG const&)+0x382) [0x62c3a2]
 6: (PG::gen_prefix() const+0xbc) [0x62c6bc]
 7: /tmp/cephtest/binary/usr/local/bin/ceph-osd() [0x62cef5]
 8: (PG::_scan_list(ScrubMap&, std::vector<hobject_t, std::allocator<hobject_t> >&)+0x363) [0x650643]
 9: (PG::build_scrub_map(ScrubMap&)+0x18a) [0x6508ba]
 10: (PG::scrub()+0x4ba) [0x65148a]
 11: (OSD::ScrubWQ::_process(PG*)+0x14) [0x5f9954]
 12: (ThreadPool::worker()+0x523) [0x7e3533]
 13: (ThreadPool::WorkThread::entry()+0xd) [0x5f90fd]
 14: (()+0x7e9a) [0x7f7c94c08e9a]
 15: (clone()+0x6d) [0x7f7c931bd4bd]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

last time we saw one of these it was using dout() without the pg lock held.. and the dout prefix accesses stuff to print the prefix

ubuntu@teuthology:/a/sage-a3/2493$ zless remote/ubuntu@plana22.front.sepia.ceph.com/log/osd.1.log.gz

Actions #1

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF