Commit 685b3e8
authored
Add LSAN suppression for ThreadSafeTransaction indirect leaks (#13296)
The existing leak:ThreadSafeDatabase::createTransaction (added in #13278)
only catches the direct ThreadSafeTransaction allocation (2x2048 bytes).
Indirect leaks from transaction operations (TransactionState,
extractReadVersion, WriteMap entries) are attributed to their own allocation
sites, which have ThreadSafeTransaction methods in the call stack but don't
match the createTransaction suppression.
This causes the ASAN nightly to report 10,296 bytes in 48 allocations across
multiple fdb_c_api_test_* tests even with the fix from #13278 applied.
Related:
- #13188 — Initial LSAN suppressions + gRPC use-after-return fix
- #13242 — Remove explicit __lsan_do_leak_check() (symbolizer deadlock)
- #13255 — Client-side shutdown leak suppressions (30+ entries)
- #13278 — Fix root causes: TaskQueue::clear() + DatabaseContext destructor
- #13288 — Increase upgrade test shutdown timeout for ASAN1 parent c909b59 commit 685b3e8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments