Suppress various false memory leak detection for valgrind and purify

Description

Memory leaks at pbs_comm, need analysis to make it leak-free code.

Acceptance Criteria

Need to be memory-leak free build.

Activity

Show:
Subhasis Bhattacharya
January 29, 2018, 8:40 AM

These are not memory leaks, rather they are just annoying for somebody scanning for leaks. These are things that we allocate once and do not bother to destroy since the process is going down anyway. We will need to add code to remove these memory blocks in debug mode, or add to the valgrind suppression file, to not confuse developers hunting for leaks.

Subhasis Bhattacharya
January 29, 2018, 8:42 AM

Some more similar false leaks seen from purify that we need to suppress - thanks Hiren.

calloc [f:\dd\vctools\crt_bld\self_x86\crt\src\dbgcalloc.c:55]
tpp_sock_resolve_host [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_platform.c:748]
tpp_get_addresses [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_util.c:1573]
tpp_init [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_client.c:712]
main_thread [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\pbsd_main.c:1872]
main [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\pbsd_main.c:2647]

calloc [f:\dd\vctools\crt_bld\self_x86\crt\src\dbgcalloc.c:55]
tpp_sock_resolve_host [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_platform.c:748]
tpp_get_addresses [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_util.c:1573]
tpp_open [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_client.c:833]
mom_ping_need [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\node_manager.c:1154]
ping_a_mom_mcast [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\node_manager.c:1383]
ping_nodes [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\node_manager.c:3181]
net_restore_handler [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\pbsd_main.c:375]
tpp_ready_fds [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_client.c:1705]
tpp_poll [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_client.c:1219]

malloc [f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c:55]
mk_hostname [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_util.c:901]
set_tpp_config [c:\users\pbsadmin.pbsworks\builds\pbspro\src\lib\libtpp\tpp_dis.c:836]
main_thread [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\pbsd_main.c:1853]
main [c:\users\pbsadmin.pbsworks\builds\pbspro\src\server\pbsd_main.c:2647]

Assignee

Unassigned

Reporter

Brem Anand

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Affects versions

Priority

Low
Configure