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

gzclient crash "minimum cornder of box must be less than..." when positions NaN #2558

Open
osrf-migration opened this issue Nov 14, 2018 · 4 comments
Labels
bug Something isn't working major rendering

Comments

@osrf-migration
Copy link

Original report (archived issue) by Shane Loretz (Bitbucket: Shane Loretz, GitHub: sloretz).

The original report had attachments: tmp_collapse.world


  1. Start the attached world paused gazebo --pause tmp_collapse.world
  2. When the client starts, unpause the world

The gazebo GUI will crash with the following error.

gzclient: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:252: void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed.

This happens because the posotion of an object becomes NaN. Either it should be caught before it's sent to the client, or the client should check values for NaN before using them.

@osrf-migration
Copy link
Author

Original comment by Shane Loretz (Bitbucket: Shane Loretz, GitHub: sloretz).


Possibly related issues (contain text minimum corner): #2454 #2294 #2040 #1236 #1715

@osrf-migration
Copy link
Author

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


  • set component to "rendering"

@osrf-migration
Copy link
Author

Original comment by MarcZofka (Bitbucket: GzMRZ).


Hi,

actually this bug also occurs within our simulation:

#!bash

gzclient: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:252: void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed.
^C^CAborted (core dumped)

@osrf-migration osrf-migration added major rendering bug Something isn't working labels Apr 20, 2020
@nachumlerner
Copy link

Hi,

Is there a fix for this bug?
I'm using ros noetic and gazebo 11 and getting this crash

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

No branches or pull requests

2 participants