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

Rendering tests segfault if the engine is unloaded #565

Open
2 tasks done
iche033 opened this issue Aug 22, 2023 · 0 comments
Open
2 tasks done

Rendering tests segfault if the engine is unloaded #565

iche033 opened this issue Aug 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@iche033
Copy link
Contributor

iche033 commented Aug 22, 2023

Environment

  • OS Version: Ubuntu 22.04

  • Source or binary build? source, gz-gui7

  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.

    • Rendering plugin: ogre2.

      • GUI rendering error.
    • Generally, mention all circumstances that might affect rendering capabilities:

      • running on jammy github actions (only happens on jammy)

Description

  • Expected behavior: Test exists successfully
  • Actual behavior: Tests segfault when there is an rendering::unloadEngine call

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 #561 that removes these unload engine calls in order to get the CI green.

@iche033 iche033 added the bug Something isn't working label Aug 22, 2023
@iche033 iche033 mentioned this issue Aug 22, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

1 participant