Why ASan crashes one run in four in Docker on Ubuntu

· Joshua Rogers · Nov. 24, 2026, 10:50 a.m.
Summary
The post discusses an issue with AddressSanitizer (ASan) crashing in Docker on Ubuntu, highlighting that the problem occurs in one out of four runs due to a misunderstanding of how Ubuntu randomizes address space. The author also shares a potential fix related to the system's mmap randomization settings.