Project

General

Profile

Actions

Bug #13384

closed

rbd-replay-prep stack overflow while converting 'rbd bench-write' trace

Added by Jason Dillaman over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

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

Description

Appears to be a chain of "rbd_replay::AioWriteIO" objects, resulting in a long chain of shared pointer destructors being invoked (1,572,101 frames deep).

#1572071 rbd_replay::AioWriteIO::~AioWriteIO (this=0x55555c8c4f10, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:266
#1572072 0x0000555555579005 in release (this=0x55555c8c4ef0) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#1572073 ~shared_count (this=0x55555c8c50a0, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:443
#1572074 ~shared_ptr (this=0x55555c8c5098, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:323
#1572075 ~IO (this=0x55555c8c5020, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:85
#1572076 ~AioWriteIO (this=0x55555c8c5020, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:266
#1572077 rbd_replay::AioWriteIO::~AioWriteIO (this=0x55555c8c5020, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:266
#1572078 0x0000555555579155 in release (this=0x55555c8c5000) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#1572079 ~shared_count (this=0x55555c8c5c80, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:443
#1572080 ~shared_ptr (this=0x55555c8c5c78, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:323
#1572081 ~IO (this=0x55555c8c5c00, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:85
#1572082 ~CloseImageIO (this=0x55555c8c5c00, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:323
#1572083 rbd_replay::CloseImageIO::~CloseImageIO (this=0x55555c8c5c00, __in_chrg=<optimized out>) at rbd_replay/ios.hpp:323
#1572084 0x0000555555564a31 in release (this=0x55555c8c5be0) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#1572085 ~shared_count (this=0x55555589cc18, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:443
#1572086 ~shared_ptr (this=0x55555589cc10, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:323
#1572087 ~Thread (this=0x55555589cc00, __in_chrg=<optimized out>) at rbd_replay/rbd-replay-prep.cc:37
#1572088 checked_delete<Thread> (x=0x55555589cc00) at /usr/include/boost/core/checked_delete.hpp:34
#1572089 boost::detail::sp_counted_impl_p<Thread>::dispose (this=<optimized out>)
    at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
#1572090 0x0000555555565b80 in release (this=0x5555558be8b0) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#1572091 ~shared_count (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:443
#1572092 ~shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:323
#1572093 ~pair (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/5.1.1/bits/stl_pair.h:96
#1572094 destroy<std::pair<unsigned long const, boost::shared_ptr<Thread> > > (this=<optimized out>, __p=<optimized out>)
    at /usr/include/c++/5.1.1/ext/new_allocator.h:124
#1572095 _S_destroy<std::pair<unsigned long const, boost::shared_ptr<Thread> > > (__p=<optimized out>, __a=...)
    at /usr/include/c++/5.1.1/bits/alloc_traits.h:285
#1572096 destroy<std::pair<unsigned long const, boost::shared_ptr<Thread> > > (__a=..., __p=<optimized out>)
    at /usr/include/c++/5.1.1/bits/alloc_traits.h:414
#1572097 _M_destroy_node (this=0x7fffffffe0c8, __p=0x55555589cbc0) at /usr/include/c++/5.1.1/bits/stl_tree.h:553
#1572098 _M_drop_node (__p=0x55555589cbc0, this=0x7fffffffe0c8) at /usr/include/c++/5.1.1/bits/stl_tree.h:561
#1572099 std::_Rb_tree<unsigned long, std::pair<unsigned long const, boost::shared_ptr<Thread> >, std::_Select1st<std::pair<unsigned long const, boost::shared_ptr<Thread> > >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, boost::shared_ptr<Thread> > > >::_M_erase (this=0x7fffffffe0c8, __x=0x55555589cbc0) at /usr/include/c++/5.1.1/bits/stl_tree.h:1614
#1572100 0x0000555555565b5c in std::_Rb_tree<unsigned long, std::pair<unsigned long const, boost::shared_ptr<Thread> >, std::_Select1st<std::pair<unsigned long const, boost::shared_ptr<Thread> > >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, boost::shared_ptr<Thread> > > >::_M_erase (this=0x7fffffffe0c8, __x=0x555555b02700) at /usr/include/c++/5.1.1/bits/stl_tree.h:1612
#1572101 0x0000555555563ee6 in main (argc=<optimized out>, argv=<optimized out>) at rbd_replay/rbd-replay-prep.cc:554
Actions #1

Updated by Jason Dillaman over 8 years ago

Actions #2

Updated by Jason Dillaman over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Jason Dillaman over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF