ndt_gpu crashes with Eigen Error
Environment:
- Ubuntu 18.04.3
- Kernel 4.15.0-58-generic
- CUDA 10.0
- CuDNN 7.6.2
- Eigen 3.3.7
When I build Autoware 1.12.0 from source with the AUTOWARE_COMPILE_WITH_CUDA=1
environmental variable set, I get the following crash of ndt_gpu
when running with any method:
ndt_matching: /usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h:109: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = float; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (15)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
I got the same error, and it seemed to occur only in Debug build.
I decided to use Release build tentatively, but I feel it should be fixed.
Did you build Autoware in the Debug mode?
Yes, I did. Thanks for checking into this. I'll see if I can figure out what's going on.