LLVM 17 Release build with AddressSanitizer fails several tests
laurynas-biveinis opened this issue · 1 comments
laurynas-biveinis commented
3: [ RUN ] ARTCorrectnessTest/0.Node4DeleteKeyPrefixMerge
3: db.get did not find key: 0x00008002
3: db dump, current memory use = 87
3: node at: 0x5050000008d0, tagged ptr = 0x5050000008d1, type = I4, key prefix len = 7, key prefix = 00 00 00 00 00 00 00, # children = 2, key bytes = 01 02, children:
3: node at: 0x504000017f50, tagged ptr = 0x504000017f50, type = LEAF, binary-comparable key: 00 00 00 00 00 00 80 01, value size: 4
3: node at: 0x504000017f90, tagged ptr = 0x504000017f90, type = LEAF, binary-comparable key: 00 00 00 00 00 00 80 02, value size: 5
3: /home/circleci/project/test/db_test_utils.hpp:101: Failure
3: Failed
3: Google Test trace:
3: /home/circleci/project/test/db_test_utils.hpp:321: key: 0x00008002
3: db.get did not find key: 0x00008001
3: db dump, current memory use = 87
3: node at: 0x5050000008d0, tagged ptr = 0x5050000008d1, type = I4, key prefix len = 7, key prefix = 00 00 00 00 00 00 00, # children = 2, key bytes = 01 02, children:
3: node at: 0x504000017f50, tagged ptr = 0x504000017f50, type = LEAF, binary-comparable key: 00 00 00 00 00 00 80 01, value size: 4
3: node at: 0x504000017f90, tagged ptr = 0x504000017f90, type = LEAF, binary-comparable key: 00 00 00 00 00 00 80 02, value size: 5
3: /home/circleci/project/test/db_test_utils.hpp:101: Failure
3: Failed
3: Google Test trace:
3: /home/circleci/project/test/db_test_utils.hpp:321: key: 0x00008001
3: [ FAILED ] ARTCorrectnessTest/0.Node4DeleteKeyPrefixMerge, where TypeParam = unodb::db (0 ms)
3: [ RUN ] ARTCorrectnessTest/0.Node4DeleteKeyPrefixMerge2
3: test_db.remove failed for key: 0x03020102
3: db dump, current memory use = 81
3: node at: 0x505000000970, tagged ptr = 0x505000000971, type = I4, key prefix len = 5, key prefix = 00 00 00 05 03, # children = 2, key bytes = 02 03, children:
3: node at: 0x503000025bd0, tagged ptr = 0x503000025bd0, type = LEAF, binary-comparable key: 00 00 00 00 03 02 01 02, value size: 1
3: node at: 0x5040000186d0, tagged ptr = 0x5040000186d0, type = LEAF, binary-comparable key: 00 00 00 00 03 03 03 02, value size: 2
Only visible in this particular configuration (Clang 17.0.6 on Ubuntu 22.04, ARM64). Different compiler, platform, configuration, or disabling ASan makes it go away.
laurynas-biveinis commented
LLVM 18 looks clean, re-enabled the testing in #561