Runtime CHECK ((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))

136 views
Skip to first unread message

Francisco Moraes

unread,
Jan 10, 2022, 2:29:29 PM1/10/22
to thread-sanitizer
What's the meaning of the following CHECK?

FATAL: ThreadSanitizer CHECK failed: ../../../../libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h:73 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0x7b0000000000, 0xfffffffffffffff4)

Is there any workaround or change to avoid it?

Francisco

Dmitry Vyukov

unread,
Jan 11, 2022, 7:54:36 AM1/11/22
to Francisco Moraes, thread-sanitizer
0xfffffffffffffff4 is ENOMEM (12) right?
Maybe your OS has overcommit disabled or something similar that does
not allow to mmap large regions of virtual address space.
Reply all
Reply to author
Forward
0 new messages