# Gazebo's crashing is really driving me crazy

**URL:** <https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050>\
**Category:** Gazebo General\
**Created:** [August 21, 2020, 9:38am UTC](https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050 "2020-08-21T09:38:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiderfang](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@tiderfang](https://discourse.openrobotics.org/u/tiderfang)\
**Post date:** [August 21, 2020, 9:38am UTC](https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050/1 "2020-08-21T09:38:03Z")

</div>

Hello, everyone. I have been using gazebo for a while to simulate a agv. But the experience in gazebo is no so good because i could experience gazebo’s gui crashing.  
For example , when i accidently modify some link’s size to 0 by the gui and make sure, it just crash. (lose my done work). Is there any try catch? I think crash is really hurting. This could be done better.  
Have you ever experience gazebo crashing ?

---

<div class="post-metadata">

**Author:** ![chapulina\_gazebo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/chapulina_gazebo/32/1637_2.png) [@chapulina\_gazebo](https://discourse.openrobotics.org/u/chapulina_gazebo)\
**Post date:** [August 22, 2020, 12:09am UTC](https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050/2 "2020-08-22T00:09:48Z")

</div>

Hi there,

What version of Gazebo are you using, in which OS, and how did you install it?

That information is important because you may be using an old version with bugs that have already been fixed on newer versions.

Cheers

---

<div class="post-metadata">

**Author:** ![tiderfang](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@tiderfang](https://discourse.openrobotics.org/u/tiderfang)\
**Post date:** [August 24, 2020, 12:14am UTC](https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050/4 "2020-08-24T00:14:06Z")

</div>

Thanks for replying.  
I use the version of Gazebo multi-robot simulator, version 11.0.0 in ubuntu20.04 and I install it from the snap software center.  
The crash is as such:

1. model editor zero size leads to crash  
gzclient: /build/ogre-1.9-kiU5\_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreNode.cpp:630：virtual void Ogre::Node::setScale(const Ogre::Vector3&): Suppose ‘!inScale.isNaN() && “Invalid vector supplied as parameter”’ fail。  
I add a sphere in model editor and change its visual length to 0 in the link inspector and click ok , the client wold crash. ( I accidently did this).
2. plugin loading leads to crash  
I found it easily crash when i load models with plugin which may be configured incorrectly or have other problems.

---

<div class="post-metadata">

**Author:** ![chapulina\_gazebo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/chapulina_gazebo/32/1637_2.png) [@chapulina\_gazebo](https://discourse.openrobotics.org/u/chapulina_gazebo)\
**Post date:** [August 24, 2020, 2:57pm UTC](https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050/5 "2020-08-24T14:57:30Z")

</div>

> [@tiderfang](#):
>
> model editor zero size leads to crash

I just tried Gazebo 11.1.0 and I can’t reproduce the crash when setting scale to zero. You should be able to get that version following [these instructions](http://gazebosim.org/tutorials?tut=install_ubuntu&cat=install).

> [@tiderfang](#):
>
> plugin loading leads to crash

It’s hard to help you unless you provide more specific information. Due to their nature, being pieces of code that run directly within Gazebo’s processes, plugins can easily crash Gazebo if they want to. We strive to make the plugins we distribute robust so that they never crash though.

* * *

If you have more technical questions, please direct them to [https://answers.gazebosim.org/](https://answers.gazebosim.org/). This forum here is for more general discussion. When you post questions there, be sure to always explain how others can reproduce your problem. It’s very difficult to help someone without detailed information.

> [@tiderfang](#):
>
> But the experience in gazebo is no so good

Sorry to hear that, I hope you get the help you need to fix the issues you’re seeing. We’re constantly releasing new versions with bug fixes, and we’re improving the entire architecture as we refactor Gazebo into [Ignition](https://ignitionrobotics.org/). So if you have concrete suggestions on how things could be improved we’d love to hear them 😉

---

<div class="post-metadata">

**Author:** ![tiderfang](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@tiderfang](https://discourse.openrobotics.org/u/tiderfang)\
**Post date:** [August 26, 2020, 3:08am UTC](https://discourse.openrobotics.org/t/gazebos-crashing-is-really-driving-me-crazy/48050/6 "2020-08-26T03:08:33Z")

</div>

Thanks. I will try your advice.
