Valgrind suppression for OS X 10.9
[alexxy/gromacs.git] / cmake / legacy_and_external.supp
index b65d3dbfa3c31c2137fe7324a47cdf464548a052..0e84ddeabacfda268e761e70646f004fa45d0cd7 100644 (file)
@@ -3,6 +3,25 @@
 # Memory leaks in the legacy code are excluded
 # Other problems besides memory leaks should NOT be excluded for legacy code
 
+# Ugly memory leak that depends on global variables being used to pass
+# information between routines.
+{
+   nsc_dclm_pbc
+   Memcheck:Leak
+   fun:calloc
+   fun:save_calloc
+   fun:ico_dot_dod
+   fun:make_unsp
+   fun:nsc_dclm_pbc
+}
+
+{
+   ctime_r
+   Memcheck:Leak
+   ...
+   fun:ctime_r
+}
+
 {
    libz
    Memcheck:Cond
    ...
    fun:PMPI_Init
 }
+{
+   MPI_Init/Addr8
+   Memcheck:Addr8
+   ...
+   fun:PMPI_Init
+}
 {
    MPI_Init/sched_setaffinity
    Memcheck:Param
    fun:bTimeSet
 }
 {
-   ffclose/tMPI_Thread_mutex_init_once
+   gmx_ffclose/tMPI_Thread_mutex_init_once
    Memcheck:Leak
    ...
    fun:tMPI_Thread_mutex_init_once
    fun:tMPI_Thread_mutex_lock
-   fun:ffclose
+   fun:gmx_ffclose
 }
 
 {
    fun:__vfprintf
 }
 
+{
+   printf
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:vfprintf_l
+}
+
 {
    strtof
    Memcheck:Leak
    ...
    fun:strtof_l
 }
+{
+   strtod
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:strtod_l
+}
 
 {
    scanf