[Ubuntu-x-swat] [Bug 2004649] [NEW] Regression bug with mesa backport and ogre rendering

2023-02-03 Thread Sebastian Castro
Public bug reported:

We found a breaking change with
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1991761 when running
an application that relies on ogre 1.9 for rendering inside a Docker
container based on the ubuntu:jammy image.

We could confirm that the upgrade causing this was as follows, because
the issue goes away when downgrading versions:

[UPGRADE] libegl-mesa0:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libgbm-dev:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libgbm1:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libgl1-mesa-dri:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libglapi-mesa:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libglx-mesa0:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1

For completeness, the full stack trace is:

Stack trace (most recent call last) in thread 18237:
#25 Object "[0x]", at 0x, in
#24 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba75089ff, in
#23 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba7476b42, in
#22 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f2ba3a4d2b2, in
#21 Object 
"/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so",
 at 0x7f2b6456b2bf, in 
ignition::gazebo::v6::systems::SensorsPrivate::RenderThread()
#20 Object 
"/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so",
 at 0x7f2b6456aba6, in ignition::gazebo::v6::systems::SensorsPrivate::RunOnce()
#19 Object "/opt/underlay_ws/install/lib/libignition-sensors6.so.6", at 
0x7f2b76db113e, in 
ignition::sensors::v6::Manager::RunOnce(std::chrono::duration > const&, bool)
#18 Object "/opt/underlay_ws/install/lib/libignition-sensors6.so.6", at 
0x7f2b76db95b5, in 
ignition::sensors::v6::Sensor::Update(std::chrono::duration > const&, bool)
#17 Object 
"/opt/underlay_ws/install/lib/libignition-sensors6-rgbd_camera.so.6", at 
0x7f2b6436a020, in 
ignition::sensors::v6::RgbdCameraSensor::Update(std::chrono::duration > const&)
#16 Object "/opt/underlay_ws/install/lib/libignition-sensors6-rendering.so.6", 
at 0x7f2b64282a6d, in ignition::sensors::v6::RenderingSensor::Render()
#15 Object 
"/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre.so",
 at 0x7f2b5c6adc85, in ignition::rendering::v6::OgreDepthCamera::PostRender()
#14 Object 
"/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre.so",
 at 0x7f2b5c71d743, in 
ignition::rendering::v6::OgreRenderTexture::Buffer(float*)
#13 Object "/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0", at 0x7f2b5c32c90a, 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 
0x7f2aeac67a85, in Ogre::GLTextureBuffer::download(Ogre::PixelBox const&)
#11 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26225cdd, in
#10 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b262246ae, in
#9 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b262244b0, in
#8 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26082975, in
#7 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26224a86, in
#6 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b260800a8, in
#5 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b260a3f19, in
#4 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26c77f37, in
#3 Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b25fa88b6, in
#2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba740a7f2, in abort
#1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba7424475, in raise
#0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba7478a7c, in pthread_kill
Aborted (Signal sent by tkill() 17739 0)

** Affects: mesa (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: regression-update

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2004649

Title:
  Regression bug with mesa backport and ogre rendering

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2004649/+subscriptions


___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1991761] Re: Backport packages for 22.04.2 HWE stack

2023-02-03 Thread Sebastian Castro
We found a breaking change with this when running an application that
relies on ogre 1.9 for rendering inside a Docker container based on the
ubuntu:jammy image.

We could confirm that the upgrade causing this was as follows, because
the issue goes away when downgrading versions:

[UPGRADE] libegl-mesa0:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libgbm-dev:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libgbm1:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libgl1-mesa-dri:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libglapi-mesa:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1
[UPGRADE] libglx-mesa0:amd64 22.0.1-1ubuntu2 -> 22.2.5-0ubuntu0.1~22.04.1

For completeness, the full stack trace is:

Stack trace (most recent call last) in thread 18237:
#25   Object "[0x]", at 0x, in 
#24   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba75089ff, in 
#23   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba7476b42, in 
#22   Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f2ba3a4d2b2, in 
#21   Object 
"/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so",
 at 0x7f2b6456b2bf, in 
ignition::gazebo::v6::systems::SensorsPrivate::RenderThread()
#20   Object 
"/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so",
 at 0x7f2b6456aba6, in ignition::gazebo::v6::systems::SensorsPrivate::RunOnce()
#19   Object "/opt/underlay_ws/install/lib/libignition-sensors6.so.6", at 
0x7f2b76db113e, in 
ignition::sensors::v6::Manager::RunOnce(std::chrono::duration > const&, bool)
#18   Object "/opt/underlay_ws/install/lib/libignition-sensors6.so.6", at 
0x7f2b76db95b5, in 
ignition::sensors::v6::Sensor::Update(std::chrono::duration > const&, bool)
#17   Object 
"/opt/underlay_ws/install/lib/libignition-sensors6-rgbd_camera.so.6", at 
0x7f2b6436a020, in 
ignition::sensors::v6::RgbdCameraSensor::Update(std::chrono::duration > const&)
#16   Object 
"/opt/underlay_ws/install/lib/libignition-sensors6-rendering.so.6", at 
0x7f2b64282a6d, in ignition::sensors::v6::RenderingSensor::Render()
#15   Object 
"/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre.so",
 at 0x7f2b5c6adc85, in ignition::rendering::v6::OgreDepthCamera::PostRender()
#14   Object 
"/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre.so",
 at 0x7f2b5c71d743, in 
ignition::rendering::v6::OgreRenderTexture::Buffer(float*)
#13   Object "/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0", at 0x7f2b5c32c90a, 
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 
0x7f2aeac67a85, in Ogre::GLTextureBuffer::download(Ogre::PixelBox const&)
#11   Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26225cdd, in 
#10   Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b262246ae, in 
#9Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b262244b0, in 
#8Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26082975, in 
#7Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26224a86, in 
#6Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b260800a8, in 
#5Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b260a3f19, in 
#4Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b26c77f37, in 
#3Object "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so", at 0x7f2b25fa88b6, in 
#2Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba740a7f2, in abort
#1Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba7424475, in raise
#0Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f2ba7478a7c, in 
pthread_kill
Aborted (Signal sent by tkill() 17739 0)

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1991761

Title:
  Backport packages for 22.04.2 HWE stack

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/directx-headers/+bug/1991761/+subscriptions


___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp