Index: lib/sanitizer_common/sanitizer_linux_libcdep.cc =================================================================== --- lib/sanitizer_common/sanitizer_linux_libcdep.cc +++ lib/sanitizer_common/sanitizer_linux_libcdep.cc @@ -91,6 +91,10 @@ break; prev_end = end; } + // /proc/maps adjusts the real start address so as not to include the stack + // guard page. Undo the adjustment here in case rl is in the guard page. + if (start > prev_end) + start -= GetPageSizeCached(); CHECK((uptr)&rl >= start && (uptr)&rl < end); // Get stacksize from rlimit, but clip it so that it does not overlap