Public bug reported:

LLM summary:

On Ubuntu 26.04 (mate-utils 1.26.1-1build5, libgdk-pixbuf-2.0-0
2.44.5+dfsg-4ubuntu1, libglycin-2-0 2.1.5), clicking Save in mate-
screenshot hangs forever. This happens with both full-screen and --area
captures.

mate-screenshot saves by calling fork() and then gdk_pixbuf_save() in
the child. gdk-pixbuf 2.44 now delegates PNG encoding to glycin, which
depends on its own worker threads and a sandboxed glycin-image-rs
process. Those threads don't exist in the forked child, so it blocks
forever on a futex. The parent waits for the child to exit, so the
dialog never returns. Each hung child has an idle bwrap → glycin-image-
rs process under it.

Calling gdk_pixbuf_save() from a process that doesn't fork works
normally, so glycin and its sandbox are fine. The fix is to save without
fork(), for example with gdk_pixbuf_save_to_stream_async() or a GTask.

--my summary is that when I use `print screen`, I save the image, but
then the window just hangs.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: mate-utils 1.26.1-1build5
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Fri Dec  4 17:20:21 2026
InstallationDate: Installed on 2023-07-25 (1228 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: mate-utils
UpgradeStatus: Upgraded to resolute on 2026-11-29 (6 days ago)

** Affects: mate-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

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

Title:
  mate-screenshot hangs on Save with gdk-pixbuf 2.44 (glycin): fork()
  before gdk_pixbuf_save deadlocks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-utils/+bug/2190875/+subscriptions


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

Reply via email to