Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
osrf-migration opened this issue Nov 14, 2018 · 3 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major rendering
Projects
None yet
Development

No branches or pull requests

1 participant