Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fsanitize testing #64

Open
aprokop opened this issue May 16, 2019 · 6 comments · May be fixed by #755
Open

Add fsanitize testing #64

aprokop opened this issue May 16, 2019 · 6 comments · May be fixed by #755
Labels
testing Anything to do with tests and CI

Comments

@aprokop
Copy link
Contributor

aprokop commented May 16, 2019

Found some issues in #63. Plus we would want to satisfy an optional requirement of xSDK (cf #58).

@aprokop aprokop changed the title Add valgrind testing Add fsanitize testing May 20, 2019
@aprokop
Copy link
Contributor Author

aprokop commented May 20, 2019

Actually, fsanitize is probably preferred to valgrind.

@masterleinad
Copy link
Collaborator

I just have problems running CMake using MPI then.

@dalg24
Copy link
Contributor

dalg24 commented May 20, 2019

You probably need a suppression file. Bruno had added one in DTK. Refer to ORNL-CEES/DataTransferKit@d2c8c4f

@masterleinad
Copy link
Collaborator

With -fsanitize=leak and surpressing errors for libopenpal.so(no CUDA), I currently see:

 SUMMARY: LeakSanitizer: 33065 byte(s) leaked in 407 allocation(s).
13:     #1 0x7fab0e05a547  (<unknown module>)
13:
13: Indirect leak of 80 byte(s) in 1 object(s) allocated from:
13:     #0 0x7fab12d80acb in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/liblsan.so.0+0xeacb)
13:     #1 0x7fab0a158edc  (<unknown module>)
13:
13: Indirect leak of 56 byte(s) in 1 object(s) allocated from:
13:     #0 0x7fab12d80acb in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/liblsan.so.0+0xeacb)
13:     #1 0x7f0dd9e75484  (<unknown module>)
13:     #2 0x3433  (<unknown module>)
13:
13: Indirect leak of 48 byte(s) in 2 object(s) allocated from:
13:     #0 0x7f0ddec05acb in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/liblsan.so.0+0xeacb)
13:     #1 0x7f0431fa9c4c  (<unknown module>)
13:

@aprokop aprokop added the testing Anything to do with tests and CI label Oct 25, 2019
@aprokop
Copy link
Contributor Author

aprokop commented Jul 22, 2022

Apparently we are not doing it, it's been 3 years.

@aprokop aprokop closed this as not planned Won't fix, can't repro, duplicate, stale Jul 22, 2022
@dalg24
Copy link
Contributor

dalg24 commented Jul 22, 2022

Sure. We can always re-open as necessary. I have a suppression file laying around somewhere for stuff from Boost. I typically didn't use with MPI (mostly because I usually don't enable to save time when developing these days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Anything to do with tests and CI
Projects
None yet
3 participants