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 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f91429e3f, in __libc_start_main
#27 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f5f91429d8f, in
#26 Object "ign gazebo gui", at 0x5562181f917e, in
#25 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f918a8e19, in ruby_run_node
#24 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f918a5317, in
#23 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a3a30c, in rb_vm_exec
#22 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a34c96, in
#21 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a31fc5, in
#20 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a2fc34, in
#19 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f9197ba1e, in
#18 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f918a69ac, in rb_protect
#17 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a3ec61, in rb_yield
#16 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a3a30c, in rb_vm_exec
#15 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a34c96, in
#14 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a31fc5, in
#13 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f91a2fc34, in
#12 Object "/usr/lib/x86_64-linux-gnu/ruby/3.0.0/fiddle.so", at 0x7f5f9164a44b, in
#11 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7f5f919fd088, in rb_nogvl
#10 Object "/usr/lib/x86_64-linux-gnu/ruby/3.0.0/fiddle.so", at 0x7f5f91649d6b, in
#9 Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7f5f9163b492, in
#8 Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7f5f9163ee2d, in
#7 Object "/usr/lib/x86_64-linux-gnu/libignition-gazebo6-ign.so.6.11.0", at 0x7f5f8d77486c, in runGui
#6 Object "/lib/x86_64-linux-gnu/libignition-gazebo6-gui.so.6", at 0x7f5f8c8889db, in ignition::gazebo::v6::gui::runGui(int&, char**, char const*, char const*, int, char const*)
#5 Object "/lib/x86_64-linux-gnu/libignition-gui6.so.6", at 0x7f5f8cac916c, in ignition::gui::Application::~Application()
#4 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f5f8b6ef923, in QObject::~QObject()
#3 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f5f8b6e4a6d, in QObjectPrivate::deleteChildren()
#2 Object "/lib/x86_64-linux-gnu/libignition-gazebo6-gui.so.6", at 0x7f5f8c890e1c, in ignition::gazebo::v6::GuiRunner::~GuiRunner()
#1 Object "/lib/x86_64-linux-gnu/libignition-gazebo6-gui.so.6", at 0x7f5f8c890e01, in ignition::gazebo::v6::GuiRunner::~GuiRunner()
#0 Object "/lib/x86_64-linux-gnu/libignition-gazebo6-gui.so.6", at 0x7f5f8c89f63b, in void ignition::utils::detail::DefaultDelete<ignition::gazebo::v6::GuiRunner::Implementation>(ignition::gazebo::v6::GuiRunner::Implementation*)
Segmentation fault (Address not mapped to object [0x7f5f447cff18])
Thank you for your time !