Skip to content

Commit ce20bfd

Browse files
test: also suppress BDB LSan via __os_malloc for CI stacks
depends BDB is built without frame pointers, so linux64_asan LSan reports only malloc -> __os_malloc for the known 4x160-byte wallet env leak. leak:__lock_region_init alone never matches those truncated stacks. Keep both suppressions so CI and local debug BDB builds are covered.
1 parent c497e74 commit ce20bfd

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • test/sanitizer_suppressions

test/sanitizer_suppressions/lsan

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ leak:QDBusConnectionPrivate
44
leak:QLayoutPrivate
55
leak:QDBusConnectionManager
66
# Berkeley DB 4.8 DB_PRIVATE lock free-list entries (sizeof(DB_LOCKOBJ)=160)
7-
# allocated in __lock_region_init during env open. Some remain reachable only
8-
# through region state that LSan cannot attribute after env teardown on Linux
9-
# ASAN CI, producing a stable 4x160-byte report from wallet unit tests.
7+
# allocated in __lock_region_init during env open. Wallet unit tests leave a
8+
# stable 4x160-byte report after env teardown. depends BDB is built without
9+
# frame pointers, so CI LSan stacks stop at __os_malloc; local debug BDB builds
10+
# show __lock_region_init. Match both.
1011
leak:__lock_region_init
12+
leak:__os_malloc

0 commit comments

Comments
 (0)