Skip to content

Commit

Permalink
Bump ASAN quarantine to 32GB
Browse files Browse the repository at this point in the history
This is a workaround for very hard to trace crashes happening
in ASAN quarantine recycling, triggered by Mesa graphics libraries.

The 32G quarantine size is huge, but for now the workers are able
to accomodate this, and all current tests run to completion.

b/312772759
b/321746394
  • Loading branch information
kaidokert committed Jan 23, 2024
1 parent 15a210a commit 0b4e7ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion starboard/linux/shared/gyp_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ def GetTestEnvVariables(self):
# When failing, 'LeakSanitizer has encountered a fatal error' message would
# be printed at test shutdown, and env var LSAN_OPTIONS=verbosity=2 would
# further point to 'Scanning DTLS range ..' prior to crash.
return {'ASAN_OPTIONS': 'intercept_tls_get_addr=0'}
# quarantine_size is temporarily set to a huge value to prevent recycling
# from happening, as it crashes on Debian11+Mesa. TODO: b/321746394
return {'ASAN_OPTIONS': 'intercept_tls_get_addr=0:quarantine_size_mb=32768'}

0 comments on commit 0b4e7ca

Please sign in to comment.