Project

General

Profile

Actions

Bug #8926

closed

osd: invalid Message* deref in C_SendMap

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

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

0%

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

Description

ubuntu@teuthology:/a/sage-osd-leaks-a/377521

<error>
<unique>0x2</unique>
<tid>41</tid>
<kind>InvalidRead</kind>
<what>Invalid read of size 8</what>
<stack>
<frame>
<ip>0x6A7C4F</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>C_SendMap::finish(ThreadPool::TPHandle&)</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/./msg</dir>
<file>msg_types.h</file>
<line>48</line>
</frame>
<frame>
<ip>0x671F88</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>GenContext<ThreadPool::TPHandle&>::complete(ThreadPool::TPHandle&)</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/./include</dir>
<file>Context.h</file>
<line>45</line>
</frame>
<frame>
<ip>0x6794CC</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>ThreadPool::WorkQueueVal<GenContext<ThreadPool::TPHandle&>*, GenContext<ThreadPool::TPHandle&>*>::_void_process(void*, ThreadPool::TPHandle&)</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/./common</dir>
<file>WorkQueue.h</file>
<line>191</line>
</frame>
<frame>
<ip>0xA7A155</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>ThreadPool::worker(ThreadPool::WorkThread*)</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/common</dir>
<file>WorkQueue.cc</file>
<line>128</line>
</frame>
...
<auxwhat>Address 0x2f28732d is 61 bytes inside a block of size 576 free'd</auxwhat>
<stack>
<frame>
<ip>0x4C2A4BC</ip>
<obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
<fn>operator delete(void*)</fn>
</frame>
<frame>
<ip>0x679B11</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>RefCountedObject::put()</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/./common</dir>
<file>RefCountedObj.h</file>
<line>48</line>
</frame>
<frame>
<ip>0x6C39E1</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>OpRequest::~OpRequest()</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/osd</dir>
<file>OpRequest.h</file>
<line>98</line>
</frame>
<frame>
<ip>0x6C9429</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>OpTracker::unregister_inflight_op(TrackedOp*)</fn>
<dir>/usr/include/c++/4.6/tr1</dir>
<file>shared_ptr.h</file>
<line>147</line>
</frame>
<frame>
<ip>0x6C962F</ip>
<obj>/usr/bin/ceph-osd</obj>
<fn>OpTracker::RemoveOnDelete::operator()(TrackedOp*)</fn>
<dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-712-g63c1711/src/common</dir>
<file>TrackedOp.cc</file>
<line>250</line>
</frame>
<frame>

Actions #1

Updated by Sage Weil over 9 years ago

  • Status changed from Fix Under Review to 7

wip-osd-leaks

Actions #2

Updated by Sage Weil over 9 years ago

  • Status changed from 7 to Fix Under Review
Actions #3

Updated by Sage Weil over 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF