asan finds issues in netcdf_handler
Description
Environment
Activity
OK. Sorry that forgot. I installed libdap with asan before building bes.
I think the question that James is asking is:
Did you build and install libdap4 with asan and then use that to build the BES when you built and tested the BES with asan?
And in your reply you said:
Yes, I did this before building bes.
./configure --prefix=$prefix --enable-developer --enable-asan
make -j9
make check -j9
I've got no errors for libdap.
Which does not indicate that you installed the asan built libdap4 before building the BES...
Yes, I did this before building bes.
./configure --prefix=$prefix --enable-developer --enable-asan
make -j9
make check -j9
make install
I've got no errors for libdap.
Slav, did you also build and link with libdap built with asan?
./configure --prefix=$prefix --enable-developer --with-dependencies=$prefix/deps --enable-asan
make -j9
make check -j9
Look at bes.log
Most errors due container-overflow (see new nc4_netcdf_handler_tests.log)
To skip such errors:
export ASAN_OPTIONS=detect_container_overflow=0
make -j9
make check -j9
All tests successful. No bes.log file.