Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JacobiSVD error #78

Open
VictorLamoine opened this issue Jun 20, 2016 · 13 comments
Open

JacobiSVD error #78

VictorLamoine opened this issue Jun 20, 2016 · 13 comments
Labels

Comments

@VictorLamoine
Copy link
Contributor

VictorLamoine commented Jun 20, 2016

roslaunch bezier_application bezier_application_r1000ia.launch meshname:=plane/plane.ply
[ INFO] [1466430354.358336555]: Bezier::generateTrajectory: Start surfacing
[ INFO] [1466430354.359075435]: Bezier::generateTrajectory: New surface pass generated
[ INFO] [1466430354.359180290]: Bezier::generateTrajectory: Surfacing process done
[ INFO] [1466430356.879073431]: Bezier::saveDilatedMeshes: /home/dell/Libasse/caktin_ws/src/bezier/bezier_application/meshes/dilated_meshes/mesh_0.ply saved successfully
[ INFO] [1466430356.895048474]: Loading robot model 'fanuc_r1000ia_grinding'...
[ INFO] [1466430356.895095329]: No root joint specified. Assuming fixed joint
bezier_application: /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:632: const MatrixVType& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::matrixV() const [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixVType = Eigen::Matrix<double, 3, 3>; typename _MatrixType::Scalar = double]: Assertion `computeV() && "This JacobiSVD decomposition didn't compute V. Did you ask for it?"' failed.
================================================================================REQUIRED process [bezier_application-8] has died!
process has died [pid 9378, exit code -6, cmd /home/dell/Libasse/caktin_ws/devel/lib/bezier_application/bezier_application __name:=bezier_application __log:=/home/dell/.ros/log/4b5299ee-36ed-11e6-a465-f01faf263c5d/bezier_application-8.log].
log file: /home/dell/.ros/log/4b5299ee-36ed-11e6-a465-f01faf263c5d/bezier_application-8*.log
Initiating shutdown!
================================================================================
@VictorLamoine
Copy link
Contributor Author

VictorLamoine commented Jun 23, 2016

It only crashes on one machine, all of them are 64 bits, Ubuntu 14.04 up to date.

Victor desktop ✅

$ dpkg -l libeigen3-dev
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                           Version                     Architecture                Description
+++-=============================================-===========================-===========================-===============================================================================================
ii  libeigen3-dev                                 3.2.5-4~ubuntu14.04.1~ppa1  all                         lightweight C++ template library for linear algebra

M6700 laptop 🔴

$ dpkg -l libeigen3-dev
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                Version                Architecture           Description
+++-==================================-======================-======================-=========================================================================
ii  libeigen3-dev                      3.2.5-4~ubuntu14.04.1~ all                    lightweight C++ template library for linear algebra

@Nandite & @KevinBollore can you post the output of the above command? Thanks!

@KevinBollore
Copy link
Contributor

KevinBollore commented Jun 24, 2016

It does not crash on M4800:

dell@M4800:~$ dpkg -l libeigen3-dev
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                     Version          Architecture     Description
+++-=======================-================-================-====================================================
ii  libeigen3-dev           3.2.0-8          all              lightweight C++ template library for linear algebra

@Nandite
Copy link
Contributor

Nandite commented Jun 24, 2016

@VictorLamoine
From the right computer this time.
capture du 2016-06-24 09 24 07

@VictorLamoine
Copy link
Contributor Author

Also see PickNikRobotics/rviz_visual_tools#36

@gavanderhoorn
Copy link
Member

To add a data point, I've got libeigen3-dev version v3.2.5-4~ubuntu14.04.1~ppa1.

@VictorLamoine
Copy link
Contributor Author

VictorLamoine commented Jul 3, 2016

Backtrace

(gdb) bt
#0  0x00007ffff4719c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff471d028 in __GI_abort () at abort.c:89
#2  0x00007ffff4712bf6 in __assert_fail_base (fmt=0x7ffff48633b8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x7ffff1f3d690 "computeV() && \"This JacobiSVD decomposition didn't compute V. Did you ask for it?\"", 
    file=file@entry=0x7ffff1f3d628 "/usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h", line=line@entry=632, 
    function=function@entry=0x7ffff1f48800 <Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::matrixV() const::__PRETTY_FUNCTION__> "const MatrixVType& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::matrixV() const [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditio"...) at assert.c:92
#3  0x00007ffff4712ca2 in __GI___assert_fail (assertion=0x7ffff1f3d690 "computeV() && \"This JacobiSVD decomposition didn't compute V. Did you ask for it?\"", 
    file=0x7ffff1f3d628 "/usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h", line=632, 
    function=0x7ffff1f48800 <Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::matrixV() const::__PRETTY_FUNCTION__> "const MatrixVType& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::matrixV() const [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditio"...) at assert.c:101
#4  0x00007ffff1f1a90c in Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3, 0, 3, 3>, 2>::matrixV (this=0x7fffffffbdc0) at /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:632
#5  0x00007ffff1f1685b in Eigen::Transform<double, 3, 2, 0>::computeRotationScaling<Eigen::Matrix<double, 3, 3, 0, 3, 3>, Eigen::Matrix<double, 3, 3, 0, 3, 3> > (this=0xa20480, rotation=0x7fffffffbfa0, 
    scaling=0x0) at /usr/include/eigen3/Eigen/src/Geometry/Transform.h:1020
#6  0x00007ffff0ef840e in moveit::core::LinkModel::setGeometry(std::vector<boost::shared_ptr<shapes::Shape const>, std::allocator<boost::shared_ptr<shapes::Shape const> > > const&, std::vector<Eigen::Transform<double, 3, 2, 0>, Eigen::aligned_allocator<Eigen::Transform<double, 3, 2, 0> > > const&) () from /opt/ros/indigo/lib/libmoveit_robot_model.so
#7  0x00007ffff0f129e8 in moveit::core::RobotModel::constructLinkModel(urdf::Link const*) () from /opt/ros/indigo/lib/libmoveit_robot_model.so
#8  0x00007ffff0f15a02 in moveit::core::RobotModel::buildRecursive(moveit::core::LinkModel*, urdf::Link const*, srdf::Model const&) () from /opt/ros/indigo/lib/libmoveit_robot_model.so
#9  0x00007ffff0f180ce in moveit::core::RobotModel::buildModel(urdf::ModelInterface const&, srdf::Model const&) () from /opt/ros/indigo/lib/libmoveit_robot_model.so
#10 0x00007ffff0f18755 in moveit::core::RobotModel::RobotModel(boost::shared_ptr<urdf::ModelInterface const> const&, boost::shared_ptr<srdf::Model const> const&) ()
   from /opt/ros/indigo/lib/libmoveit_robot_model.so
#11 0x00007fffeb07ee1d in robot_model_loader::RobotModelLoader::configure(robot_model_loader::RobotModelLoader::Options const&) () from /opt/ros/indigo/lib/libmoveit_robot_model_loader.so
#12 0x00007fffeb07fead in robot_model_loader::RobotModelLoader::RobotModelLoader(robot_model_loader::RobotModelLoader::Options const&) () from /opt/ros/indigo/lib/libmoveit_robot_model_loader.so
#13 0x00007ffff193cde6 in moveit::planning_interface::getSharedRobotModel(std::string const&) () from /opt/ros/indigo/lib/libmoveit_common_planning_interface_objects.so
#14 0x00007ffff71b5257 in moveit::planning_interface::MoveGroup::MoveGroupImpl::MoveGroupImpl(moveit::planning_interface::MoveGroup::Options const&, boost::shared_ptr<tf::Transformer> const&, ros::Duration const&) () from /opt/ros/indigo/lib/libmoveit_move_group_interface.so
#15 0x00007ffff713fa1e in moveit::planning_interface::MoveGroup::MoveGroup(std::string const&, boost::shared_ptr<tf::Transformer> const&, ros::Duration const&) ()
   from /opt/ros/indigo/lib/libmoveit_move_group_interface.so
#16 0x00000000004279d3 in main (argc=1, argv=0x7fffffffda68) at /home/victor/catkin_test/src/bezier/bezier_application/src/bezier_application.cpp:122

@VictorLamoine
Copy link
Contributor Author

@VictorLamoine
Copy link
Contributor Author

VictorLamoine commented Jul 8, 2016

Does not happen anymore on my machine, I don't know why.
Maybe a ROS update ??

@VictorLamoine
Copy link
Contributor Author

@gavanderhoorn would you be so kind as to test again? Since a ROS update it's not crashing so I think the problem was on Move-It side

@gavanderhoorn
Copy link
Member

@VictorLamoine: which branch(es) should I be using? The same as before (on the Inst M fork), or something else?

Might be a good time to do something about #88 :).

@VictorLamoine
Copy link
Contributor Author

This repository is the right one for testing, it is the official/up-to-date repo.
The InstitutMaupertuis fork was just temporary (until we got a working version we kept it there)

@gavanderhoorn
Copy link
Member

gavanderhoorn commented Jul 13, 2016

Just tested, again a crash with exception:

bezier_application: /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:632: const MatrixVType& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::matrixV() const [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixVType = Eigen::Matrix<double, 3, 3>; typename _MatrixType::Scalar = double]: Assertion `computeV() && "This JacobiSVD decomposition didn't compute V. Did you ask for it?"' failed.

Up-to-date with ROS (as of today):

  • RViz: 1.11.14-0trusty-20160628-085352-0700
  • Eigen: 3.2.5-4~ubuntu14.04.1~ppa1

amd64, Ubuntu Trusty.

Command:

roslaunch bezier_application bezier_application_m20ia.launch surfacing_mode:=true mesh_cad:=plane/plane_defect.ply

@VictorLamoine
Copy link
Contributor Author

Well then I'm not closing.. Thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants