Project

General

Profile

Bug #34

mds: nonempty cap xlist on snaprealm during trim

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/14/2010
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:

Description

./include/xlist.h: In function 'xlist<T>::~xlist() [with T = Capability*]':
./include/xlist.h:63: FAILED assert(size == 0)
1: (xlist<Capability*>::~xlist()+0x30) [0x7408f8]
2: (std::pair<client_t const, xlist<Capability*> >::~pair()+0x19) [0x811dcb]
3: (
_gnu_cxx::new_allocator<std::pair<client_t const, xlist<Capability*> > >::destroy(std::pair<client_t const, xlist<Capability*> >)+0x19) [0x811de7]
4: (std::_Rb_tree<client_t, std::pair<client_t const, xlist<Capability
> >, std::_Select1st<std::pair<client_t const, xlist<Capability*> > >, std::less<client_t>, std::allocator<std::pair<client_t const, xlist<Capability*> > > >::_M_destroy_node(std::_Rb_tree_node<std::pair<client_t const, xlist<Capability*> > >)+0x32) [0x811e1c]
5: (std::_Rb_tree<client_t, std::pair<client_t const, xlist<Capability
> >, std::_Select1st<std::pair<client_t const, xlist<Capability*> > >, std::less<client_t>, std::allocator<std::pair<client_t const, xlist<Capability*> > > >::_M_erase(std::_Rb_tree_node<std::pair<client_t const, xlist<Capability*> > >)+0x41) [0x811e9b]
6: (std::_Rb_tree<client_t, std::pair<client_t const, xlist<Capability
> >, std::_Select1st<std::pair<client_t const, xlist<Capability*> > >, std::less<client_t>, std::allocator<std::pair<client_t const, xlist<Capability*> > > >::~_Rb_tree()+0x22) [0x811ece]
7: (std::map<client_t, xlist<Capability*>, std::less<client_t>, std::allocator<std::pair<client_t const, xlist<Capability*> > > >::~map()+0x15) [0x811f23]
8: (SnapRealm::~SnapRealm()+0x1d) [0x82ec35]
9: (CInode::close_snaprealm(bool)+0x143) [0x8aa689]
10: (CInode::~CInode()+0x57) [0x8ba1d1]
11: (MDCache::remove_inode(CInode*)+0x202) [0x7c4210]
12: (MDCache::trim_inode(CDentry*, CInode*, CDir*, std::map<int, MCacheExpire*, std::less<int>, std::allocator<std::pair<int const, MCacheExpire*> > >&)+0x52f) [0x7cf161]
13: (MDCache::trim_dentry(CDentry*, std::map<int, MCacheExpire*, std::less<int>, std::allocator<std::pair<int const, MCacheExpire*> > >&)+0x4ce) [0x7cfe1a]
14: (MDCache::trim(int)+0x12d) [0x7d0013]
15: (MDS::tick()+0x256) [0x721182]
16: (MDS::C_MDS_Tick::finish(int)+0x2f) [0x7516f7]
17: (SafeTimer::EventWrapper::finish(int)+0x6d) [0x97b19b]
18: (Timer::timer_entry()+0x454) [0x97c3f6]
19: (Timer::TimerThread::entry()+0x19) [0x702003]
20: (Thread::_entry_func(void*)+0x20) [0x71411e]
21: /lib/libpthread.so.0 [0x7f759ff0573a]
22: (clone()+0x6d) [0x7f759f12f69d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

version commit:fa9588ab

History

#1 Updated by Sage Weil over 9 years ago

  • Category set to 1

#2 Updated by Sage Weil over 9 years ago

  • Status changed from New to Resolved

should be fixed by commit:96befd4a5ad568fe34faab0c56edbd3a4a92a6c3

#3 Updated by Sage Weil over 9 years ago

  • Status changed from Resolved to Closed

#4 Updated by John Spray almost 3 years ago

  • Project changed from Ceph to fs
  • Category deleted (1)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Also available in: Atom PDF