control-toolbox
control-toolbox copied to clipboard
TermTaskSpaceCG segfaults when compiled with -DCMAKE_BUILD_TYPE=Debug
It works fine with -DCMAKE_BUILD_TYPE=Relwithdebinfo and Release.
- probably coming from DerivativesJIT
something like this would fail, for state-dim 12. See line 420 onwards Eigen::Matrix<CGScalar, 12, 1> test = x.head(STATE_DIM);
FixBaseIKTest: /usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:258: void Eigen::PlainObjectBase<Eigen::Matrix<CppAD::AD<CppAD::cg::CG<double> >, 12, 1, 0, 12, 1> >::resize(Index, Index) [Derived = Eigen::Matrix<CppAD::AD<CppAD::cg::CG<double> >, 12, 1, 0, 12, 1>]: Assertion `(!(RowsAtCompileTime!=Dynamic) || (rows==RowsAtCompileTime)) && (!(ColsAtCompileTime!=Dynamic) || (cols==ColsAtCompileTime)) && (!(RowsAtCompileTime==Dynamic && MaxRowsAtCompileTime!=Dynamic) || (rows<=MaxRowsAtCompileTime)) && (!(ColsAtCompileTime==Dynamic && MaxColsAtCompileTime!=Dynamic) || (cols<=MaxColsAtCompileTime)) && rows>=0 && cols>=0 && "Invalid sizes when resizing a matrix or array."' failed.
Aborted (core dumped)