Crash due locateROI function
I am encountering the following error either with Gazebo2 on Indigo and Gazebo 7 on Kinetic. I also downloaded Gazebo 7.7 from the osrf repository without success. It happens randomly when running simulation with an high real time factor (~>3).
OpenCV Error: Assertion failed (dims <= 2 && step[0] > 0) in locateROI, file /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/modules/core/src/matrix.cpp, line 949 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/modules/core/src/matrix.cpp:949: error: (-215) dims <= 2 && step[0] > 0 in function locateROI
Aborted (core dumped)
I really don't know how to solve the issue. Just to mention that I don't call that locateROI function at all.