-
Notifications
You must be signed in to change notification settings - Fork 7
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 #2
Comments
Trying execution multiple times may solve it. |
@IshitaTakeshi I used
Some extra informationTo make the code compile, I had earlier done the following modification to the code. Original code :
Modified code
With these changes the code compiled but was crashing (seg_fault). Now, after commenting the above said two line the code is executing well. I tested by running on the sequence 30. I want to ask you few things.
|
|
@IshitaTakeshi Thanks for your reply. I will now be looking into the Thanks a lot. |
I faced a similar issue. I used valgrind to find countless memory leaks with regards to pointer allocation and deallocation. The problem is not these two lines but the block of code above it. There were various issues related to pointer allocation and deallocation mainly stemming from how g2o( current version ) and eigen are used. I suggest looking at these or installing previous versions of g2o and eigen. |
@mongrelgem Thanks for you inputs. I think I don't want to use the older version of the libraries so I will try looking into the memory leaks issue. Just that my C++ is not that very sharp as of now but I am learning bit by bit. |
The system seg_faults when it reaches the following section (in file
main_on_images.cc
)Any suggestions to make it work?
The text was updated successfully, but these errors were encountered: