Actions
Bug #65098
open
KC
detect_odr_violation of ceph::buffer::list::always_empty_bptr
Bug #65098:
detect_odr_violation of ceph::buffer::list::always_empty_bptr
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Description
after building the tree with ASan enabled, when running rbd, we have
=================================================================
==117994==ERROR: AddressSanitizer: odr-violation (0x7fc152daf880):
[1] size=24 'ceph::buffer::list::always_empty_bptr' /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/buffer.cc:1267:34
[2] size=24 'ceph::buffer::list::always_empty_bptr' /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/buffer.cc:1267:34
These globals were registered at these points:
[1]:
#0 0x55856c66727a in __asan_register_globals (/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/rbd+0xa4c27a) (BuildId: 917e672500fe0c0d67124c88ecdfcf36cb68ff53)
#1 0x7fc1525f7cee in asan.module_ctor buffer.cc
#2 0x7fc155dea47d in call_init elf/./elf/dl-init.c:70:3
[2]:
#0 0x55856c66727a in __asan_register_globals (/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/rbd+0xa4c27a) (BuildId: 917e672500fe0c0d67124c88ecdfcf36cb68ff53)
#1 0x7fc1505c222e in asan.module_ctor buffer.cc
#2 0x7fc155dea47d in call_init elf/./elf/dl-init.c:70:3
==117994==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'ceph::buffer::list::always_empty_bptr' at /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/buffer.cc:1267:34
==117994==ABORTING
to enable ASan, one might want to apply the changeset at https://github.com/ceph/ceph/pull/56241
KC Updated by Kefu Chai over 2 years ago
- Description updated (diff)
Actions