mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix spurious ASAN __cxa_thread_atexit_impl() leaks
Set use_tls back to its default of 1. This is required to work around an ASAN/LSAN virtualization bug but seems to be behind the random __cxa_thread_atexit_impl() leaks?
This commit is contained in:
parent
cb368f70ee
commit
c43e040c7c
1 changed files with 2 additions and 1 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -118,7 +118,8 @@ jobs:
|
|||
# which seems to be an issue with TLS support in newer glibc versions under virtualized
|
||||
# environments. Follow https://github.com/google/sanitizers/issues/1342 and
|
||||
# https://github.com/google/sanitizers/issues/1409 to track this issue.
|
||||
LSAN_OPTIONS: verbosity=0:log_threads=0:use_tls=0
|
||||
# UPDATE: this can cause spurious leak reports for __cxa_thread_atexit_impl() under glibc.
|
||||
LSAN_OPTIONS: verbosity=0:log_threads=0:use_tls=1
|
||||
run: |
|
||||
make test
|
||||
|
||||
|
|
Loading…
Reference in a new issue