Commit Graph

2 Commits

Author SHA1 Message Date
Matan Breizman d074e910df qa/lsan.supp: update heap_profiler suppression and ASAN_OPTIONS
In continuation to: 8c099a5340

Regsiter singleton leak seems to be replaced by:
```
-----------------------------------------------------
Suppressions used:
  count      bytes template
      1          8 ^InitModule
-----------------------------------------------------
```

In similarity to Crimson's suppression: 6ed8d839b4

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-06-08 14:16:01 +00:00
Casey Bodley 8c099a5340 asan: add qa/lsan.supp for leak sanitizer suppressions
any executable that links against the heap_profiler leaks 8 bytes for a
singleton:
> -----------------------------------------------------
> Suppressions used:
> count      bytes template
> 1          8 ^MallocExtension::Register
> -----------------------------------------------------

the python script bin/ceph has a lot of leaks:
> -----------------------------------------------------
> Suppressions used:
>   count      bytes template
>     205     294983 ^PyObject_Malloc
>      10       6216 ^_PyObject_Realloc
>       1        568 ^PyMem_Calloc
>       2          2 ^PyMem_Malloc
>      63      58935 ^PyUnicode_New
>      10       7294 ^_PyBytes_FromSize
>     166     149904 ^_PyObject_GC_Alloc
>       5       3360 ^_PyObject_GC_Resize
> -----------------------------------------------------

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-03-07 13:33:57 -05:00