Commit Graph

6018 Commits

Author SHA1 Message Date
Ed Hartnett
3f4b48fc6a temporarily turned off dap4_test/test_remote.sh 2018-11-21 09:17:44 -07:00
Ed Hartnett
f2ecde100c temporarily turned off dap4_test/test_remote.sh 2018-11-21 08:34:22 -07:00
Ed Hartnett
5a1836bebb temporarily turned off dap4_test/test_remote.sh 2018-11-21 08:26:21 -07:00
Ed Hartnett
26db90e4e3 changes 2018-11-21 07:39:05 -07:00
Ed Hartnett
c1ffb92a7f checking return value for HDF5 function call 2018-11-20 15:43:34 -07:00
Ed Hartnett
8dc1ffea38 removing HDF5 type info from libsrc4 2018-11-20 14:26:11 -07:00
Ed Hartnett
ab963e3d41 removing HDF5 type info from libsrc4 2018-11-20 14:24:40 -07:00
Ed Hartnett
9aedbd0c41 changing over native_hdf_typeid 2018-11-20 10:55:45 -07:00
Ed Hartnett
6829a583da changing over native_hdf_typeid 2018-11-20 10:52:43 -07:00
Ed Hartnett
52d58ecd2e changing over native_hdf_typeid 2018-11-20 10:49:26 -07:00
Ed Hartnett
d29feb53de have switched location of hdf_native_typeid 2018-11-20 10:29:02 -07:00
Ed Hartnett
9e970562cf more type work 2018-11-20 10:01:39 -07:00
Ed Hartnett
c072c89357 more type work 2018-11-20 09:57:47 -07:00
Ed Hartnett
2708f5b660 more type work 2018-11-20 09:11:28 -07:00
Ed Hartnett
e11e9b7bfd more type work 2018-11-20 09:06:40 -07:00
Ed Hartnett
a431c61573 more type work 2018-11-20 08:21:02 -07:00
Ed Hartnett
5104262f6b changing types 2018-11-20 08:00:48 -07:00
Ed Hartnett
7d01ffb030 merged master 2018-11-20 06:38:47 -07:00
Ed Hartnett
6bebb703a6 trying types again 2018-11-20 06:37:53 -07:00
Ward Fisher
231e1a28af
Merge pull request #1212 from Unidata/v4.6.2-release-branch.wif
V4.6.2 release branch
2018-11-19 16:23:10 -07:00
Ward Fisher
6b919fc048 Merge branch 'ejh_fix_par_builds' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into v4.6.2-release-branch.wif 2018-11-19 14:59:04 -07:00
Ward Fisher
c259a1e9e9
Merge branch 'master' into v4.6.2-release-branch.wif 2018-11-19 12:29:41 -07:00
Ward Fisher
c950874a9c Corrected a cleanup issue that was left in whilst debugging. 2018-11-19 12:21:06 -07:00
Ed Hartnett
b5be30175d cleanup 2018-11-19 09:35:29 -07:00
Ed Hartnett
1d5307b600 merged in ejh_next_10 2018-11-19 09:25:04 -07:00
Ed Hartnett
3ec8b34bfb removed unneeded HDF5 fields 2018-11-19 09:23:43 -07:00
Ed Hartnett
fe62f61509 fixed makefile typo 2018-11-18 14:59:05 -07:00
Ed Hartnett
6c9ccd97d8 move cleanup to makefile 2018-11-18 13:43:49 -07:00
Ed Hartnett
9796831e70 change rm in test script to use specific file names so parallel builds continue to work 2018-11-18 09:41:21 -07:00
Ward Fisher
128b649190 Fixed a whitespace issue that occurs on OSX. 2018-11-16 15:08:17 -07:00
Ward Fisher
68cffc17af Added release date. 2018-11-16 12:40:17 -07:00
Ed Hartnett
8fe3ee0dc4 clean up 2018-11-16 10:11:41 -07:00
Ed Hartnett
4c1b3a225b clean up 2018-11-16 10:07:54 -07:00
Ed Hartnett
262763c254 clean up 2018-11-16 10:01:31 -07:00
Ed Hartnett
8ae5ebf6bc remove unneeded params from function 2018-11-16 08:26:09 -07:00
Ed Hartnett
0289029508 merged master 2018-11-15 17:04:45 -07:00
Ward Fisher
38e6fc6026
Merge pull request #1203 from Unidata/v4.6.2-release-branch.wif
V4.6.2 release branch
2018-11-15 17:02:25 -07:00
Ed Hartnett
60a33b9e8b removed hdf5 stuff from NC_FIELD_INFO_T 2018-11-15 16:46:22 -07:00
Ed Hartnett
8aa4577bef merged ejh_next_7 2018-11-15 16:40:14 -07:00
Ward Fisher
a41dd76abe Merge branch 'ejh_static_szip' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into v4.6.2-release-branch.wif 2018-11-15 15:50:33 -07:00
Ward Fisher
ce78cf2d73
Merge branch 'master' into MT-for-MSVC-release 2018-11-15 15:49:05 -07:00
Ward Fisher
572121d3dc
Merge pull request #1201 from Unidata/v4.6.2-release-branch.wif
V4.6.2 release branch.wif
2018-11-15 14:12:40 -07:00
Ward Fisher
9dd9a19142 Merge remote-tracking branch 'origin/ncgenmem.dmh' into v4.6.2-release-branch.wif 2018-11-15 10:51:59 -07:00
Ward Fisher
9e1a8565c2 Merge branch 'tmptmp' into v4.6.2-release-branch.wif 2018-11-15 10:32:18 -07:00
Ward Fisher
462bfbe15f Corrected whitespace issue on OSX 2018-11-15 10:32:07 -07:00
Dennis Heimbigner
b89e3f50d0 Fix introduced alert https://lgtm.com/projects/g/Unidata/netcdf-c/rev/pr-5fdf9cb537c1a981abb3838fdfb061b1088636f0
by removing offending, unused global variable.
2018-11-15 10:31:36 -07:00
Ward Fisher
53dc9022be Merge remote-tracking branch 'origin/ncgenmem.dmh' into tmptmp 2018-11-15 10:20:08 -07:00
Ward Fisher
6de931cec2 Merge branch 'fix_warnings' of https://github.com/gsjaardema/netcdf-c into v4.6.2-release-branch.wif 2018-11-15 10:02:52 -07:00
Ward Fisher
907ed8d95f
Merge branch 'master' into fix_warnings 2018-11-15 10:02:09 -07:00
Dennis Heimbigner
751300ec59 Fix more memory leaks in netcdf-c library
This is a follow up to PR https://github.com/Unidata/netcdf-c/pull/1173

