Advertisement
Guest User

eigen sparse qr solver segfault

a guest
Jun 7th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.17 KB | None | 0 0
  1. (gdb) bt
  2. #0 0x00007ffff5cbacc9 in __GI_raise (sig=sig@entry=6)
  3. at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
  4. #1 0x00007ffff5cbe0d8 in __GI_abort () at abort.c:89
  5. #2 0x00007ffff5cb3b86 in __assert_fail_base (
  6. fmt=0x7ffff5e04830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
  7. assertion=assertion@entry=0x77adf8 "a_startRow >= 0 && blockRows >= 0 && a_startRow <= xpr.rows() - blockRows && a_startCol >= 0 && blockCols >= 0 && a_startCol <= xpr.cols() - blockCols",
  8. file=file@entry=0x77a3b0 "/usr/include/eigen3/Eigen/src/Core/Block.h",
  9. line=line@entry=141,
  10. function=function@entry=0x780ce0 <Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>::Block(Eigen::Matrix<double, -1, -1, 0, -1, -1>&, long, long, long, long)::__PRETTY_FUNCTION__> "Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Block(XprType&, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index,"...) at assert.c:92
  11. #3 0x00007ffff5cb3c32 in __GI___assert_fail (
  12. assertion=0x77adf8 "a_startRow >= 0 && blockRows >= 0 && a_startRow <= xpr.rows() - blockRows && a_startCol >= 0 && blockCols >= 0 && a_startCol <= xpr.cols() - blockCols", file=0x77a3b0 "/usr/include/eigen3/Eigen/src/Core/Block.h",
  13. line=141,
  14. function=0x780ce0 <Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>::Block(Eigen::Matrix<double, -1, -1, 0, -1, -1>&, long, long, long,---Type <return> to continue, or q <return> to quit---
  15. long)::__PRETTY_FUNCTION__> "Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Block(XprType&, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index, Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Index,"...)
  16. at assert.c:101
  17. #4 0x00000000005d261b in Eigen::Block<Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, -1, false>::Block (this=0x7fffffffdad0, xpr=..., a_startRow=-27,
  18. a_startCol=0, blockRows=45, blockCols=3)
  19. at /usr/include/eigen3/Eigen/src/Core/Block.h:140
  20. #5 0x00000000005d0854 in Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::bottomRows (this=0x7fffffffd9f0, n=45)
  21. at /usr/include/eigen3/Eigen/src/plugins/BlockMethods.h:426
  22. #6 0x00000000005ce8fc in Eigen::SparseQR<Eigen::SparseMatrix<double, 0, int>, Eigen::COLAMDOrdering<int> >::_solve<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1> > (this=0x7fffffffdd10, B=..., dest=...)
  23. at /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:165
  24. #7 0x00000000005cc78b in Eigen::internal::solve_retval<Eigen::SparseQR<Eigen::SparseMatrix<double, 0, int>, Eigen::COLAMDOrdering<int> >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >::evalTo<Eigen::Matrix<double, -1, -1, 0, -1, -1> > (
  25. this=0x7fffffffdcc0, dst=...)
  26. at /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:530
  27. #8 0x00000000005c90ef in Eigen::internal::solve_retval_base<Eigen::SparseQR<Eigen::SparseMatrix<double, 0, int>, Eigen::COLAMDOrdering<int> >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >::evalTo<Eigen::Matrix<double, -1, -1, 0, -1, -1> > (
  28. this=0x7fffffffdcc0, dst=...)
  29. at /usr/include/eigen3/Eigen/src/misc/Solve.h:51
  30. #9 0x00000000005c5a3f in Eigen::ReturnByValue<Eigen::internal::solve_retval_base<Eigen::SparseQR<Eigen::SparseMatrix<double, 0, int>, Eigen::COLAMDOrdering<int> >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >::evalTo<Eigen::Matrix<double, -1, -1, 0, -1, -1> > (this=0x7fffffffdcc0, dst=...)
  31. at /usr/include/eigen3/Eigen/src/Core/ReturnByValue.h:61
  32. #10 0x00000000005c46bb in Eigen::Matrix<double, -1, -1, 0, -1, -1>::Matrix<Eigen::internal::solve_retval_base<Eigen::SparseQR<Eigen::SparseMatrix<double, 0, int>, Eigen::COLAMDOrdering<int> >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > (
  33. this=0x7fffffffdc30, other=...)
  34. at /usr/include/eigen3/Eigen/src/Core/Matrix.h:296
  35. #11 0x00000000005bfe89 in theia::LinearRotationEstimator::EstimateRotations (
  36. this=0x7fffffffdfa0,
  37. view_pairs=std::unordered_map with 6 elements = {...},
  38. global_orientations=0x7fffffffdf70)
  39. at /home/cc/Downloads/TheiaSfM-master/src/theia/sfm/global_pose_estimation/linear_rotation_estimator.cc:195
  40. #12 0x0000000000578347 in theia::EstimateRotationsLinearTest::TestLinearRotationEstimator (this=0xa1dfd0, num_views=4, num_view_pairs=6, rotation_noise=0,
  41. rotation_tolerance_degrees=1e-08, weight_terms_by_inliers=false)
  42. at /home/cc/Downloads/TheiaSfM-master/src/theia/sfm/global_pose_estimation/linear_rotation_estimator_test.cc:115
  43. #13 0x0000000000577057 in theia::EstimateRotationsLinearTest_SmallTestNoNoise_Test::TestBody (this=0xa1dfd0)
  44. at /home/cc/Downloads/TheiaSfM-master/src/theia/sfm/global_pose_estimation/linear_rotation_estimator_test.cc:191
  45. #14 0x00000000005b2bde in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (object=0xa1dfd0,
  46. method=&virtual testing::Test::TestBody(),
  47. location=0x775993 "the test body")
  48. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2402
  49. #15 0x00000000005ac9dc in testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=0xa1dfd0,
  50. method=&virtual testing::Test::TestBody(),
  51. location=0x775993 "the test body")
  52. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2438
  53. #16 0x0000000000592d6b in testing::Test::Run (this=0xa1dfd0)
  54. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2475
  55. #17 0x00000000005935f4 in testing::TestInfo::Run (this=0xa1c4e0)
  56. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2656
  57. #18 0x0000000000593c84 in testing::TestCase::Run (this=0xa1c950)
  58. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2774
  59. #19 0x000000000059a3c8 in testing::internal::UnitTestImpl::RunAllTests (
  60. this=0xa1c5b0)
  61. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:4649
  62. #20 0x00000000005b3fbc in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0xa1c5b0,
  63. method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x59a14a <testing::internal::UnitTestImpl::RunAllTests()>,
  64. location=0x7762a0 "auxiliary test code (environments or event listeners)")
  65. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2402
  66. #21 0x00000000005ad7ca in testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0xa1c5b0,
  67. method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x59a14a <testing::internal::UnitTestImpl::RunAllTests()>,
  68. location=0x7762a0 "auxiliary test code (environments or event listeners)")
  69. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:2438
  70. #22 0x000000000059905a in testing::UnitTest::Run (
  71. this=0xa162e0 <testing::UnitTest::GetInstance()::instance>)
  72. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/src/gtest.cc:4260
  73. #23 0x0000000000576b19 in RUN_ALL_TESTS ()
  74. at /home/cc/Downloads/TheiaSfM-master/libraries/gtest/include/gtest/gtest.h:2233
  75. #24 0x0000000000576927 in main (argc=1, argv=0x7fffffffe500)
  76. at /home/cc/Downloads/TheiaSfM-master/src/theia/test/test_main.cc:47
  77. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement