-
Notifications
You must be signed in to change notification settings - Fork 88
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
Octomap segfault #828
Comments
Per @Levi-Armstrong
|
I am starting to think there may be an issue with it finding different version of the library. The system installs version 1.9.3 and ros noetic has its own version of 1.9.8. If you run ldd on the example library and executable which is creating the error do you only see it linked against one version? |
This is for sure caused by using the system version of |
@Levi-Armstrong how do you feel about adding the appropriate version of |
I think adding it to the rosinstall is fine. Should we also add it to the CMake find_package for octomap also? |
I forgot there is an open PR against octomap that fixes this, so it seems like 1.9.8 may only coincidentally fix this issue
That might be a good idea, but it does technically compile with 1.9.x, so that restriction seems like it could be a bit overly conservative. I'm not sure if this problem always occurs with octomaps or just in this specific unit test |
If this occurs on you machine you might run ldd and see if it is linking against both libraries which can cause weird behaviors like this. |
It looks like it only links against the system version |
There appears to be a bug in the octomap library that causes a segfault for various cases.
There is a PR that addresses this issue, but it hasn't been merged yet.
We might be able to add the same fixes to our code to fix this issue per discussion here
The text was updated successfully, but these errors were encountered: