Actions
Bug #17260
closedceph_test_rados_api_list assert() in lockdep_will_lock(const char*, int, bool)
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
[==========] Running 26 tests from 5 test cases. [----------] Global test environment set-up. [----------] 5 tests from LibRadosList /var/ceph/ceph/src/common/lockdep.cc: In function 'int lockdep_will_lock(const char*, int, bool)' thread 7fdaf97fa700 time 2016-09-12 13:51:52.083083 /var/ceph/ceph/src/common/lockdep.cc: 299: FAILED assert(0) ceph version Development (no_version) 1: (()+0x2f541a) [0x7fdb10a8441a] 2: (()+0x520a70) [0x7fdb10cafa70] 3: (()+0x4fd3c6) [0x7fdb10c8c3c6] 4: (()+0x55bac6) [0x7fdb10ceaac6] 5: (()+0x55e4d9) [0x7fdb10ced4d9] 6: (()+0x302882) [0x7fdb10a91882] 7: (()+0x2ffbd5) [0x7fdb10a8ebd5] 8: (()+0x642b7a) [0x7fdb10dd1b7a] 9: (()+0x641ad8) [0x7fdb10dd0ad8] 10: (()+0x3eddd4) [0x7fdb10b7cdd4] 11: (()+0x4e3863) [0x7fdb10c72863] 12: (()+0x4e3798) [0x7fdb10c72798] 13: (()+0x7464) [0x7fdb10579464] 14: (clone()+0x5f) [0x7fdb0d74297f] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. *** Caught signal (Aborted) ** in thread 7fdaf97fa700 thread_name:ms_dispatch ceph version Development (no_version) 1: (ceph::BackTrace::BackTrace(int)+0x2d) [0x55731181f0a1] 2: (()+0x591168) [0x55731181e168] 3: (()+0x11100) [0x7fdb10583100] 4: (gsignal()+0xcf) [0x7fdb0d68cfdf] 5: (abort()+0x16a) [0x7fdb0d68e40a] 6: (()+0x2f5695) [0x7fdb10a84695] 7: (()+0x520a70) [0x7fdb10cafa70] 8: (()+0x4fd3c6) [0x7fdb10c8c3c6] 9: (()+0x55bac6) [0x7fdb10ceaac6] 10: (()+0x55e4d9) [0x7fdb10ced4d9] 11: (()+0x302882) [0x7fdb10a91882] ...
Updated by Kefu Chai over 7 years ago
i tried to compile librados as a static library, and link ceph_test_rados_api_list against it. the problem disappears. otherwise, there are two copies of libcommon in the memory space of the executable. which violates the ODR of C++. guess that's why we have this problem in the cmake build.
Updated by Kefu Chai over 7 years ago
- Status changed from 12 to Fix Under Review
- Assignee set to Kefu Chai
Updated by Kefu Chai over 7 years ago
- Status changed from Fix Under Review to Resolved
Updated by Kefu Chai over 7 years ago
- Status changed from Resolved to In Progress
http://pulpito.ceph.com/kchai-2016-10-24_03:13:40-rados-wip-kefu-testing---basic-mira/492412/
2016-10-24T04:16:24.513 INFO:tasks.workunit.client.0.mira121.stdout: api_aio: [ RUN ] LibRadosAio.AioUnlockPP 2016-10-24T04:16:24.513 INFO:tasks.workunit.client.0.mira121.stderr:bash: line 1: 16163 Segmentation fault (core dumped) ceph_test_rados_api_aio 2>&1
there are more tests need to be linked against rados_a.
it was https://github.com/ceph/ceph/pull/10049 which failed the test
Updated by Kefu Chai over 7 years ago
- Status changed from In Progress to Resolved
Actions