Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
0
Description
Build: 7.1.4-3608
Unable to run cbc-pillowfight on ASAN enabled build
root@sa1720-deb10:~# /opt/couchbase/bin/cbc-pillowfight -I 10000000 -m 4000 -M 4000 -U couchbase://172.23.108.72/default -u Administrator -P password -r 100
|
=================================================================
|
==24490==ERROR: AddressSanitizer: odr-violation (0x000000582180):
|
[1] size=8 'maxLargestUInt' /home/couchbase/jenkins/workspace/couchbase-server-unix/libcouchbase/contrib/lcb-jsoncpp/lcb-jsoncpp.cpp:2258:19
|
[2] size=8 'maxLargestUInt' /home/couchbase/jenkins/workspace/couchbase-server-unix/libcouchbase/contrib/lcb-jsoncpp/lcb-jsoncpp.cpp:2258:19
|
These globals were registered at these points:
|
[1]:
|
#0 0x7f803d02c4d0 (/opt/couchbase/bin/../lib/libasan.so.6+0x364d0)
|
#1 0x54eafc (/opt/couchbase/bin/cbc-pillowfight+0x54eafc) [2]:
|
#0 0x7f803d02c4d0 (/opt/couchbase/bin/../lib/libasan.so.6+0x364d0)
|
#1 0x7f803dbcf389 (/lib64/ld-linux-x86-64.so.2+0xf389)==24490==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
|
SUMMARY: AddressSanitizer: odr-violation: global 'maxLargestUInt' at /home/couchbase/jenkins/workspace/couchbase-server-unix/libcouchbase/contrib/lcb-jsoncpp/lcb-jsoncpp.cpp:2258:19
|
==24490==ABORTING
|
After setting the env variable 'ASAN_OPTIONS=detect_odr_violation=0', seeing memory leak message. cbc_pillowfight_mem_leak.txt
SUMMARY: AddressSanitizer: 3273734 byte(s) leaked in 444 allocation(s).
|