-
Notifications
You must be signed in to change notification settings - Fork 47
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
🐛 Segfault when launching node in a container #61
Comments
Does it also happen when invoking in headless mode? |
Interestingly enough, the segfault does not happen when using MVSIM CLI inside the container But it happens when using the ROS launch
So now I can narrow it down to maybe a few things:
I did notice that in the demo world, using MVSIM CLI, I actually get a readable exception (not a segfault) when trying to run incorrectly with graphics display in the container:
This is the behavior I would expect if ROS wasn't being given the headless argument correctly So now I think the next step might be to compile MVSIM with debug symbols and see what exactly is breaking |
You can also give it a try to this docker file example: https://github.com/MRPT/mvsim_docker_example |
After compiling with debug options I have received some more information for where the segfault is occurring
Which seems to relate to the mvsim/modules/simulator/src/World_gui.cpp Line 985 in 8cff292
I removed that item from my world XML, will confirm here if that completely resolves the problem. |
I will work on getting further details when I can create a more minimal example, but on an ubuntu 20.04 container I am consistently getting segfaults after the world is loaded.
Environment:
Ubuntu 20.04 container
Version / Installation:
Apt install via ROS (0.12.)
When trying to get the stack trace
If I had to guess, it is probably related to it being run inside a container as this works fine on my host.
The text was updated successfully, but these errors were encountered: