Eigen 3.2 is required by GPD #75
Description
Recently we encountered random segmentation fault when deploy the software on several new machines. After investigation the problem is root caused to the Eigen (libeigen3-dev) version 3.3 installed from Ubuntu 18.04 bionic.
We also found the problem disappeared when replace Eigen with version 3.2
We shall update the docker scripts to use Eigen version 3.2. And make sure components dependent on Eigen, like PCL, GPD, and Grasp Library, are built after that.
Details
-
stdout log
Estimating local reference frames ...
Estimated 3 frames in 0.0000s.
Finding hand poses ...
Segmentation fault (core dumped) -
gdb backtrace
(gdb) bt
#0 0x00007ffa5582898d in __GI___libc_free (mem=0x25) at malloc.c:3103
README: updated for OpenVINO installation #1 0x00007ffa5d808c0f in Eigen::internal::handmade_aligned_free(void*) (ptr=) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:98
grasp_library: added visual marker #2 0x00007ffa5d808c0f in Eigen::internal::aligned_free(void*) (ptr=) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:179
README: removed end-tailing spaces #3 0x00007ffa5d808c0f in Eigen::internal::conditional_aligned_free(void*) (ptr=)
at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:230
README: updated linkage to github #4 0x00007ffa5d808c0f in Eigen::internal::conditional_aligned_delete_auto<double, true>(double*, unsigned long) (size=, ptr=) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:416
launch: added launch option for "cloud_topic" #5 0x00007ffa5d808c0f in Eigen::DenseStorage<double, -1, 3, -1, 0>::~DenseStorage() (this=0x7ffa2a2c5668, __in_chrg=)
at /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:468
docs/img: updated rviz2 results #6 0x00007ffa5d808c0f in Eigen::PlainObjectBase<Eigen::Matrix<double, 3, -1, 0, 3, -1> >::~PlainObjectBase() (this=0x7ffa2a2c5668, __in_chrg=) at /usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:98
README: noted user to customize .rviz for specific camera #7 0x00007ffa5d808c0f in Eigen::Matrix<double, 3, -1, 0, 3, -1>::~Matrix() (this=0x7ffa2a2c5668, __in_chrg=)
at /usr/include/eigen3/Eigen/src/Core/Matrix.h:178
README: noted user to customize .rviz for specific camera #8 0x00007ffa5d808c0f in gpd::util::PointList::~PointList() (this=0x7ffa2a2c5630, __in_chrg=)
at /home/intel/workspace/views/gpd/include/gpd/util/point_list.h:57
README: seperated installation guides #9 0x00007ffa5d808c0f in _ZNK3gpd9candidate10HandSearch9evalHandsERKNS_4util5CloudERKSt6vectorINS0_10LocalFrameESaIS7_EERKN3pcl11KdTreeFLANNINSC_12PointXYZRGBAEN5flann9L2_SimpleIfEEEE._omp_fn.1(void) () at /home/intel/workspace/views/gpd/src/gpd/candidate/hand_search.cpp:169
grasp_library: added service-driven grasp detection #10 0x00007ffa55db096e in () at /usr/lib/x86_64-linux-gnu/libgomp.so.1
tutorials: added tutorial for launch options #11 0x00007ffa590936db in start_thread (arg=0x7ffa2a2c6700) at pthread_create.c:463