AliceVision icon indicating copy to clipboard operation
AliceVision copied to clipboard

Running fault: SIGSEGV, Segmentation fault during runing aliceVision_incrementalSfM

Open wangziji opened this issue 2 years ago • 0 comments
trafficstars

Hi,

I found a similar issue but no solution: https://github.com/alicevision/AliceVision/issues/1000

In my case the stack trace is below: #0 __GI___libc_free (mem=0x135) at malloc.c:3113 #1 0x00005555555f71e5 in Eigen::internal::handmade_aligned_free (ptr=0x7fffd40a60a0) at /usr/local/include/eigen3/Eigen/src/Core/util/Memory.h:98 #2 0x00005555555f7200 in Eigen::internal::aligned_free (ptr=0x7fffd40a60a0) at /usr/local/include/eigen3/Eigen/src/Core/util/Memory.h:179 #3 0x00007ffff729d76e in Eigen::internal::conditional_aligned_free (ptr=0x7fffd40a60a0) at /usr/local/include/eigen3/Eigen/src/Core/util/Memory.h:230 #4 0x00007ffff7293915 in Eigen::internal::conditional_aligned_delete_auto<double, true> (ptr=0x7fffd40a60a0, size=36) at /usr/local/include/eigen3/Eigen/src/Core/util/Memory.h:416 #5 0x00007ffff728bf07 in Eigen::DenseStorage<double, -1, -1, -1, 0>::~DenseStorage (this=0x7fffe3457110, __in_chrg=) at /usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h:391 #6 0x00007ffff7287280 in Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::~PlainObjectBase (this=0x7fffe3457110, __in_chrg=) at /usr/local/include/eigen3/Eigen/src/Core/PlainObjectBase.h:98 #7 0x00007ffff728729c in Eigen::Matrix<double, -1, -1, 0, -1, -1>::~Matrix (this=0x7fffe3457110, __in_chrg=) at /usr/local/include/eigen3/Eigen/src/Core/Matrix.h:178 #8 0x00007ffff0b312e5 in aliceVision::multiview::relativePose::Essential5PSolver::solve (this=0x7fffe345a3f0, x1=..., x2=..., models=std::vector of length 0, capacity 0) at /home/ubuntu/TMAliceVision/src/aliceVision/multiview/relativePose/Essential5PSolver.cpp:169 #9 0x00007ffff73799d0 in aliceVision::multiview::RelativePoseKernel_K<aliceVision::multiview::relativePose::Essential5PSolver, aliceVision::multiview::relativePose::FundamentalEpipolarDistanceError, aliceVision::robustEstimation::MatrixModel<Eigen::Matrix<double, 3, 3, 0, 3, 3> >, aliceVision::robustEstimation::UndefinedSolver<aliceVision::robustEstimation::MatrixModel<Eigen::Matrix<double, 3, 3, 0, 3, 3> > > >::fit (this=0x7fffe345a3d0, samples=std::vector of length 5, capacity 5 = {...}, models=std::vector of length 0, capacity 0) at /home/ubuntu/TMAliceVision/src/aliceVision/multiview/RelativePoseKernel.hpp:147 #10 0x00007ffff7378c19 in aliceVision::robustEstimation::ACRANSAC<aliceVision::multiview::RelativePoseKernel_K<aliceVision::multiview::relativePose::Essential5PSolver, aliceVision::multiview::relativePose::FundamentalEpipolarDistanceError, aliceVision::robustEstimation::MatrixModel<Eigen::Matrix<double, 3, 3, 0, 3, 3> >, aliceVision::robustEstimation::UndefinedSolver<aliceVision::robustEstimation::MatrixModel<Eigen::Matrix<double, 3, 3, 0, 3, 3> > > > > (kernel=..., randomNumberGenerator=..., vec_inliers=std::vector of length 0, capacity 0, nIter=922, model=0x7fffe345a2d0, precision=16) at /home/ubuntu/TMAliceVision/src/aliceVision/robustEstimation/ACRansac.hpp:192 #11 0x00007ffff737760d in aliceVision::sfm::robustRelativePose (K1=..., K2=..., x1=..., x2=..., randomNumberGenerator=..., relativePose_info=..., size_ima1={...}, size_ima2={...}, max_iteration_count=1024) at /home/ubuntu/TMAliceVision/src/aliceVision/sfm/pipeline/RelativePoseInfo.cpp:103 #12 0x00007ffff731e329 in aliceVision::sfm::ReconstructionEngine_sequentialSfM::getBestInitialImagePairs(std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int> > >&, unsigned int) [clone ._omp_fn.2] () at /home/ubuntu/TMAliceVision/src/aliceVision/sfm/pipeline/sequential/ReconstructionEngine_sequentialSfM.cpp:1391 #13 0x00007ffff33e895e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1 #14 0x00007ffff31ba6db in start_thread (arg=0x7fffe3462700) at pthread_create.c:463 #15 0x00007ffff1a0f61f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

wangziji avatar May 24 '23 07:05 wangziji