node crashes with segmentation fault

asked 2016-04-06 09:52:17 -0600

Amira gravatar image

while run_test.sh I got this error, and when I make bt I've pasted the log output

if someone can help and guide me where to look or how to trace the code to figure out where the problem

singular matrix A for dgetrf_ in dAx_eq_b_LU()
singular matrix A for dgetrf_ in dAx_eq_b_LU()
*** glibc detected *** /home/amira/lineslam_catkin_ws4/devel/lib/lineslam/lineslam: corrupted double-linked list: 0x00007fff94189e80 ***
singular matrix A for dgetrf_ in dAx_eq_b_LU()
*** glibc detected *** /home/amira/lineslam_catkin_ws4/devel/lib/lineslam/lineslam: free(): corrupted unsorted chunks: 0x00007fff8c1c9ef0 ***

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb25ba700 (LWP 3959)]
0x00007fffee52d67e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007fffee52d67e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffee5300b5 in malloc () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff5316361 in cv::fastMalloc(unsigned long) () from /opt/ros/hydro/lib/libopencv_core.so.2.4
#3  0x00007ffff535b1b7 in cv::Mat::create(int, int const*, int) () from /opt/ros/hydro/lib/libopencv_core.so.2.4
#4  0x00000000006a0508 in create (_cols=<optimized out>, _rows=<optimized out>, this=<optimized out>, _type=<optimized out>)
    at /opt/ros/hydro/include/opencv2/core/mat.hpp:353
#5  cv::Mat::Mat (this=<optimized out>, _rows=<optimized out>, _cols=<optimized out>, _type=6)
    at /opt/ros/hydro/include/opencv2/core/mat.hpp:75
#6  0x00000000006a4c1e in jac_rpt2ln_mahvec_wrt_ln (pt=..., l=<optimized out>)
    at /home/amira/lineslam_catkin_ws4/src/LineSLAM-master/src/line/utils.cpp:1094
#7  0x00000000006a5676 in MleLine3dCov (pts=..., idx1=0, idx2=13, l=0x7fffa025be10)
    at /home/amira/lineslam_catkin_ws4/src/LineSLAM-master/src/line/utils.cpp:1152
#8  0x00000000006ae73d in MLEstimateLine3d (line=..., maxIter=100)
    at /home/amira/lineslam_catkin_ws4/src/LineSLAM-master/src/line/utils.cpp:1043
#9  0x00000000006841ac in Node::detect3DLines(cv::Mat const&, cv::Mat const&, double, cv::Mat const&, double, double, double, std::string) [clone ._omp_fn.3] () at /home/amira/lineslam_catkin_ws4/src/LineSLAM-master/src/line/lineslam.cpp:349
#10 0x000000000068a235 in Node::detect3DLines (this=<optimized out>, gray_uchar=..., depth_float=..., 
    line2d_len_thres=6.9532763562183487e-310, K=..., ratio_of_collinear_pts=<optimized out>, line_3d_len_thres_m=<optimized out>, 
    depth_scaling=<optimized out>, algorithm=...) at /home/amira/lineslam_catkin_ws4/src/LineSLAM-master/src/line/lineslam.cpp:346
#11 0x0000000000589798 in operator() (a8=..., a7=1, a4=..., p=0x7fffa42206b0, this=0x7fffa7fe0ad0, a6=0.02, a5=0.59999999999999998, a3=10, 
    a2=..., a1=...) at /usr/include/boost/bind/mem_fn_template.hpp:958
#12 operator()<boost::_mfi::mf8<void, Node, const cv::Mat&, const cv::Mat&, double, const cv::Mat&, double, double, double, std::basic_string<char> >, boost::_bi::list0> (a=<synthetic pointer>, f=..., this=0x7fffa7fe0ae0) at /usr/include/boost/bind/bind.hpp:827
#13 operator() (this=0x7fffa7fe0ad0) at /usr/include/boost/bind/bind_template.hpp:20
#14 QtConcurrent::StoredFunctorCall0<void, boost::_bi::bind_t<void, boost::_mfi::mf8<void, Node, cv::Mat const&, cv::Mat const&, double, cv::Mat const&, double, double, double, std::string>, boost::_bi::list9<boost::_bi::value<Node*>, boost::_bi::value<cv::Mat>, boost::_bi::value<cv::Mat>, boost::_bi::value<double>, boost::_bi::value<cv::Mat>, boost::_bi::value<double>, boost::_bi::value<double>, boost::_bi::value<double>, boost::_bi::value<std::string> > > >::runFunctor (this=0x7fffa7fe0ab0) at ...
(more)
edit retag flag offensive close merge delete