ndt_gpu crashes with Eigen Error

asked 2019-08-14 13:15:25 -0500

Maximus5684 gravatar image

updated 2019-08-14 13:16:34 -0500

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.
edit retag flag offensive close merge delete

Comments

1

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?

Kenji Miyake gravatar imageKenji Miyake ( 2019-08-14 20:06:51 -0500 )edit

Yes, I did. Thanks for checking into this. I'll see if I can figure out what's going on.

Maximus5684 gravatar imageMaximus5684 ( 2019-08-15 13:16:47 -0500 )edit