Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Segfault in gazebo/gui/ModelListWidget.cc when right-clicking an empty left panel #2377

Closed
osrf-migration opened this issue Nov 10, 2017 · 2 comments
Labels
7 Gazebo 7 bug Something isn't working gui major

Comments

@osrf-migration
Copy link

Original report (archived issue) by Anonymous.


I ran into this using Gazebo 7, but looking at the code there isn't anything significantly different between the source for the version I have and what's on git. The problem, specifically, seems to be that in gazebo/gui/ModelListWidget.cc:656 that itemAt is returning NULL, which blows up in gazebo/gui/ModelListWidget.cc:678, where that item variable isn't checked for NULL before use.

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Thanks for catching the problem and finding the cause! I can reproduce it by right-clicking a bit below the Lights item. Pull request #2809 should fix it for Gazebo 7 and we can port it forward afterwards.

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


  • changed state from "new" to "resolved"

pull request #2809 merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
7 Gazebo 7 bug Something isn't working gui major
Projects
None yet
Development

No branches or pull requests

1 participant