* add a reasonable first wack at a suppressions file for Valgrind to ignore
some stuff that we can't do anything about * fix some more memory leaks in session_dir code This commit was SVN r7086.
Этот коммит содержится в:
родитель
bf8a3632bb
Коммит
d8e5d80892
94
contrib/openmpi-valgrind.supp
Обычный файл
94
contrib/openmpi-valgrind.supp
Обычный файл
@ -0,0 +1,94 @@
|
|||||||
|
# -*- text -*-
|
||||||
|
#
|
||||||
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||||||
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||||||
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||||
|
# University of Stuttgart. All rights reserved.
|
||||||
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
|
# All rights reserved.
|
||||||
|
# $COPYRIGHT$
|
||||||
|
#
|
||||||
|
# Additional copyrights may follow
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
#
|
||||||
|
# OPAL suppressions
|
||||||
|
#
|
||||||
|
###############################################################
|
||||||
|
|
||||||
|
# weirdness in init routines on Gentoo
|
||||||
|
{
|
||||||
|
linux_pthread_init
|
||||||
|
Memcheck:Leak
|
||||||
|
fun:calloc
|
||||||
|
fun:allocate_dtv
|
||||||
|
fun:_dl_allocate_tls_storage
|
||||||
|
fun:_dl_allocate_tls
|
||||||
|
}
|
||||||
|
{
|
||||||
|
linux_pthread_init2
|
||||||
|
Memcheck:Leak
|
||||||
|
fun:calloc
|
||||||
|
fun:_dl_tls_setup
|
||||||
|
fun:__pthread_initialize_minimal
|
||||||
|
}
|
||||||
|
{
|
||||||
|
linux_pthread_init3
|
||||||
|
Memcheck:Leak
|
||||||
|
fun:memalign
|
||||||
|
fun:_dl_allocate_tls_storage
|
||||||
|
fun:_dl_allocate_tls
|
||||||
|
fun:__pthread_initialize_minimal
|
||||||
|
}
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
#
|
||||||
|
# ORTE suppressions
|
||||||
|
#
|
||||||
|
###############################################################
|
||||||
|
|
||||||
|
# inet_ntoa on linux mallocs a static buffer. We can't free
|
||||||
|
# it, so we have to live with it
|
||||||
|
{
|
||||||
|
linux_inet_ntoa
|
||||||
|
Memcheck:Leak
|
||||||
|
fun:malloc
|
||||||
|
fun:inet_ntoa
|
||||||
|
}
|
||||||
|
{
|
||||||
|
linux_inet_ntoa_thread
|
||||||
|
Memcheck:Leak
|
||||||
|
fun:calloc
|
||||||
|
fun:pthread_setspecific
|
||||||
|
fun:inet_ntoa
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
#
|
||||||
|
# OMPI suppressions
|
||||||
|
#
|
||||||
|
###############################################################
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
#
|
||||||
|
# Suppressions for various commonly-used packages
|
||||||
|
#
|
||||||
|
###############################################################
|
||||||
|
|
||||||
|
# Portals reference implementation has a read from invalid issue
|
||||||
|
{
|
||||||
|
portals_send
|
||||||
|
Memcheck:Param
|
||||||
|
socketcall.send(msg)
|
||||||
|
fun:send
|
||||||
|
fun:utcp_sendbytes
|
||||||
|
fun:utcp_sendto
|
||||||
|
fun:utcp_msg_wait
|
||||||
|
}
|
@ -236,7 +236,7 @@ int orte_session_dir(bool create, char *prfx, char *usr, char *hostid,
|
|||||||
free(fulldirpath); fulldirpath = NULL;
|
free(fulldirpath); fulldirpath = NULL;
|
||||||
} else {
|
} else {
|
||||||
tmp = strdup(OMPI_DEFAULT_TMPDIR);
|
tmp = strdup(OMPI_DEFAULT_TMPDIR);
|
||||||
fulldirpath = strdup(opal_os_path(false, tmp, sessions, NULL));
|
fulldirpath = opal_os_path(false, tmp, sessions, NULL);
|
||||||
if (ORTE_SUCCESS == orte_check_dir(create, fulldirpath)) { /* check for existence and access, or create it */
|
if (ORTE_SUCCESS == orte_check_dir(create, fulldirpath)) { /* check for existence and access, or create it */
|
||||||
return_code = ORTE_SUCCESS;
|
return_code = ORTE_SUCCESS;
|
||||||
goto COMPLETE;
|
goto COMPLETE;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user