Repository navigation
Expand file tree
/
Copy path.valgrind.supp
More file actions
192 lines (172 loc) · 3.98 KB
/
Copy path.valgrind.supp
File metadata and controls
192 lines (172 loc) · 3.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# Valgrind suppressions for node-sqlite
# These suppress known issues in V8, Node.js, and system libraries
# V8 uninitialized memory in GC
{
V8_GC_Uninitialized_1
Memcheck:Cond
...
fun:_ZN2v88internal*
}
{
V8_GC_Uninitialized_2
Memcheck:Value8
...
fun:_ZN2v88internal*
}
# V8 compiler uninitialized memory
{
V8_Compiler_Uninitialized
Memcheck:Cond
...
fun:_ZN2v88internal8compiler*
}
# Node 26 can finish with one V8 background memory-pool map allocation still
# owned by its platform worker. Keep this exact Node/V8-only stack narrow so it
# cannot hide allocations made by the addon or through Node-API references.
{
Node26_V8_MemoryPool_Background_Release
Memcheck:Leak
match-leak-kinds: possible
fun:_Znwm
fun:_ZN4absl18container_internal12_GLOBAL__N_117AllocBackingArrayERNS0_12CommonFieldsERKNS0_15PolicyFunctionsEmbPv
fun:_ZN4absl18container_internal24PrepareInsertSmallNonSooERNS0_12CommonFieldsERKNS0_15PolicyFunctionsENS_11FunctionRefIFmmEEE
fun:_ZN2v88internal10MemoryPool8PoolImplINS0_10PooledPageEE11ReleaseUpToEm
fun:_ZN2v88internal10MemoryPool23ReleasePooledChunksTask11RunInternalEv
fun:_ZN4node12_GLOBAL__N_120PlatformWorkerThreadEPv
fun:start_thread
fun:clone
}
# Node.js platform reachable memory
{
Node_Platform_Reachable
Memcheck:Leak
match-leak-kinds: reachable
...
fun:_ZN4node*Platform*
}
# Node.js worker threads
{
Node_Worker_Threads
Memcheck:Leak
match-leak-kinds: reachable
...
fun:_ZN4node6worker*
}
# ICU library reachable memory
{
ICU_Reachable
Memcheck:Leak
match-leak-kinds: reachable
...
obj:*/libicuuc.so*
}
{
ICU_Data_Reachable
Memcheck:Leak
match-leak-kinds: reachable
...
obj:*/libicudata.so*
}
# OpenSSL initialization
{
OpenSSL_Init
Memcheck:Leak
match-leak-kinds: reachable
...
obj:*/libcrypto.so*
}
# OpenSSL state linked into the Node executable on Node 26.
{
Node_OpenSSL_Builtin_Compressions
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:CRYPTO_malloc
fun:ossl_load_builtin_compressions
fun:context_init
fun:default_context_do_init_ossl_
}
# pthread thread-local storage
{
pthread_TLS
Memcheck:Leak
match-leak-kinds: reachable
...
fun:pthread_*
}
# The main Node environment starts one inspector agent thread even when no
# inspector client connects. Suppress only that TLS allocation stack.
{
Node_Inspector_TLS
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create*
fun:_ZN4node9inspector5Agent5Start*
}
# dlopen and dynamic loading
{
dlopen_Reachable
Memcheck:Leak
match-leak-kinds: reachable
...
fun:dlopen*
}
# GLib/GIO for Linux systems
{
GLib_Type_Init
Memcheck:Leak
match-leak-kinds: reachable
...
fun:g_type_init*
}
{
GIO_Module_Load
Memcheck:Leak
match-leak-kinds: reachable
...
fun:g_io_module_load*
}
# DBus for Linux systems
{
DBus_Connection
Memcheck:Leak
match-leak-kinds: reachable
...
obj:*/libdbus-1.so*
}
# V8 API callbacks
{
V8_API_Callback
Memcheck:Leak
match-leak-kinds: reachable
...
fun:_ZN2v88internal12_GLOBAL__N_116InstallFunctions*
}
# Node.js module loading
{
Node_Module_Load
Memcheck:Leak
match-leak-kinds: reachable
...
fun:_ZN4node6loader*
}
# SQLite one-time global init (intentionally not freed without sqlite3_shutdown)
{
SQLite_Global_Init
Memcheck:Leak
match-leak-kinds: reachable
...
fun:sqlite3_initialize
}
# DELIBERATELY ABSENT: a `fun:napi_create_reference` suppression.
# Every persistent handle this addon creates is allocated through
# napi_create_reference, so suppressing that frame would hide a leaked
# Napi::Reference -- one of the most likely real defects in an addon of this
# shape. If Node's own internals prove noisy here, suppress the specific
# node:: frame, never the napi_ entry point.
# See the matching note in .lsan-suppressions.txt.