I am experimenting allocation failure on a large allocation:

==40324==WARNING: AddressSanitizer failed to allocate 0x002400ec3700 bytes

==40324==AddressSanitizer's allocator is terminating the process instead of 
returning 0

==40324==If you don't like this behavior set allocator_may_return_null=1

==40324==AddressSanitizer CHECK failed: 
../../../../libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) 
!= (0)" (0x0, 0x0)

    #0 0x7f3facdc0050 (/lib64/libasan.so.1+0x5d050)

    #1 0x7f3facdc42b3 in __sanitizer::CheckFailed(char const*, int, char 
const*, unsigned long long, unsigned long long) 
(/lib64/libasan.so.1+0x612b3)


The hardware has 1TB of core memory, and the same allocation works without 
problems without -fsanitize=address. 


Can anyone suggest a workaround? Thanks!


seba

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to