Gazebo fortress crashes when running camera_sensor.sdf
Hello everyone !
I tried to run the example camera_sensor.sdf. The simulation starts correctly, if I run it without subscribing to the /camera topic everything seems fine. But when I try to display the images taken by the camera in the 'Image Display' menu, everything freeze. Sometimes I can see one image before the simulation crashes. Is this because my PC is not powerful enough or does it come from somewhere else ? I'm on ubuntu 22.04, with 16 GB of RAM, a processor 11th Gen Intel® Core™ i7 and for the graphics I have a Mesa Intel® Xe Graphics (TGL GT2).
The terminal's output after the crash :
Stack trace (most recent call last) in thread 10131:
#24 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#23 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f915269ff, in
#22 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f91494b42, in
#21 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f5f8d4dc2b2, in
#20 Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so", at 0x7f5f780e12bf, in ignition::gazebo::v6::systems::SensorsPrivate::RenderThread()
#19 Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so", at 0x7f5f780e0ba6, in ignition::gazebo::v6::systems::SensorsPrivate::RunOnce()
#18 Object "/lib/x86_64-linux-gnu/libignition-sensors6.so.6", at 0x7f5f6a329a1e, in ignition::sensors::v6::Manager::RunOnce(std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, bool)
#17 Object "/lib/x86_64-linux-gnu/libignition-sensors6.so.6", at 0x7f5f6a336815, in ignition::sensors::v6::Sensor::Update(std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, bool)
#16 Object "/lib/x86_64-linux-gnu/libignition-sensors6-camera.so.6", at 0x7f5f6a389ff2, in ignition::sensors::v6::CameraSensor::Update(std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&)
#15 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre.so", at 0x7f5f6692f2bb, in
#14 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre.so", at 0x7f5f669ae204, in ignition::rendering::v6::OgreRenderTarget::Copy(ignition::rendering::v6::Image&) const
#13 Object "/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0", at 0x7f5f664ac90a, in Ogre::RenderTexture::copyContentsToMemory(Ogre::PixelBox const&, Ogre::RenderTarget::FrameBuffer)
#12 Object "/usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so", at 0x7f5f34368a85, in Ogre::GLTextureBuffer::download(Ogre::PixelBox const&)
#11 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4d119cdd, in
#10 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4d1186ae, in
#9 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4d1184b0, in
#8 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4cf76975, in
#7 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4d119376, in
#6 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4cf740a8, in
#5 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4cf97f19, in
#4 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4db6bf37, in
#3 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f5f4ce9c8b6, in
#2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f914287f2, in abort
#1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f91442475, in raise
#0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f91496a7c, in pthread_kill
Aborted (Signal sent by tkill() 10085 1000)
Stack trace (most recent call last):
#30 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#29 Object "ign gazebo gui", at 0x5562181f91c4, in _start
#28 ...