Closed iche033 closed 1 month ago
:farmer: This is also affecting main noble jobs, see: https://build.osrfoundation.org/job/gz_rendering-ci-main-noble-amd64/6/
I was able to reproduce the issue on Ubuntu Noble with ogre 1.9.0 debs but I haven't found a fix for it yet. Some observations:
gdb
points to std::thread::join
here in the test but does not have any other suspicious traces.When testing with ogre 1.9.0 built from source (with the same cmake args as ones used to build the debs), the test passes.
I missed a few compile flags last time and now have found the one that caused the crash: -flto=auto
. Running the test with ogre 1.9 built with this flag will reliably make the test fail. It seems to be related to the RenderSystem_GL.so
plugin. If you comment out the call to unload (dlclose
) the plugin, test does not crash when thread exists.
merged workaround in https://github.com/gazebosim/gz-rendering/pull/1033
Environment
Source or binary build? source build,
main
branch (gz-rendering9)Description
INTEGRATION_load_unload_ogre_gl3plus
test is failing ongz_rendering-ci-pr_any-noble-amd64
CIThe test passes on Ubuntu Jammy on github actions and jenkins
Output
CI console output