Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

How to change LSAN variables #231

Open
parequena opened this issue Oct 11, 2022 · 1 comment
Open

How to change LSAN variables #231

parequena opened this issue Oct 11, 2022 · 1 comment

Comments

@parequena
Copy link

Hello, I'm trying to do some stuff with this template as base, and I have some leaks, but I don't know how to set the variables on this project.

==86737==LeakSanitizer has encountered a fatal error.
==86737==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==86737==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

My knowledge on CMake is not so big, and this template is not so easy to use.

@ClausKlein
Copy link
Contributor

on bash:
export LSAN_OPTIONS='verbosity=1:log_threads=1'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants