Name and Institution (Required)
Name: Bob Yantosca
Institution:
Confirm you have reviewed the following documentation
Description of your issue or question
I ran the 14.3.0-alpha.6 code (head commit: e4145fe) with the memory sanitizer option (cmake -DSANITIZE=y) and found the folloiwng memory leaks.
=================================================================
==1495473==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 107464 byte(s) in 133 object(s) allocated from:
#0 0x14815712993f in __interceptor_malloc ../../.././libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x1bd566d in __hco_filedata_mod_MOD_filedata_init /n/holyscratch01/jacob_lab/ryantosca/tests/cloudj/test_memory/CodeDir/src/HEMCO/src/Core/hco_filedata_mod.F90:174
#2 0x202020202020201f (<unknown module>)
Direct leak of 29248 byte(s) in 8 object(s) allocated from:
#0 0x14815712993f in __interceptor_malloc ../../.././libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x10c438e in __histcontainer_mod_MOD_histcontainer_create /n/holyscratch01/jacob_lab/ryantosca/tests/cloudj/test_memory/CodeDir/src/GEOS-Chem/History/histcontainer_mod.F90:319
#2 0x202020202020201f (<unknown module>)
Direct leak of 3720 byte(s) in 1 object(s) allocated from:
#0 0x14815712993f in __interceptor_malloc ../../.././libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x18f6ae1 in __state_chm_mod_MOD_init_state_chm /n/holyscratch01/jacob_lab/ryantosca/tests/cloudj/test_memory/CodeDir/src/GEOS-Chem/Headers/state_chm_mod.F90:803
Direct leak of 3160 byte(s) in 1 object(s) allocated from:
#0 0x14815712993f in __interceptor_malloc ../../.././libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x18fe162 in __state_chm_mod_MOD_init_state_chm /n/holyscratch01/jacob_lab/ryantosca/tests/cloudj/test_memory/CodeDir/src/GEOS-Chem/Headers/state_chm_mod.F90:1027
SUMMARY: AddressSanitizer: 143592 byte(s) leaked in 143 allocation(s).
I believe the first two leaks are known issues but the last two are a result of recent modifications. I will track these down and release a PR to fix the leaks.
Tagging @msulprizio @lizziel
Name and Institution (Required)
Name: Bob Yantosca
Institution:
Confirm you have reviewed the following documentation
Description of your issue or question
I ran the 14.3.0-alpha.6 code (head commit: e4145fe) with the memory sanitizer option (
cmake -DSANITIZE=y) and found the folloiwng memory leaks.I believe the first two leaks are known issues but the last two are a result of recent modifications. I will track these down and release a PR to fix the leaks.
Tagging @msulprizio @lizziel