-
Notifications
You must be signed in to change notification settings - Fork 83
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
Gazebo crash on startup #161
Comments
Yes, Gazebo is broken right now. A few weeks ago I fixed some of the issues, but it still ended crashing a little later in the startup process. I'm not sure I got the same error as you, but I do remember that the window would appear for a short time before it crashed. Unfortunately, I'm not sure when I will have the time to really dig into it. If you are able to debug it, that would be really helpful. I'm not certain when it stopped working, but it may have been when I upgraded to 11.9.0, so you may want to try reverting that update to help narrow down the cause. |
I get the same issue when I change
My test command is I am now trying to narrow down the issue by playing with Ogre version. edit: my setup was wrong, for some reasons I was still running Gazebo 11.9.0. |
This issue looks like gazebosim/gazebo-classic#2700 |
|
Ah something is wrong with my setup:
For some reasons running gazebo_9 |
Do you get the same error:
even for Ogre 1.9 and Ogre 1.10? That would be quite strange. |
I was able to successfully run gazebo by using |
I also tried reverting to ogre1_10 within gazebo 11.9. I was able to successfully launch and run it, albeit, with the following error.
However, everything did work as expected. Based on other issues, pinning the ogre version seems to be the accepted fix. Maybe @traversaro can comment more on this as they seemed to be involved on the upstream issues, and I am not familiar with either project. My branch is here, beezow/nix-ros-overlay. One caveat to this is that @lopsided98 explicitly updated the ogre version in 6178a8c. Perhaps I am missing something? |
So while gazebo was working, when trying to use gazebo_ros there were still some problems.
I was able to track this down the
I dont know if this is related or not but wanted to document my efforts to get gazebo working again |
After doing some debugging,
If anyone has any insights on what may be causing the issue that would be great. |
It seems gazebo was pulling in boost 173, while gazebo_ros was pulling in boost 177. By upgrading gazebo to boost177, the segfaults went away. Can finally run gazebo_ros again! You should be able to use the staging branch as it incorporates all the updates needed. Can someone else can confirm the staging branch works for gazebo_ros? The only remaining problem is with the shadows. There are some errors related to the shadow caster. The shadows from light sources do not work, with the light shining right through any obstacles. |
I finally got a chance to test this and can confirm that staging works. Staging has now been merged into master. Do you know if the shadows not working is a new issue? |
Not sure if it is new. It seems to be present with both gazebo_9 and gazebo_11 though. Were you able to replicate it? |
I don't see any shadows, but I don't see any shadow related errors either. I did notice that attempting to add more than one light results in the Gazebo freezing. It looks like the same problem as gazebosim/gazebo-classic#2373, and I was able to fix it by using OGRE 1.9. |
I tried reverting to OGRE 1.9,ant the shadows seem to be working, but I still get the error messages. Additionally can confirm that using OGRE 1.9 fixes the crash with multiple light sources. |
Introduce version of Ogre removed from Nixpkgs. Required by lopsided98#161 Taken from NixOS/nixpkgs@40f52d9
Introduce version of Ogre removed from Nixpkgs. Required by #161 Taken from NixOS/nixpkgs@40f52d9
I installed
nix-ros-overlay.rosPackages.noetic.gazebo
. When I rungazebo --verbose
, I get:I am seeing a window with a black 3D viewport for some seconds before Gazebo crash. I am using Intel integrated graphics on NixOS 21.11.
Should Gazebo work out of the box? Did I miss something somewhere?
The text was updated successfully, but these errors were encountered: