gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.18k stars 479 forks source link

Ogre assertion when copying and pasting a box #1715

Open osrf-migration opened 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).


Start Gazebo with an empty world, add a box, select it, resize it, copy it and paste it.

I get the following assertion:

#!c++

gzclient: /build/buildd/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^CAL lib: (WW) alcCloseDevice: Releasing context 0x20e1460

This is happening on Gazebo 6.1.0 compiled from sources on Ubuntu Vivid.

osrf-migration commented 9 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Building default from source it eventually works, but it takes longer than it should.

Building default from source, it doesn't crash, but the preview does not show up attached to the mouse, so you only see the result when you click on the screen. I confirmed it only works with scaled models.

osrf-migration commented 9 years ago

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


I can reproduce the issue in default but I was not able to crash it in gazebo6 compiled from source. I am using ogre 1.8, not sure if that matters

osrf-migration commented 9 years ago

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


pull request #1881 fixes the issue on default