hpcgarage/spatter

ASAN reports Invalid alignment requested in aligned_alloc

Opened this issue · 0 comments

ASAN reports Invalid alignment call aligned_alloc from sp_alloc()

Example:
Invalid alignment requested in alighned_alloc : 64, alignment must be a power of two and the requested size 0x338 must be a multiple of alignment (thread T0)
at 0x7ffff74b5387 __interceptor_aligned_alloc (asan_malloc_linux.cpp:192)
at 0x5555555999a1 sp_malloc (sp_alloc.c:46)

This causes the regression tests to fail when they are run using a debug build of spatter on linux.