Gazebo ‘gz sim’ Command Stops Working Randomly

Hi everyone,

I’m facing a strange issue(at least to me!) with Gazebo, and I’m hoping someone here might have a clue about what’s going wrong.
ubuntu : 24.04
ros2 : jazzy
gazebo : harmonic 8.9.0

I have installed Gazebo Sim8 and am trying to run gz sim. Initially, it works fine, but out of the blue, it just stops working. When I try to run the command again, it does nothing—it doesn’t launch, no error messages, nothing.

What I’ve Tried So Far

  1. Fixing the PATH – Ensured that all necessary environment variables are correctly set.
  2. Reinstalling Gazebo – Uninstalled and reinstalled it, but the issue persists.
  3. Checking Dependencies – Everything seems to be installed correctly.

What’s Weird?

  • It worked before, and I changed nothing—it just suddenly stopped.
  • I get no errors, no logs, no feedback—just silence when I run gz sim.

Has anyone faced a similar issue? Any ideas on how to debug or fix this?

Thanks in advance.

Edit - 1 : I found the issue: installing ros_gz_bridge causes the problem. When I remove it, Gazebo launches correctly again. However, after a system restart, the problem reappears—even without reinstalling the bridge. How can I fix this permanently?