mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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
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
|
# 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
|
# environments. Follow https://github.com/google/sanitizers/issues/1342 and
|
||||||
# https://github.com/google/sanitizers/issues/1409 to track this issue.
|
# 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: |
|
run: |
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user