Project

General

Profile

Bug #578

assert triggered on radostool shutdown

Added by Colin McCabe almost 9 years ago. Updated almost 9 years ago.

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

0%

Spent time:
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

I hit this assert when radostool was exiting.

./common/Mutex.h:97: FAILED assert(nlock 0)
ceph version 0.24~rc (20affc650a517221fa8c07649f11e034f910861d)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x34) [0x7f95a7a1ac74]
2: (Mutex::~Mutex()+0x30) [0x419dd6]
3: (RadosClient::~RadosClient()+0x7b) [0x7f95a791de0b]
4: (librados::Rados::~Rados()+0x3e) [0x7f95a791ce32]
5: (main()+0x42f5) [0x41736d]
6: (_libc_start_main()+0xfd) [0x7f95a641cc4d]
7: /home/cmccabe/src/ceph/src/.libs/lt-rados() [0x40fd19]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
./common/Mutex.h: In function 'Mutex::~Mutex()':
./common/Mutex.h:97: FAILED assert(nlock 0)
ceph version 0.24~rc (20affc650a517221fa8c07649f11e034f910861d)
1: (ceph::
_ceph_assert_fail(char const*, char const*, int, char const*)+0x34) [0x7f95a7a1ac74]
2: (Mutex::~Mutex()+0x30) [0x419dd6]
3: (RadosClient::~RadosClient()+0x7b) [0x7f95a791de0b]
4: (librados::Rados::~Rados()+0x3e) [0x7f95a791ce32]
5: (main()+0x42f5) [0x41736d]
6: (__libc_start_main()+0xfd) [0x7f95a641cc4d]
7: /home/cmccabe/src/ceph/src/.libs/lt-rados() [0x40fd19]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'
  • Caught signal (ABRT) **
    ceph version 0.24~rc (20affc650a517221fa8c07649f11e034f910861d)
    1: (ceph::BackTrace::BackTrace(int)+0x2a) [0x7f95a7a1afac]
    2: (sigabrt_handler(int)+0x48) [0x7f95a7a3cfb4]
    3: (()+0x321e0) [0x7f95a64301e0]
    4: (gsignal()+0x35) [0x7f95a6430165]
    5: (abort()+0x180) [0x7f95a6432f70]
    6: (_gnu_cxx::_verbose_terminate_handler()+0x115) [0x7f95a6cc3dc5]
    7: (()+0xcb166) [0x7f95a6cc2166]
    8: (()+0xcb193) [0x7f95a6cc2193]
    9: (()+0xcb28e) [0x7f95a6cc228e]
    10: (ceph::__ceph_assert_fail(char const
    , char const*, int, char const*)+0x258) [0x7f95a7a1ae98]
    11: (Mutex::~Mutex()+0x30) [0x419dd6]
    12: (RadosClient::~RadosClient()+0x7b) [0x7f95a791de0b]
    13: (librados::Rados::~Rados()+0x3e) [0x7f95a791ce32]
    14: (main()+0x42f5) [0x41736d]
    15: (__libc_start_main()+0xfd) [0x7f95a641cc4d]
    16: /home/cmccabe/src/ceph/src/.libs/lt-rados() [0x40fd19]
    ./test/test_common.sh: line 96: 23801 Aborted (core dumped) ./rados -p data put obj$i $TEMPDIR/ver$v --debug_objecter 20 --debug-ms 1

History

#1 Updated by Colin McCabe almost 9 years ago

Fixed by 4af14db424e770c2f3e99dad6fd2b6f2059feacd

A mutex lifecycle issue.

#2 Updated by Colin McCabe almost 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF