2014-12-02 20:37:55 -0600 | answered a question | FLANN Index in Python - Training Fails with Segfault I have reproduced this problem... it appears to be a bug in the implementation. I will update this post if I find any solutions. Here is a backtrace: #0 __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1549 #1 0x00007ffff55632b2 in cvflann::LshIndex<cvflann::hamminglut2>::buildIndex() () from /usr/local/lib/libopencv_flann.so.2.4 #2 0x00007ffff555e468 in void cv::flann::buildIndex_<cvflann::hamminglut2, cvflann::index<cvflann::hamminglut2=""> >(void*&, cv::Mat const&, cv::flann::IndexParams const&, cvflann::HammingLUT2 const&) () from /usr/local/lib/libopencv_flann.so.2.4 #3 0x00007ffff555f119 in cv::flann::Index::build(cv::_InputArray const&, cv::flann::IndexParams const&, cvflann::flann_distance_t) () from /usr/local/lib/libopencv_flann.so.2.4 #4 0x00007ffff4a9d964 in cv::FlannBasedMatcher::train() () from /usr/local/lib/libopencv_features2d.so.2.4 #5 0x00007ffff61cd41b in pyopencv_DescriptorMatcher_train(_object, _object, _object*) () from /usr/local/lib/python2.7/dist-packages/cv2.so |
2014-12-02 20:37:29 -0600 | answered a question | FLANN Index in Python - Training Fails with Segfault I have reproduced this problem... it appears to be a bug in the implementation. I will update this post if I find any solutions. Here is a backtrace: #0 __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1549 #1 0x00007ffff55632b2 in cvflann::LshIndex<cvflann::hamminglut2>::buildIndex() () from /usr/local/lib/libopencv_flann.so.2.4 #2 0x00007ffff555e468 in void cv::flann::buildIndex_<cvflann::hamminglut2, cvflann::index<cvflann::hamminglut2=""> >(void*&, cv::Mat const&, cv::flann::IndexParams const&, cvflann::HammingLUT2 const&) () from /usr/local/lib/libopencv_flann.so.2.4 #3 0x00007ffff555f119 in cv::flann::Index::build(cv::_InputArray const&, cv::flann::IndexParams const&, cvflann::flann_distance_t) () from /usr/local/lib/libopencv_flann.so.2.4 #4 0x00007ffff4a9d964 in cv::FlannBasedMatcher::train() () from /usr/local/lib/libopencv_features2d.so.2.4 #5 0x00007ffff61cd41b in pyopencv_DescriptorMatcher_train(_object, _object, _object*) () from /usr/local/lib/python2.7/dist-packages/cv2.so |