gazebosim / gz-gui

Builds on top of Qt to provide widgets which are useful when developing robotics applications, such as a 3D view, plots, dashboard, etc, and can be used together in a convenient unified interface.
https://gazebosim.org
Apache License 2.0
74 stars 43 forks source link

Rendering tests segfault if the engine is unloaded #565

Open iche033 opened 1 year ago

iche033 commented 1 year ago

Environment

Description

Steps to reproduce

Add the following call to unload the render engine in the transport _scene_manager integration test before the tests exists

EXPECT_TRUE(rendering::unloadEngine(engine->Name()));

See the test fail due to segfault on jammy github actions. The segfault happens when the tests exit (after successfully unloading the engine). The crash could be coming from the destructor of a rendering class.

See https://github.com/gazebosim/gz-gui/pull/561 that removes these unload engine calls in order to get the CI green.