Skip to content

Lower ASLR entropy on CI runners so ThreadSanitizer can run (#238) - #242

Merged
ahcorde merged 1 commit into
lyricalfrom
ahcorde/lyrical/bp/238
Nov 3, 2026
Merged

ahcorde merged 1 commit into
lyricalfrom
ahcorde/lyrical/bp/238

Conversation

@ahcorde

@ahcorde ahcorde commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

The Thread Sanitizer job aborts every TSan-instrumented test with "FATAL: ThreadSanitizer: encountered an incompatible memory layout but was unable to disable ASLR" because the ubuntu-latest runner kernel defaults to vm.mmap_rnd_bits=32. The industrial_ci container shares the host kernel, so lower the entropy on the host before running it.

The Thread Sanitizer job aborts every TSan-instrumented test with
"FATAL: ThreadSanitizer: encountered an incompatible memory layout but was
unable to disable ASLR" because the ubuntu-latest runner kernel defaults to
vm.mmap_rnd_bits=32. The industrial_ci container shares the host kernel, so
lower the entropy on the host before running it.

Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com>
@ahcorde ahcorde self-assigned this Nov 3, 2026
@ahcorde
ahcorde merged commit 085d98f into lyrical Nov 3, 2026
4 checks passed
@ahcorde
ahcorde deleted the ahcorde/lyrical/bp/238 branch November 3, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants