Configure ASAN environment variables
Closed, ResolvedPublic

Description

Our tests fail on Freebsd because of a missing environment variables for ASAN: https://build.kde.org/job/Applications/job/kdenlive/job/kf5-qt5%20FreeBSDQt5.12/169/testReport/(root)/projectroot/runTests/

It would be nice to be able to select which one to use (in this case ASAN_OPTIONS=detect_container_overflow=0

alcinos created this task.Mar 5 2019, 10:58 AM
Restricted Application added a subscriber: sysadmin. · View Herald TranscriptMar 5 2019, 10:58 AM
bcooksley added a subscriber: bcooksley.

I assume you've gone through the steps needed to ensure this is a false positive and not an actual bug which needs to be fixed?

In terms of ASAN environment variables, are you looking to change this for all platforms, or just FreeBSD?

So this error only arises on Freebsd, and the tests pass normally on the Suse instance, as well locally on my Arch. I assume it's a platform dependent false positive?
It's a bit unfortunate because the traceback is not symbolized, so it's difficult to understand where this comes from. Would it be possible to install llvm-symbolizer on the image?

I've asked the folks who look after our FreeBSD machines to install llvm-symbolizer.
In the meantime, the above change should resolve this issue.