You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a test, I ran the clang-asan container against a package that is clean at CRAN. It didn't get very far on either examples or tests:
SUMMARY: AddressSanitizer: alloc-dealloc-mismatch (/opt/R/devel-asan/lib/R/bin/exec/R+0xc6306) \
(BuildId: 272af7e16eb36c1b611bd4560b5c047b99d9c469) in free
==4698==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0
Googling the message leads to e.g. this GH issue suggesting we want to set the env var. Could a new config argument for env vars be added?
The text was updated successfully, but these errors were encountered:
eddelbuettel
changed the title
Possible ASAN false positve?
Possible ASAN false positve and/or need for more tuning parameters?
Apr 13, 2024
eddelbuettel
changed the title
Possible ASAN false positve and/or need for more tuning parameters?
Possible ASAN false positve, need for more tuning parameters?
Apr 13, 2024
Package RcppParallel also causes an ODR false positive (this is even noted in the official memtest README).
ASAN_OPTIONS needs to be extended by detect_odr_violation=0 to fix this particular problem.
setenv ASAN_OPTIONS 'detect_leaks=0'
[RcppParallel is run adding detect_odr_violation=0]
As a test, I ran the clang-asan container against a package that is clean at CRAN. It didn't get very far on either examples or tests:
Googling the message leads to e.g. this GH issue suggesting we want to set the env var. Could a new config argument for env vars be added?
The text was updated successfully, but these errors were encountered: