qixuxiang / orb-slam2_with_semantic_label

orb-slam2 with semantic label
Other
279 stars 86 forks source link

OpenCV Error #12

Closed pengyuan-zhou closed 5 years ago

pengyuan-zhou commented 5 years ago

Hi, thanks for the work. I compiled and gave a test. The code seems work however failed with core dumped after several keyframes. Have you met with this during the development? Thanks.

HW: Ubuntu 16.06, Cuda-9.0, Opencv-3.4.0

-------
Start processing sequence ...
Images in the sequence: 573

New map created with 945 points
receive a keyframe, id = 1
receive a keyframe, id = 2
receive a keyframe, id = 3
receive a keyframe, id = 4
receive a keyframe, id = 5
receive a keyframe, id = 6
receive a keyframe, id = 7
receive a keyframe, id = 8
receive a keyframe, id = 9
receive a keyframe, id = 10
receive a keyframe, id = 11
receive a keyframe, id = 12
receive a keyframe, id = 13
receive a keyframe, id = 14
receive a keyframe, id = 15
receive a keyframe, id = 16
receive a keyframe, id = 17
receive a keyframe, id = 18
receive a keyframe, id = 19
receive a keyframe, id = 20
receive a keyframe, id = 21
receive a keyframe, id = 22
receive a keyframe, id = 23
./rgbd_tum: 
OpenCV Error: Assertion failed (key_ != -1 && "Can't fetch data from terminated TLS container.") in getData, file /home/USERNAME/Downloads/opencv-3.4.0/modules/core/src/system.cpp, line 1532
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/USERNAME/Downloads/opencv-3.4.0/modules/core/src/system.cpp:1532: error: (-215) key_ != -1 && "Can't fetch data from terminated TLS container." in function getData

Aborted (core dumped)
pengyuan-zhou commented 5 years ago

duplicate with https://github.com/qixuxiang/orb-slam2_with_semantic_label/issues/9#issuecomment-507578204