Sensors system not unloaded properly between tests #620
Labels
bug
Something isn't working
help wanted
We accept pull requests!
rendering
Involves Ignition Rendering
sensors
Sensors and sensor data
tests
Broken or missing tests / testing infra
Environment
Description
When running the INTEGRATION_thermal_system test, the 3rd test segfaults. But if the test is run by itself it runs fine and passes.
More info: This integration test has 3 test cases in this commit. The first 2 tests only runs for 1 iteration so the visuals may not have been created yet. However, the 3rd test runs for multiple iterations which actually cause the visuals to be created, it segfaults with a backtrace pointing to ogre when it tries to create any visual.
I suspect that the sensors system is not unloaded properly in between tests. So when the 3rd test is run and visuals are to be created, it's actually making ogre calls that are outside the rendering thread (the rendering thread is likely still the one created by the first test).
Steps to reproduce
Output
Backtrace points to ogre2 calls when creating vertex buffer which typically suggests that it's not making the rendering call in the rendering thread.
The text was updated successfully, but these errors were encountered: