1# $Id: valgrind.supp 621057 2020-12-04 16:57:34Z ivanov $
2#
3# Valgrind suppression file (version 3.5.0 -> 3.15.0).
4#
5################################################################################
6#
7# Format of this file is:
8# {
9#     name_of_suppression
10#     tool_name:supp_kind
11#     (optional extra info for some suppression types)
12#     caller0 name, or /name/of/so/file.so
13#     caller1 name, or ditto
14#     (optionally: caller2 name)
15#     (optionally: caller3 name)
16#  }
17#
18# For Memcheck, the supp_kinds are:
19#
20#     Param Value1 Value2 Value4 Value8 Value16
21#     Free Addr1 Addr2 Addr4 Addr8 Addr16
22#     Cond (previously known as Value0)
23#
24# and the optional extra info is:
25#     if Param: name of system call param
26#     if Free: name of free-ing fn)
27#
28################################################################################
29#
30# NOTE: C++ function names must be mangled.
31#       Use --gen-suppressions=all option to generate rules.
32#
33################################################################################
34
35
36{
37   BerkeleyDB-4.6.21.1 -- looks like an internal glitch (GCC730-ReleaseMT)
38   Memcheck:Param
39   pwrite64(buf)
40   ...
41   fun:__os_io
42   fun:__log_write
43   fun:__log_fill
44   fun:__log_putr.isra.1
45   fun:__log_put
46}
47
48
49{
50   BerkeleyDB-4.6.21.1 -- looks like an internal glitch (GCC730-ReleaseMT)
51   Memcheck:Cond
52   fun:__log_putr.isra.1
53   fun:__log_put
54   ...
55   fun:__bamc_put
56   fun:__dbc_put
57   fun:__db_put
58   fun:__db_put_pp
59}
60
61
62#{
63#   NCBI VDB ver 2.5.0 -- uninit value created on stack, passed around
64#   Memcheck:Param
65#   fun:__open_nocancel
66#   fun:KSysDirOpenFileRead_v1 (sysdir.c:1838)
67#}
68
69
70{
71   GnuTLS/Nettle -- apparent optimization shortcut
72   Memcheck:Addr8
73   fun:__gmpn_copyi_core2
74   fun:__gmpn_powm
75   fun:__gmpz_powm
76   fun:nettle_rsa_compute_root
77   fun:nettle_rsa_pkcs1_sign_tr
78   fun:_wrap_nettle_pk_sign
79   fun:gnutls_privkey_sign_data
80   fun:_gnutls_check_key_cert_match
81   fun:gnutls_certificate_set_x509_key
82   fun:gnutls_certificate_set_x509_simple_pkcs12_mem
83   fun:gnutls_certificate_set_x509_simple_pkcs12_file
84}
85
86{
87   NCBI VDB ver 2.5.0 -- uninit value created on stack in string_vprintf (printf.c:3374)
88   Memcheck:Cond
89   ...
90   fun:add_aws_nodes
91}
92
93
94{
95    corelib/CFileUtil::GetTotalDiskSpace, PANFS, CXX-5713 because DLL is not supposed to be closed
96    Memcheck:Leak
97    fun:malloc
98    ...
99    fun:_dl_open
100    ...
101    fun:*s_GetDiskSpace_PANFS*
102    fun:*s_GetFileSystemInfo*
103}
104
105{
106   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack
107   Memcheck:Param
108   pwrite64(buf)
109   ...
110   fun:__os_io
111   fun:__log_write
112   fun:__log_fill
113   fun:__log_putr
114   ...
115   fun:__log_put
116   fun:__txn_regop_log
117   fun:__txn_commit
118   fun:__txn_commit_pp
119}
120
121{
122   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_ovput() in bt_put.c:886
123   Memcheck:Param
124   pwrite64(buf)
125   ...
126   fun:__os_io
127   fun:__log_write
128   fun:__log_fill
129   fun:__log_putr
130   ...
131   fun:__log_put
132   fun:__db_big_log
133   fun:__db_poff
134   ...
135   fun:__bam_iitem
136   fun:__bamc_put
137   fun:__dbc_put
138   fun:__db_put
139   fun:__db_put_pp
140}
141
142{
143   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 3)
144   Memcheck:Param
145   pwrite64(buf)
146   ...
147   fun:__os_io
148   fun:__memp_pgwrite
149   fun:__memp_bhwrite
150   fun:__memp_sync_int
151   ...
152   fun:__db_sync
153   fun:__db_refresh
154   fun:__db_close
155   fun:__db_close_pp
156   fun:_ZN4ncbi12CBDB_RawFile7x_CloseENS0_12EIgnoreErrorE
157}
158
159{
160   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 2b)
161   Memcheck:Param
162   pwrite64(buf)
163   ...
164   fun:__os_io
165   fun:__memp_pgwrite
166   fun:__memp_bhwrite
167   fun:__memp_sync_int
168   ...
169   fun:__memp_trickle_pp
170   fun:_ZN4ncbi8CBDB_Env11MempTrickleEiPi
171}
172
173{
174   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 2a)
175   Memcheck:Param
176   pwrite64(buf)
177   ...
178   fun:__os_io
179   fun:__log_write
180   fun:__log_flush_int
181   fun:__log_flush
182   ...
183   fun:__memp_sync_int
184   ...
185   fun:__memp_trickle_pp
186   fun:_ZN4ncbi8CBDB_Env11MempTrickleEiPi
187}
188
189{
190   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 1e)
191   Memcheck:Param
192   pwrite64(buf)
193   ...
194   fun:__os_io
195   fun:__log_write
196   fun:__log_fill
197   fun:__log_putr
198   ...
199   fun:__log_put
200   fun:__db_addrem_log
201   fun:__db_pitem
202   fun:__bam_iitem
203   fun:__bamc_put
204   fun:__dbc_put
205}
206
207{
208   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 1d)
209   Memcheck:Param
210   pwrite64(buf)
211   ...
212   fun:__os_io
213   fun:__log_write
214   fun:__log_fill
215   fun:__log_putr
216   ...
217   fun:__log_put
218   fun:__bam_repl_log
219   fun:__bam_ritem
220   fun:__bam_iitem
221   fun:__bamc_put
222   fun:__dbc_put
223   fun:__dbc_put_pp
224   fun:_ZN4ncbi12CBDB_RawFile9x_DB_CPutEP5__dbcP8__db_dbtS4_j
225}
226
227{
228   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 1c)
229   Memcheck:Param
230   pwrite64(buf)
231   ...
232   fun:__os_io
233   fun:__log_write
234   fun:__log_flush_int
235   ...
236   fun:__log_put
237   ...
238   fun:__db_put_pp
239   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
240}
241
242{
243   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack (Variant 1b5)
244   Memcheck:Param
245   pwrite64(buf)
246   ...
247   fun:__os_io
248   fun:__log_write
249   fun:__log_fill
250   fun:__log_putr
251   ...
252   fun:__log_put
253   ...
254   fun:__bam_split
255   fun:__bamc_put
256   fun:__dbc_put
257   fun:__db_put
258   fun:__db_put_pp
259   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
260}
261
262{
263   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack (Variant 1b4)
264   Memcheck:Cond
265   fun:__log_putr
266   ...
267   fun:__log_put
268   fun:__bam_split_log
269   ...
270   fun:__bam_split
271   fun:__bamc_put
272   fun:__dbc_put
273   fun:__db_put
274   fun:__db_put_pp
275   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
276}
277
278{
279   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack (Variant 1b3)
280   Memcheck:Cond
281
282   fun:__log_putr
283   fun:__log_put
284   fun:__db_addrem_log
285   ...
286   fun:__bamc_put
287   fun:__dbc_put
288   fun:__db_put
289   fun:__db_put_pp
290   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
291}
292
293{
294   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack (Variant 1b2)
295   Memcheck:Cond
296   fun:__log_putr
297   fun:__log_put
298   fun:__db_addrem_log
299   fun:__db_pitem
300   fun:__bam_iitem
301   fun:__bamc_put
302   fun:__dbc_put
303   fun:__db_put
304   fun:__db_put_pp
305   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
306}
307
308{
309   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack (Variant 1b1)
310   Memcheck:Cond
311   fun:__log_putr
312   fun:__log_put_next
313   fun:__log_put
314   fun:__db_addrem_log
315   fun:__db_pitem
316   fun:__bam_ovput
317   fun:__bam_iitem
318   fun:__bamc_put
319   fun:__dbc_put
320   fun:__db_put
321   fun:__db_put_pp
322   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
323}
324
325{
326   BerkeleyDB 4.6.21.1 glitch -- uninit value created on stack in __bam_broot() in bt_split.c:519 (Variant 1a)
327   Memcheck:Cond
328   fun:__log_putr
329   fun:__log_put_next
330   fun:__log_put
331   fun:__db_addrem_log
332   fun:__db_pitem
333   fun:__bam_broot
334   fun:__bam_root
335   fun:__bam_split
336   fun:__bamc_put
337   fun:__dbc_put
338   fun:__db_put
339   fun:__db_put_pp
340   fun:_ZN4ncbi12CBDB_RawFile8x_DB_PutEP8__db_dbtS2_j
341}
342
343{
344   Known LIBC bug (https://bugs.kde.org/show_bug.cgi?id=167483)
345   Memcheck:Free
346   fun:free
347   fun:free_mem
348   fun:__libc_freeres
349   fun:_vgnU_freeres
350   fun:exit
351   fun:(below main)
352}
353
354{
355   MemCpy to itself in swap() in CObject  (ICC 10.1)
356   Memcheck:Overlap
357   fun:memcpy
358   fun:_ZSt4swapISt4pairIPvjEEvRT_S4_
359   fun:_ZN4ncbi24sx_PopLastNewPtrMultipleEPv
360   fun:_ZN4ncbi16sx_PopLastNewPtrEPv
361   fun:_ZN4ncbi7CObject11InitCounterEv
362}
363
364{
365   Sybase CTLIB 15.7-SP122-64bit (Case 1)
366   Memcheck:Addr1
367   fun:com_secure_memset
368   fun:ct__tds_loginover
369   fun:ct_async_exec_stack
370   fun:ct_connect
371}
372
373{
374   Sybase DBLIB 15.7-SP122-64bit (Case 2)
375   Memcheck:Param
376   socketcall.sendto(msg)
377   fun:send
378   fun:sybsoc_write
379   fun:sybnet_write
380   fun:write_buffer
381   fun:sendflush
382   fun:sendeom
383   fun:bcp__endbatch
384   fun:bcp_done
385}
386
387{
388   Sybase DBLIB 12.5.1.10-ESD26-64bit (case 1)
389   Memcheck:Param
390   write(buf)
391   fun:__write_nocancel
392   fun:syb_tcp_write
393   fun:sendflush
394   fun:sendeom
395   fun:bcp__endbatch
396   fun:bcp_done
397}
398
399{
400   Sybase DBLIB 12.5.1.10-ESD26-64bit (case 2)
401   Memcheck:Param
402   write(buf)
403   fun:__write_nocancel
404   fun:syb_tcp_write
405   fun:sendflush
406   fun:sendserver
407   fun:bcp__send_text
408   fun:bcp_moretext
409}
410
411
412{
413   Sybase DBLIB 12.5.1.10-ESD26-64bit (case 3)
414   Memcheck:Param
415   write(buf)
416   fun:__write_nocancel
417   fun:syb_tcp_write
418   fun:sendflush
419   fun:sendserver
420   fun:bcp__buildrow
421   fun:bcp_sendrow
422}
423
424{
425   BerkeleyDB 4.6.21.1 glitch -- both alloc and use happen inside the same call
426   Memcheck:Param
427   pwrite64(buf)
428   fun:__pwrite_nocancel
429   fun:__os_io
430   fun:__memp_pgwrite
431   fun:__memp_bhwrite
432   fun:__memp_sync_int
433   ...
434   fun:__db_sync
435   fun:__db_refresh
436   fun:__db_close
437   fun:__fop_subdb_setup
438   fun:__db_open
439   fun:__db_open_pp
440}
441
442{
443   Googles as an apparent LZO2' intentional overread for performance
444   Memcheck:Value8
445   ...
446   fun:find_match
447   fun:lzo1x_999_compress_internal
448   fun:lzo1x_999_compress_level
449   fun:lzo1x_999_compress
450}
451
452{
453    http://permalink.gmane.org/gmane.comp.encryption.nettle.bugs/886
454    Memcheck:Addr8
455    fun:memxor3
456    fun:gcm_crypt
457    fun:nettle_gcm_encrypt
458}
459
460{
461    I think this is glibc's ultra optimised getenv doing 2 byte reads
462    Memcheck:Addr2
463    fun:getenv
464}
465
466{
467    I think this is glibc's ultra optimised getenv doing 2 byte reads
468    Memcheck:Cond
469    fun:getenv
470}
471
472{
473    corelib/CObject/InitCounter
474    Memcheck:Cond
475    fun:_ZN4ncbi7CObject11InitCounterEv
476    fun:*
477}
478
479{
480    corelib/Diag/s_CreateDefaultDiagHandler 1
481    Memcheck:Leak
482    ...
483    fun:s_CreateDefaultDiagHandler
484    fun:__static_initialization_and_destruction_0
485}
486{
487    corelib/Diag/s_CreateDefaultHandler 2
488    Memcheck:Leak
489    ...
490    fun:_ZN4ncbiL26s_CreateDefaultDiagHandlerEv
491}
492{
493    corelib/Diag/CreateDefaultHandler
494    Memcheck:Leak
495    ...
496    fun:_ZN4ncbi24CreateDefaultDiagHandlerEv
497}
498{
499    corelib/Diag/CDiagContext::SetupDiag
500    Memcheck:Leak
501    ...
502    fun:_ZN4ncbi12CDiagContext9SetupDiagENS_14EAppDiagStreamEPNS_13CNcbiRegistryENS_20EDiagCollectMessagesEPKc
503    fun:_ZN4ncbi15InitDiagHandlerEv
504}
505{
506    corelib/Diag/global-init
507    Memcheck:Leak
508    fun:_Znwm
509    fun:_GLOBAL__sub_I_ncbidiag.cpp
510    fun:__libc_csu_init
511}
512
513{
514    corelib/SSystemMutex/InitializeDynamic
515    Memcheck:Cond
516    fun:_ZN4ncbi12SSystemMutex17InitializeDynamicEv
517    fun:*
518}
519{
520    corelib/SSystemFastMutex/InitializeDynamic
521    Memcheck:Cond
522    fun:_ZN4ncbi16SSystemFastMutex17InitializeDynamicEv
523    fun:*
524}
525{
526    corelib/CTimeout/operator ==, <
527    Memcheck:Cond
528    fun:_ZNK4ncbi8CTimeout??ERKS0_
529    fun:*
530}
531{
532    corelib/NCBI_THROW
533    Memcheck:Leak
534    fun:malloc
535    fun:__cxa_get_globals
536    fun:__cxa_allocate_exception
537}
538{
539    corelib/SetDiagStream
540    Memcheck:Leak
541    fun:_Znwm
542    fun:_ZN4ncbi13SetDiagStreamEPSobPFvPvES1_RKSs
543}
544{
545   corelib/CNcbiEnvironment::Set
546   Memcheck:Leak
547   fun:malloc
548   fun:strdup
549   fun:_ZN4ncbi16CNcbiEnvironment3SetERKSsS2_
550}
551{
552    CToolkit/COldAsnTypeInfo
553    Memcheck:Leak
554    fun:?alloc
555    fun:s_MemAllocator
556    ...
557    fun:_ZN4ncbi15COldAsnTypeInfo*
558}
559{
560    serial/TypeInfo
561    Memcheck:Leak
562    fun:_Znwm
563    ...
564    fun:*TypeInfo*
565}
566{
567    serial/CEnumDataType::CreateDefault
568    Memcheck:Leak
569    fun:_Znwm
570    fun:_ZNK4ncbi13CEnumDataType13CreateDefaultERKNS_10CDataValueE
571    fun:_ZN4ncbi18CDataContainerType15CreateClassInfo*
572}
573{
574    serial/CIntDataType::CreateDefault
575    Memcheck:Leak
576    fun:_Znwm
577    fun:_ZNK4ncbi12CIntDataType13CreateDefaultERKNS_10CDataValueE
578    fun:_ZN4ncbi18CDataContainerType15CreateClassInfo*
579}
580{
581    serial/CPointerTypeInfo::ReadPointer
582    Memcheck:Leak
583    fun:_Znwm
584    fun:*
585    fun:*
586    fun:_ZN4ncbi16CPointerTypeInfo11ReadPointer*
587}
588{
589    serial/member
590    Memcheck:Leak
591    fun:__builtin_new
592    fun:_Znwj
593    fun:_ZN4ncbi18CClassTypeInfoBase9AddMemberEPKcPKvRKNS_8CTypeRefE
594}
595{
596    serial/member
597    Memcheck:Leak
598    fun:_Znwj
599    fun:_ZN4ncbi18CClassTypeInfoBase9AddMemberEPKcPKvRKNS_8CTypeRefE
600}
601{
602    serial/classinfo
603    Memcheck:Leak
604    fun:__builtin_new
605    fun:_Znwj
606    fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIPN4ncbi18CClassTypeInfoBaseEEE8allocateEjPKv
607    fun:_ZNSt8_Rb_treeIPN4ncbi18CClassTypeInfoBaseES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE11_M_get_nodeEv
608}
609{
610    serial/iteminfo
611    Memcheck:Leak
612    fun:__builtin_new
613    fun:_Znwj
614    fun:_ZN9__gnu_cxx13new_allocatorIN4ncbi7AutoPtrINS1_9CItemInfoENS1_7DeleterIS3_EEEEE8allocateEjPKv
615    fun:_ZNSt12_Vector_baseIN4ncbi7AutoPtrINS0_9CItemInfoENS0_7DeleterIS2_EEEESaIS5_EE11_M_allocateEj
616}
617{
618    serial/iteminfo
619    Memcheck:Leak
620    fun:_Znwj
621    fun:_ZN9__gnu_cxx13new_allocatorIN4ncbi7AutoPtrINS1_9CItemInfoENS1_7DeleterIS3_EEEEE8allocateEjPKv
622}
623{
624    serial/iteminfo
625    Memcheck:Leak
626    fun:_Znwj
627    fun:_ZNSt6vectorIN4ncbi7AutoPtrINS0_9CItemInfoENS0_7DeleterIS2_EEEESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_
628}
629{
630    serial/stltype
631    Memcheck:Leak
632    fun:__builtin_new
633    fun:_Znwj
634    fun:*
635    fun:_ZN4ncbi16CTypeInfoMapData11GetTypeInfoEPKNS_9CTypeInfoEPFPS1_S3_E
636}
637{
638    serial/stltype
639    Memcheck:Leak
640    fun:_Znwj
641    fun:*
642    fun:_ZN4ncbi16CTypeInfoMapData11GetTypeInfoEPKNS_9CTypeInfoEPFPS1_S3_E
643}
644{
645    serial/enumvalue
646    Memcheck:Leak
647    fun:__builtin_new
648    fun:_Znwj
649    fun:_ZNK4ncbi21CEnumeratedTypeValues11ValueToNameEv
650}
651{
652    serial/enumvalue
653    Memcheck:Leak
654    fun:_Znwj
655    fun:_ZNSt8_Rb_treeIiSt4pairIKiPKSsESt10_Select1stIS4_ESt4lessIiESaIS4_EE9_M_insertEPSt18_Rb_tree_node_baseSC_RKS4_
656    fun:_ZNSt8_Rb_treeIiSt4pairIKiPKSsESt10_Select1stIS4_ESt4lessIiESaIS4_EE13insert_uniqueESt17_Rb_tree_iteratorIS4_ERKS4_
657    fun:_ZNK4ncbi21CEnumeratedTypeValues11ValueToNameEv
658}
659{
660    serial/classinfo
661    Memcheck:Leak
662    fun:__builtin_new
663    fun:_Znwj
664    fun:_ZN4ncbi20CClassInfoHelperBase15CreateClassInfoEPKcjPKNS_7CObjectEPFPvPKNS_9CTypeInfoEERKSt9type_infoPFPSD_PKvE
665}
666{
667    serial/classinfo
668    Memcheck:Leak
669    fun:_Znwj
670    fun:_ZN4ncbi20CClassInfoHelperBase15CreateClassInfoEPKcjPKNS_7CObjectEPFPvPKNS_9CTypeInfoEPNS_17CObjectMemoryPoolEERKSt9type_infoPFPSF_PKvE
671}
672{
673    serial/choiceinfo
674    Memcheck:Leak
675    fun:__builtin_new
676    fun:_Znwj
677    fun:_ZN4ncbi20CClassInfoHelperBase16CreateChoiceInfoEPKcjPKNS_7CObjectEPFPvPKNS_9CTypeInfoEERKSt9type_infoPFjPKNS_15CChoiceTypeInfoEPKvEPFvSH_S6_jEPFvSH_S6_E
678}
679{
680    serial/choiceinfo
681    Memcheck:Leak
682    fun:_Znwj
683    fun:_ZN4ncbi20CClassInfoHelperBase16CreateChoiceInfoEPKcjPKNS_7CObjectEPFPvPKNS_9CTypeInfoEPNS_17CObjectMemoryPoolEERKSt9type_infoPFjPKNS_15CChoiceTypeInfoEPKvEPFvSJ_S6_jSB_EPFvSJ_S6_E
684}
685{
686    serial/typeinfo
687    Memcheck:Leak
688    fun:__builtin_new
689    fun:_Znwj
690    fun:_ZN4ncbi7objects*11GetTypeInfoEv
691}
692{
693    serial/typeinfo
694    Memcheck:Leak
695    fun:_Znwj
696    fun:_ZN4ncbi7objects*11GetTypeInfoEv
697}
698{
699    serial/typeinfo
700    Memcheck:Leak
701    fun:__builtin_new
702    fun:_Znwj
703    fun:_ZN4ncbi30CPrimitiveTypeInfoIntFunctionsI?E14CreateTypeInfoEv
704}
705{
706    serial/typeinfo
707    Memcheck:Leak
708    fun:_Znwj
709    fun:_ZN4ncbi30CPrimitiveTypeInfoIntFunctionsI?E14CreateTypeInfoEv
710}
711{
712    serial/enuminfo
713    Memcheck:Leak
714    fun:__builtin_new
715    fun:_Znwj
716    fun:_ZN4ncbi24CreateEnumeratedTypeInfoI*21CEnumeratedTypeValuesE
717}
718{
719    serial/enuminfo
720    Memcheck:Leak
721    fun:_Znwj
722    fun:_ZN4ncbi24CreateEnumeratedTypeInfoI*21CEnumeratedTypeValuesE
723}
724{
725    serial/choice
726    Memcheck:Leak
727    fun:__builtin_new
728    fun:_Znwj
729    fun:_ZN4ncbi15CChoiceTypeInfo10AddVariantEPKcPKvRKNS_8CTypeRefE
730}
731{
732    serial/choice
733    Memcheck:Leak
734    fun:_Znwj
735    fun:_ZN4ncbi15CChoiceTypeInfo10AddVariantEPKcPKvRKNS_8CTypeRefE
736}
737{
738    serial/std
739    Memcheck:Leak
740    fun:__builtin_new
741    fun:_Znwj
742    fun:_ZN4ncbi12CStdTypeInfo*CreateTypeInfo*
743}
744{
745    serial/std
746    Memcheck:Leak
747    fun:_Znwj
748    fun:_ZN4ncbi12CStdTypeInfo*CreateTypeInfo*
749}
750{
751    GProf/profil_counter
752    Memcheck:Cond
753    fun:profil_counter
754    fun:*
755}
756{
757    CSeqVector/tables
758    Memcheck:Leak
759    fun:__builtin_vec_new
760    fun:_Znaj
761    fun:_ZGVZN4ncbi7objects10CSeqVector18sx_GetConvertTableENS0_14CSeq_data_Base8E_ChoiceES3_bE6tables
762}
763{
764    CSeqVector/tables
765    Memcheck:Leak
766    fun:_Znaj
767    fun:_ZGVZN4ncbi7objects10CSeqVector18sx_GetConvertTableENS0_14CSeq_data_Base8E_ChoiceES3_bE6tables
768}
769{
770    boost/sigaltstack
771    Memcheck:Param
772    sigaltstack(ss)
773    fun:sigaltstack
774    fun:_ZN5boost6detail14signal_handlerD1Ev
775}
776{
777   boost/test_framework_impl::clear
778   Memcheck:Addr4
779   fun:_ZN5boost9unit_test14framework_impl5clearEv
780   fun:_ZN5boost9unit_test14framework_implD1Ev
781   fun:__tcf_3
782}
783{
784    LZO/do_compress
785    Memcheck:Cond
786    fun:do_compress
787    fun:lzo1x_1_compress
788}
789{
790    LZO/do_compress V8
791    Memcheck:Value8
792    fun:do_compress
793    fun:lzo1x_1_compress
794}
795{
796    STL/locale
797    Memcheck:Leak
798    fun:__builtin_vec_new
799    fun:_Znwj
800    fun:_ZNSt6locale7classicEv
801}
802{
803    STL/uncaught_exception
804    Memcheck:Leak
805    fun:malloc
806    fun:__cxa_get_globals
807    fun:_ZSt18uncaught_exceptionv
808}
809{
810    libc/dlrelocate
811    Memcheck:Cond
812    fun:_dl_relocate_object
813    fun:*
814}
815{
816    libc/dlopen
817    Memcheck:Leak
818    fun:malloc
819    fun:add_to_global
820    fun:dl_open_worker
821}
822{
823    libc/dlopen
824    Memcheck:Leak
825    fun:calloc
826    fun:_dlerror_run
827}
828{
829    libc/dlopen
830    Memcheck:Leak
831    fun:malloc
832    fun:decompose_rpath
833    fun:_dl_map_object
834}
835{
836    libc/dlopen
837    Memcheck:Leak
838    fun:malloc
839    fun:_dl_map_object_deps
840}
841{
842    libc/dlopen
843    Memcheck:Leak
844    fun:malloc
845    fun:_dl_new_object
846}
847{
848    libc/dlopen
849    Memcheck:Leak
850    fun:calloc
851    fun:_dl_new_object
852}
853{
854    libc/dlopen
855    Memcheck:Leak
856    fun:malloc
857    fun:open_rpath
858    fun:_dl_map_object
859}
860{
861    libc/dlopen
862    Memcheck:Leak
863    fun:calloc
864    fun:_dl_check_map_versions
865}
866{
867    iostream/buffer
868    Memcheck:Leak
869    fun:__builtin_vec_new
870    fun:_Znaj
871    fun:_ZNSt13basic_filebufIwSt11char_traitsIwEE27_M_allocate_internal_bufferEv
872}
873{
874    iostream/buffer
875    Memcheck:Leak
876    fun:_Znaj
877    fun:_ZNSt13basic_filebufIwSt11char_traitsIwEE27_M_allocate_internal_bufferEv
878}
879{
880    iostream/buffer
881    Memcheck:Leak
882    fun:__builtin_vec_new
883    fun:_Znaj
884    fun:_ZNSt13basic_filebufIcSt11char_traitsIcEE27_M_allocate_internal_bufferEv
885}
886{
887    iostream/buffer
888    Memcheck:Leak
889    fun:_Znaj
890    fun:_ZNSt13basic_filebufIcSt11char_traitsIcEE27_M_allocate_internal_bufferEv
891}
892{
893    iostream/sync_with_stdio
894    Memcheck:Leak
895    fun:_Znam
896    fun:_ZNSt13basic_filebufI?St11char_traitsI?EE27_M_allocate_internal_bufferEv*
897    fun:_ZN9__gnu_cxx13stdio_filebuf*char_traitsI?EEC1EP8_IO_FILESt13_Ios_Openmodem
898    fun:_ZNSt8ios_base15sync_with_stdioEb
899}
900{
901    _dl_open
902    Memcheck:Addr4
903    fun:*
904    fun:*
905    fun:_dl_catch_error
906    fun:_dl_open
907}
908{
909    _dl_map_object
910    Memcheck:Addr4
911    fun:*
912    fun:*
913    fun:_dl_map_object
914}
915
916
917
918################################################################################
919#
920# Helgrind
921#
922################################################################################
923
924# System issues
925{
926   CRT/throw runtime_error("...")
927   Helgrind:Race
928   fun:uw_install_context_1
929   fun:_Unwind_RaiseException
930   fun:__cxa_throw
931   fun:*
932}
933{
934   corelib/SSystemFastMutex::Lock() -- CXX-10523
935   Helgrind:Race
936   fun:_ZN4ncbi23ncbi_namespace_mutex_mt12SSystemMutex4LockENS0_16SSystemFastMutex14ELockSemanticsE
937   fun:_ZNK4ncbi11SSimpleLockINS_23ncbi_namespace_mutex_mt12SSystemMutexEEclERS2_
938   fun:*
939   fun:*
940   fun:*
941   fun:*
942   fun:*
943   fun:ThreadWrapperCallerImpl
944}
945{
946   corelib/CSafeStatic<ncbi::CTls -- CXX-10544
947   Helgrind:Race
948   fun:_ZN4ncbi11CSafeStaticINS_4CTlsIiEENS_20CStaticTls_CallbacksIiEEE3GetEv
949   fun:*
950   fun:_ZN4ncbi14CInGroupThread4MainEv
951   fun:_ZN4ncbi7CThread7WrapperEPv
952   fun:_ZN4ncbi19ThreadWrapperCallerEPv
953   fun:ThreadWrapperCallerImpl
954}
955{
956   corelib/CSystemInfo::GetVirtualMemoryPageSize() - static cashed value - false positive
957   Helgrind:Race
958   fun:_ZN4ncbi11CSystemInfo24GetVirtualMemoryPageSizeEv
959}
960{
961   corelib/test/test_tls_object - global statics vars, just not important, ignore -- CXX-10546
962   Helgrind:Race
963   fun:_ZSt3maxImERKT_S2_S2_
964   fun:_Z7messagePKcS0_dS0_dm
965   fun:_ZN17CTestTlsObjectApp7RunTestEv
966}
967{
968   corelib/test/test_tls_object - global statics vars, just not important, ignore -- CXX-10546
969   Helgrind:Race
970   fun:_Z7messagePKcS0_dS0_dm
971   fun:_ZN17CTestTlsObjectApp7RunTestEv
972   fun:_ZN17CTestTlsObjectApp10Thread_RunEi
973}
974{
975   corelib/test/test_tls_object - throw runtime_error(""), ignore -- CXX-10546
976   Helgrind:Race
977   fun:_Unwind_RaiseException
978   fun:__cxa_throw
979   fun:_ZN14CObjectWithTLSC1ENS_12EObjectPlaceE
980   fun:_ZN15CObjectWithTLS3C1Ei
981}
982