raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.36k stars 4.69k forks source link

Segmentation fault (core dumped) when running custom datasets #97

Open Gaoxiang-Zhang opened 8 years ago

Gaoxiang-Zhang commented 8 years ago

System: Ubuntu 14.04 + OpenCV 2.4.11 The kitti and tum work well, but my custom example with almost the same code throws (because of empty imread result):

Failed to load image at: /home/user/vehicle/nexus/16_16_5/rgb/1463385917621.jpg
Segmentation fault (core dumped)

I tried to write a small program simply calling imread function with the same path, there was nothing wrong. And I tried to replace the image file with png format, the error still exists. It is the fault caught in image reading process, so I think the wrong parameters in my yaml file or irregular image timestamp are not related. It's weird and I am looking forward to an answer. Thank you!

halajun commented 7 years ago

@Gaoxiang-Zhang I also have this strange problem, have you solved it?

yingyingqin commented 6 years ago

I also meet the problem, Have you solved it? I can run finished one dataset, but can't run anonther, I don't know why. @Gaoxiang-Zhang @halajun