Confirmed on a second machine running a newer release, with a stock
package.

  Distro: Ubuntu 26.04.1 LTS
  unity:  7.7.1+26.04.20260306-0ubuntu3  (unmodified)

Same workload - a Wine application, menus opened and closed rapidly - and the 
same
crash. So this is neither specific to 24.04 nor to the machine I reported from, 
and
it is not an artefact of the modified library on that machine.

A correction to my original report while I am here: I wrote that the code was
"unchanged since 2023-02-22". That date is only the snapshot date of the 24.04
source tarball. The file itself, decorations/DecoratedWindow.cpp, has not been
touched upstream since 2021-10-26, and ComputeShapedShadowQuad() in current
upstream master still reads:

  if (width != last_shadow_rect_.width() || height != 
last_shadow_rect_.height())
    shaped_shadow_pixmap_ = BuildShapedShadowTexture({width, height}, radius, 
color, shape);

  const auto* texture = shaped_shadow_pixmap_->texture();

which is the missing NULL check described in the report. The newer 7.7.1 
snapshot in
26.04 therefore carries it as well, which is consistent with the crash 
reproducing
there.

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

Title:
  compiz crashes in ComputeShapedShadowQuad: null shaped_shadow_pixmap_
  dereferenced

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to