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

Regression for systems that use rendering #36

Closed
osrf-migration opened this issue Aug 16, 2019 · 2 comments
Closed

Regression for systems that use rendering #36

osrf-migration opened this issue Aug 16, 2019 · 2 comments
Labels
bug Something isn't working rendering Involves Ignition Rendering

Comments

@osrf-migration
Copy link

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Description

Until version 2.6.1, it was possible to run multiple systems which accessed the rendering engine. This is how ros1_ign_point_cloud used to work. But since pull request #387, when 2 systems call ignition::rendering::engine, the 2nd call crashes with:

ruby: /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/OgreMain/include/OgreSingleton.h:80: Ogre::Singleton<T>::Singleton() [with T = Ogre::LogManager]: Assertion !msSingle
ton' failed.`

Steps to Reproduce

I created a simple example (861af48) in a branch which reproduces the issue:

hg up rendering_plugin
# follow README instructions

Or you could try using ros1_ign_point_cloud like this:

roslaunch ros1_ign_gazebo_demos depth_camera.launch

Expected behavior:

No crash when running ign gazebo -s -v 4 rendering_plugin.sdf

Actual behavior:

Crash with the Ogre assertion above.

Reproduces how often:

100%

Versions

Current ign-gazebo2 branch (the last release was 2.7.1) crashes. If you build Gazebo from the 2.6.1 tag, you can see there's no crash.

Additional Information

We could consider the performance improvements from pull request #387 to be more important than this use case and no longer support it. But we could also see if it's possible to fix it.

@osrf-migration
Copy link
Author

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


  • Edited issue description

@osrf-migration osrf-migration added major bug Something isn't working labels Apr 15, 2020
@chapulina chapulina added rendering Involves Ignition Rendering and removed major labels Apr 29, 2020
@chapulina
Copy link
Contributor

Systems can now safely access the rendering API through the render events, as explained on #596

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

No branches or pull requests

2 participants