forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helgrind-root.supp
393 lines (381 loc) · 7.51 KB
/
helgrind-root.supp
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
{
GreedyCleanup - To be investigated.
Helgrind:UnlockUnlocked
fun:pthread_mutex_unlock
...
fun:_ZN7TThread7CleanUpEv
}
{
GreedyCleanup Part 2 - To be investigated.
Helgrind:PthAPIerror
fun:pthread_mutex_unlock
...
fun:_ZN7TThread7CleanUpEv
}
{
GreedyCleanup Part 3 - To be investigated.
Helgrind:UnlockForeign
fun:pthread_mutex_unlock
...
fun:_ZN7TThread7CleanUpEv
}
{
Due to TClass::fVersionUsed which is a std::atomic<bool> ... may hide other problems.
Helgrind:Race
fun:_ZN11TBufferFile11ReadVersionEPjS0_PK6TClass
}
{
Due to TClass::fVersionUsed which is a std::atomic<bool> ... may hide other problems.
Helgrind:Race
fun:_ZN11TBufferFile24ReadVersionForMemberWiseEPK6TClass
}
{
Due to TClass::fVersionUsed which is a std::atomic<bool> ... may hide other problems.
Helgrind:Race
fun:_ZN13TStreamerInfo10BuildCheckEP5TFile
}
{
Due to TClass::fVersionUsed which is a std::atomic<bool> ... may hide other problems.
Helgrind:Race
fun:_ZN11TBufferFile12WriteVersionEPK6TClassb
}
{
Due to TClass::fLastReadInfo which is an std::atomic ... may hide other problems.
Helgrind:Race
fun:_ZNK6TClass16FindStreamerInfoEj
}
{
Due to TClass::fLastReadInfo which is an std::atomic ... may hide other problems.
Helgrind:Race
fun:_ZNK6TClass15GetStreamerInfoEi
}
{
*::Class use *::fgIsA which is an std::atomic
Helgrind:Race
fun:_ZN*5ClassEv
}
{
Use a global static atomic.
Helgrind:Race
fun:_ZN11TUnixSystem7UnixNowEv
}
{
This function can only be called after the value (fOffsetStreamer) has been properly (locked) initialized ... May hide other problems.
Helgrind:Race
fun:_ZN11TBufferFile13ReadObjectAnyEPK6TClass
}
{
This function can only be called after the value (fOffsetStreamer) has been properly (locked) initialized
Helgrind:Race
fun:_ZNK6TClass26StreamerTObjectInitializedEPvR7TBufferPKS_
}
{
If we get the wrong result (the data race is real is expansive to avoid for fBits), we test again after taking the lock
Helgrind:Race
fun:_ZNK7TObject7TestBitEj
fun:_ZNK20TVirtualStreamerInfo10IsCompiledEv
}
{
kIsRecovered can not change after the require initialization (behind lock), (note) but a race during the setting of a different bit 'might' do the wrong thing.
Helgrind:Race
fun:_ZN11TBufferFile15ReadClassBufferEPK6TClassPvS2_
}
{
Also about fBits
Helgrind:Race
fun:_ZN13TStreamerInfo7CompileEv
}
{
Also about fBits
Helgrind:Race
fun:_ZNK7TObject7TestBitEj
fun:_ZNK20TVirtualStreamerInfo10IsCompiledEv
}
{
Also about fBits
Helgrind:Race
fun:_ZN13TStreamerInfo10BuildCheckEP5TFile
}
{
TStreamerInfo is not yet published so there is no possible race.
Helgrind:Race
...
fun:_ZN5TFile16ReadStreamerInfoEv
}
{
std::atomic is 'atomic'
Helgrind:Race
fun:_ZNKSt13__atomic_base*loadESt12memory_order
}
{
std::atomic is 'atomic'
Helgrind:Race
fun:_ZNSt13__atomic_base*storeES1_St12memory_order
}
{
pthread unlock 1
Helgrind:Race
fun:pthread_mutex_unlock
fun:pthread_mutex_unlock
}
{
pthread unlock 2
Helgrind:Race
fun:__lll_unlock_wake
fun:_L_unlock_657
fun:pthread_mutex_unlock
fun:pthread_mutex_unlock
}
{
pthread lock wait 1
Helgrind:Race
fun:__lll_lock_wait
fun:_L_lock_892
fun:pthread_mutex_lock
fun:pthread_mutex_lock
}
{
pthread lock 1
Helgrind:Race
fun:pthread_mutex_lock
fun:pthread_mutex_lock
}
{
helgrind-glibc2X-005 Inspired by https://bugs.kde.org/show_bug.cgi?id=179624
Helgrind:Race
obj:/lib*/libpthread-2.*so*
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:pthread_cond_signal@@GLIBC_2.3.2
fun:_ZN15TPosixCondition6SignalEv
fun:_ZN10TCondition6SignalEv
}
{
TUrl and strncmp
Helgrind:Race
fun:__strncmp_sse42
fun:_ZN4TUrl6SetUrlEPKcb
}
{
G__defined_tagname and strstr
Helgrind:Race
fun:__strstr_sse42
fun:G__defined_tagname
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__strstr_sse42
fun:_ZNK7TSystem14SplitAclicModeEPKcR7TStringS3_S3_
}
{
TClassEdit_strncmp
Helgrind:Race
fun:__strncmp_sse42
fun:_ZN10TClassEdit7STLKindEPKc
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__strncmp_sse42
fun:_ZN10TClassEdit9CleanTypeEPKciPS1_
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__strncmp_sse42
fun:_ZN6TClass8GetClassEPKcbb
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__strncmp_sse42
fun:_ZN6TClass8GetClassEPKcbb
}
{
<insert_a_suppression_name_here>
Helgrind:Race
...
fun:__tz_convert
fun:_ZN7TDatime3Set*
}
{
<insert_a_suppression_name_here>
Helgrind:Race
...
fun:printf
}
{
<insert_a_suppression_name_here>
Helgrind:Race
...
fun:fprintf
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:_Unwind_ForcedUnwind
fun:__pthread_unwind
fun:pthread_exit
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:pthread_join
fun:pthread_join_WRK
fun:pthread_join
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:my_memcmp
fun:pthread_mutex_destroy
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__pthread_mutex_cond_lock
fun:pthread_cond_timedwait@@GLIBC_2.3.2
fun:pthread_cond_timedwait_WRK
fun:pthread_cond_timedwait@*
fun:_ZN15TPosixCondition9TimedWaitEmm
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:pthread_mutex_destroy
fun:pthread_mutex_destroy
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:pthread_create@@GLIBC_2.2.5
fun:pthread_create_WRK
fun:pthread_create@*
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:clone
fun:do_clone.clone.0
fun:pthread_create@@GLIBC_2.2.5
fun:pthread_create_WRK
fun:pthread_create@*
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:readdir
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:start_thread
fun:clone
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__sigsetjmp
fun:start_thread
fun:clone
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:_pthread_cleanup_push
fun:pthread_join
fun:pthread_join_WRK
fun:pthread_join
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__pthread_unwind
fun:pthread_exit
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__free_tcb
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:unwind_stop
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__pthread_cleanup_upto
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:arena_thread_freeres
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__free_stacks
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:pthread_exit
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__sigjmp_save
fun:start_thread
fun:clone
}
{
<insert_a_suppression_name_here>
Helgrind:Race
...
fun:fclose*
}
{
<insert_a_suppression_name_here>
Helgrind:Race
...
fun:__fopen_internal
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:getc
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:fgetpos*
fun:_Z18G__make_ifunctableR18G__FastAllocString
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:fgetpos*
fun:G__exec_statement
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:fsetpos*
fun:G__interpret_func
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:srand
}
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:__new_exitfn
fun:__cxa_atexit
}