Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Sep 5, 2025

🦟 Bug fix

Fixes #3058

Summary

When attempting to set the debug visualization mode, the code now checks if giis enabled. If gi is disabled, it logs an error and always sets the debug visualization mode to None to avoid a crash.
Setting a debug visualization mode while gi is disabled can cause a crash due to invalid or released resources. This change ensures safety by forcing the mode to None when gi is not active.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

This is an automatic backport of pull request #3059 done by [Mergify](https://mergify.com).

@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Sep 8, 2025
@azeey
Copy link
Contributor

azeey commented Nov 7, 2025

@Mergifyio rebase

@mergify
Copy link
Contributor Author

mergify bot commented Nov 7, 2025

rebase

✅ Branch has been successfully rebased

@azeey azeey force-pushed the mergify/bp/gz-sim10/pr-3059 branch from 54bd22c to 8bd7dc0 Compare November 7, 2025 18:24
@iche033 iche033 force-pushed the mergify/bp/gz-sim10/pr-3059 branch from 8bd7dc0 to cd5bf8f Compare November 14, 2025 02:53
@iche033 iche033 merged commit 8c54cf4 into gz-sim10 Nov 14, 2025
13 of 14 checks passed
@iche033 iche033 deleted the mergify/bp/gz-sim10/pr-3059 branch November 14, 2025 17:37
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Crash when switching Debug Visualization Mode while GI is disabled

5 participants