code-iai / iai_kinect2

Tools for using the Kinect One (Kinect v2) in ROS
Apache License 2.0
881 stars 519 forks source link

kinect2_brindge segfault #509

Open ghost opened 6 years ago

ghost commented 6 years ago

I am running it on Ubuntu 18.04 LTS, with OpenCV 2.4.13.6 installed. backtrace:

0 0x0000555555596a68 in cv::Mat::release() (this=0x7fffffffba30) at /usr/local/include/opencv2/core/mat.hpp:366

1 0x0000555555596806 in cv::Mat::~Mat() (this=0x7fffffffba30, __in_chrg=) at /usr/local/include/opencv2/core/mat.hpp:276

2 0x000055555559e308 in cv::MatExpr::~MatExpr() (this=0x7fffffffba20, __in_chrg=) at /usr/local/include/opencv2/core/mat.hpp:1229

3 0x00005555555a0cb9 in Kinect2Bridge::initDevice(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&) (this=0x7fffffffc380, sensor="000037464147")

at /home/sinan/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:597

4 0x000055555559bae2 in Kinect2Bridge::initialize() (this=0x7fffffffc380) at /home/sinan/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:305

5 0x00005555555994f0 in Kinect2Bridge::start() (this=0x7fffffffc380) at /home/sinan/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:152

6 0x00005555555943c8 in main(int, char**) (argc=1, argv=0x7fffffffd438) at /home/sinan/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:1623

Thank you in advance.