librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Floating point exception (core dumped) with Callbacks

Open RoboEvangelist opened this issue 9 years ago • 1 comments

Required Info
Camera Model SR300
Firmware Version 3.21.0.0 (two sensors) and 3.15.0.0 (one sensor)
Operating System & Version Ubuntu 14.04
Kernel Version (Linux Only) latest as of May 9th, 2017
Build System CMake 2.8+

Cameras are running at 30FPS (which is what I need).

I get the Floating point exception (core dumped) whenever I run the callbacks examples with multiple cameras. I modified the examples so that instead of just one "device," I have a vector of devices, just like in the cpp-multicam example. I have a callback per sensor stream (I have three sensors, so I have 9 callback functions). Everything works (sort of, since sometimes I get the VIDIOC_DQBUF error; thats when the program says it "cannot find any devices"...looses USB connection...so when I run it the second/third time, then it can detect all cameras) when I run on color and infrared (6 streams total). But if I stream more than one depth stream (meaning, only one sensor can stream color, IR, and depth, and the other one -- or two-- just color and IR), then I get that error. I am using a powered USB 3.0 hub. When I run the cpp-multicam example (cameras running in series), then this does not happen. But if I want to make a video per stream (9 video files total) with OpenCV (save frames to an .avi file), then my FPS drops from 30FPS, to 20FPS.

What does that error mean? I added exceptions everywhere (both OpenCV and std, etc.), but can't catch anything :-(

RoboEvangelist avatar May 09 '17 23:05 RoboEvangelist

hi @RoboEvangelist,

is the issue still there with latest libRealsense? and i would suggest you to have 3 cameras update to same FW version, say 3.21.0

Jason

JasonChang13 avatar Sep 18 '17 17:09 JasonChang13