|[eigen] Eigen and clang address sanitizer|
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
I compile an application using Eigen with clang address sanitizer, and run this application but hit a SEGV.
I see there was a bug "GCC address sanitizer breaks 16-byte alignment of glibc malloc" (https://eigen.tuxfamily.org/bz/show_bug.cgi?id=552). It seems this is a same issue with the gcc one.
we use macro
To verify, I'm manually define
The SEGV is caused by Eigen::internal::pstore(double* to, double vector const& from), when we call _mm256_store_pd(to, from), the address of to is not aligned to 32.
Is there anyone hit a similar issue or is there anyone tried building and running an application using Eigen with clang address sanitizer instrumented ?
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|