Project

General

Profile

Actions

Bug #6599

closed

client: invalid iterator dereference in Client::trim_caps

Added by Zheng Yan over 10 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

#0 0x00000034bfc0eebb in raise () from /lib64/libpthread.so.0
#1 0x000000000067c2c9 in reraise_fatal (signum=6) at global/signal_handler.cc:59
#2 handle_fatal_signal (signum=6) at global/signal_handler.cc:105
#3 <signal handler called>
#4 0x00000034bf835965 in raise () from /lib64/libc.so.6
#5 0x00000034bf837118 in abort () from /lib64/libc.so.6
#6 0x00000034c6460bed in _gnu_cxx::_verbose_terminate_handler() () from /lib64/libstdc++.so.6
#7 0x00000034c645ecf6 in ?? () from /lib64/libstdc++.so.6
#8 0x00000034c645ed23 in std::terminate() () from /lib64/libstdc++.so.6
#9 0x00000034c645ef4e in _cxa_throw () from /lib64/libstdc++.so.6
#10 0x000000000073f44a in ceph::
_ceph_assert_fail (assertion=0x837d55 "cur->_list", file=<optimized out>, line=155,
func=0x83c3e0 "xlist<T>::iterator& xlist<T>::iterator::operator++() [with T = Cap*]") at common/assert.cc:77
#11 0x000000000060d90f in operator++ (this=<synthetic pointer>) at ./include/xlist.h:155
#12 Client::trim_caps (this=this@entry=0x1a28980, s=s@entry=0x1a2f5c0, max=408) at client/Client.cc:2969
#13 0x000000000060db11 in Client::handle_client_session (this=this@entry=0x1a28980, m=m@entry=0x7f90f4002120) at client/Client.cc:1600
#14 0x000000000061472b in Client::ms_dispatch (this=0x1a28980, m=0x7f90f4002120) at client/Client.cc:1846
#15 0x00000000008068ab in ms_deliver_dispatch (m=0x7f90f4002120, this=0x1a27af0) at msg/Messenger.h:587
#16 DispatchQueue::entry (this=0x1a27bd8) at msg/DispatchQueue.cc:123
#17 0x000000000072aaad in DispatchQueue::DispatchThread::entry (this=<optimized out>) at msg/DispatchQueue.h:104
#18 0x00000034bfc07d14 in start_thread () from /lib64/libpthread.so.0
#19 0x00000034bf8f199d in clone () from /lib64/libc.so.6

Actions #1

Updated by Ian Colle over 10 years ago

  • Assignee set to Zheng Yan
Actions #2

Updated by Greg Farnum over 10 years ago

Test suite passed on this branch; just some spurious valgrind stuff.

Actions #3

Updated by Sage Weil over 10 years ago

  • Status changed from 7 to Pending Backport
Actions #4

Updated by Sage Weil about 10 years ago

  • Status changed from Pending Backport to Resolved
Actions #5

Updated by Greg Farnum almost 8 years ago

  • Component(FS) Client added
Actions

Also available in: Atom PDF