-
Notifications
You must be signed in to change notification settings - Fork 860
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
Segmentation fault (core dumped) occurs when run test_pipeline #202
Comments
i recompile vikit and then svo, it works. |
I also meet same problem.But no matter how i recompile vikit and svo,it did not work. |
I also meet this problem. Due to the bt output, I think there may be some problems with this function vk::Homography::decompose(). Anyone has ideas? (gdb) bt |
After I recompile vikit without -march=nactive, it works Haha. |
Same problem. Again and again. As @Beniko95J suggested, problem changes. I pasted last three rows of problem. After move -march=nactive, problem changes from (1) to (2). |
delete the sentence about "-march " in CMakeLists.txt |
yes, as @xixi0226 and @Beniko95J said, delete "-march" in svo and vikit, and then recompile them. |
a few days before i run the test_pipeline correctly, today, i pull the latest version of svo, compile and run test_pipe, it show that :
[INFO] SVO initialized
reading image /home/chenchr/Datasets/sin2_tex2_h1_v8_d/img/frame_000002_0.png
[INFO] RESET
[INFO] Init: Selected first frame.
Frame-Id: 0 #Features: 0 Proc. Time: 6.229ms
[INFO] Init: KLT tracked 565 features
[INFO] Init: KLT 25.3823px average disparity.
Frame-Id: 1 #Features: 0 Proc. Time: 10.192ms
[INFO] Init: KLT tracked 543 features
[INFO] Init: KLT 50.8035px average disparity.
Segmentation fault (core dumped)
then i use cout to locate where the error happens, when invokes processSecondFrame, it invokes KltHomographyInit::addSecondFrame, and then it will invoke
computeHomography, it set up the cout(means that i cout some text to remind me the program works) before that, which go fine. then i set up a cout at the
end of function computeHomography, it works too. however, i set up the cout in KltHomographyInit::addSecondFrame just after the function computeHomography
the error "Segmentation fault (core dumped)" occurs again, i think the reason of error maybe have something to do with the function arguments. however i can't fix it. can anyone help me out ?
thanks!
The text was updated successfully, but these errors were encountered: