-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第九章Project运行出现段错误,怎么解决? #27
Comments
一模一样的问题,gdb定位一样也 |
已解决,请检查自己的ubuntu版本,书中要求是ubuntu 14.04而不能是ubuntu kylin 14.04 |
修改函数Frame::Ptr Frame::createFrame() |
@zhanzhongwei is right!!!!!! |
Real Cause:
more details:
Solution:add class Frame
{
...
SE3 T_c_w_; // transform from world to camera
...
public:
...
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
}; then clean and rebuild ( if you don't know how, just PS. How to locate this bug
|
楼上正解,另外 |
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `bin/run_vo config/default.yaml'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb77a4501 in myslam::Frame::Frame(long, double, Sophus::SE3, std::shared_ptrmyslam::Camera, cv::Mat, cv::Mat) () from /home/dan/work/project/0.4/lib/libmyslam.so
(gdb) bt
#0 0xb77a4501 in myslam::Frame::Frame(long, double, Sophus::SE3, std::shared_ptrmyslam::Camera, cv::Mat, cv::Mat) () from /home/dan/work/project/0.4/lib/libmyslam.so
#1 0xb77a47ef in myslam::Frame::createFrame() () from /home/dan/work/project/0.4/lib/libmyslam.so
#2 0x0804b4d6 in main ()
The text was updated successfully, but these errors were encountered: