@@ -10,6 +10,27 @@ leak:qd_policy_c_counts_alloc
10
10
leak:qd_policy_open_fetch_settings
11
11
leak:qdr_error_description
12
12
13
+ # to be triaged; unit_tests
14
+ leak:http-libwebsockets.c
15
+
16
+ # to be triaged; pretty much all tests
17
+ leak:^IoAdapter_init$
18
+
19
+ # to be triaged; system_tests_http
20
+ leak:^callback_healthz$
21
+ leak:^callback_metrics$
22
+
23
+ # to be triaged; system_tests_http1_adaptor
24
+ leak:^pn_condition$
25
+ leak:^pn_raw_connection$
26
+ leak:^pgetaddrinfo$
27
+
28
+ # to be triaged; system_tests_link_routes
29
+ leak:^pni_init_default_logger$
30
+
31
+ # Ignore test code
32
+ leak:run_unit_tests.c
33
+
13
34
# DISPATCH-1844 - shutdown leak
14
35
leak:sys_mutex
15
36
@@ -23,15 +44,56 @@ leak:_ctypes_alloc_format_string
23
44
leak:__strdup
24
45
25
46
####
26
- #### Miscellaneous 3rd party libraries, test code, etc :
47
+ #### Miscellaneous 3rd party libraries:
27
48
####
28
49
29
- leak:*libpython*
30
- leak:*libwebsockets*
31
- leak:*python2*
50
+ ### Python
32
51
33
- # We should be able to uncomment these once all known dispatch leaks have been fixed
34
- leak:*libqpid-proton*
52
+ # these Python leaks happen even after simple Py_Initialize(); Py_Finalize();
53
+ # https://bugs.python.org/issue1635741
54
+ leak:^_PyObject_Realloc
55
+ leak:^PyObject_Malloc$
56
+ leak:^PyThread_allocate_lock$
35
57
36
- # Ignore test code
37
- leak:run_unit_tests.c
58
+ # the PyMalloc mechanism is incompatible with Valgrind, it must be disabled or reported "leaks" must be suppressed
59
+ # https://pythonextensionpatterns.readthedocs.io/en/latest/debugging/debug_python.html#debug-version-of-python-memory-alloc-label
60
+ leak:^PyMem_Malloc$
61
+ leak:^PyMem_Calloc$
62
+ leak:^_PyObject_GC_Resize$
63
+ # Python uses these alloc functions if you define PYTHONDEVMODE=1
64
+ leak:^_PyMem_DebugRawAlloc$
65
+ leak:^_PyMem_DebugRawRealloc$
66
+ # All the rest
67
+ leak:^list_append$
68
+ leak:^list_resize$
69
+ leak:^_PyBytes_Resize$
70
+ leak:^resize_compact$
71
+ leak:^unicode_resize$
72
+ # Python 2.7
73
+ leak:^PyString_FromStringAndSize$
74
+ leak:^PyString_FromString$
75
+ leak:^PyObject_Realloc$
76
+ leak:^_PyObject_GC_Malloc$
77
+ leak:^_PyString_Resize$
78
+ leak:^PyUnicodeUCS4_FromUnicode$
79
+ leak:^PyList_Append$
80
+ leak:^PyList_New$
81
+
82
+ ### Qpid Proton
83
+
84
+ # Proton suppressions taken from Proton's lsan.supp
85
+ # this appears in system_tests_open_properties:
86
+ leak:^pni_data_grow$
87
+ leak:^pn_buffer$
88
+ leak:^pn_buffer_ensure$
89
+ # this appears in system_tests_http1_adaptor:
90
+ leak:^pn_string_grow$
91
+ leak:^pn_object_new$
92
+ leak:^pn_list$
93
+ leak:^pni_record_create$
94
+
95
+ ### libwebsockets
96
+
97
+ leak:/libwebsockets.so
98
+
99
+ ### CMake will append .so 3rd party suppressions here, unless disabled:
0 commit comments