asan finds issues in netcdf_handler

Description

None

Environment

None

Activity

Show:
Slav Korolev
January 10, 2019, 4:31 PM

OK. Sorry that forgot. I installed libdap with asan before building bes.

Nathan Potter
January 10, 2019, 4:16 PM
Edited

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...

Slav Korolev
January 10, 2019, 4:11 PM
Edited

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.

James Gallagher
January 10, 2019, 4:04 PM

Slav, did you also build and link with libdap built with asan?

Slav Korolev
January 9, 2019, 9:43 PM
Edited

./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.

Done

Assignee

Slav Korolev

Reporter

James Gallagher

Labels

None

Fix versions

None

Time remaining

0m

Story Points

None

Epic Link

Priority

Medium