Sorry that it is so big, but leak suppression can be complex.

This PR fixes all remaining memory leaks -- as determined by
-fsanitize=address, and with the exceptions noted below.

Unfortunately. there remains a significant leak that I cannot
solve. It involves vlens, and it is unclear if the leak is
occurring in the netcdf-c library or the HDF5 library.

I have added a check_PROGRAM to the ncdump directory to show the
problem.  The program is called tst_vlen_demo.c To exercise it,
build the netcdf library with -fsanitize=address enabled. Then
go into ncdump and do a "make clean check".  This should build
tst_vlen_demo without actually executing it.  Then do the
command "./tst_vlen_demo" to see the output of the memory
checker.  Note the the lost malloc is deep in the HDF5 library
(in H5Tvlen.c).

I am temporarily working around this error in the following way.
1. I modified several test scripts to not execute known vlen tests
   that fail as described above.
2. Added an environment variable called NC_VLEN_NOTEST.
   If set, then those specific tests are suppressed.

This should mean that the --disable-utilities option to
./configure should not need to be set to get a memory leak clean
build.  This should allow for detection of any new leaks.

Note: I used an environment variable rather than a ./configure
option to control the vlen tests. This is because it is
temporary (I hope) and because it is a bit tricky for shell
scripts to access ./configure options.

Finally, as before, this only been tested with netcdf-4 and hdf5 support.
2018-11-15 10:00:38 -07:00