🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6997

Bug#1156020: libcups2: Regression in 2.4.2-3+deb12u10 (DLA-4952-1) causes infinite loop / freeze in GTK3 print dialog

#6997
From: Carsten Kämmerer
Date: Tue, 01 Dec 2026 12:40
47 lines
3922 bytes
Package: libcups2
Version: 2.4.2-3+deb12u10
Severity: important
X-Debbugs-Cc: debian-lts@lists.debian.org

Dear Debian LTS team,

after upgrading cups/libcups2 to 2.4.2-3+deb12u10 (DLA-4952-1) on Debian 
12 (Bookworm), opening the GTK3 print dialog in applications like evince 
or zathura causes the application to freeze completely with high CPU 
usage (infinite loop in userspace).

Command-line printing (e.g., `lpstat -t`, `lpr`) works fine, so the 
issue is specific to non-blocking HTTP/IPP handling in libcups2 when 
used by GTK3's CUPS print backend (`libprintbackend-cups.so`).

Here is the gdb backtrace from a frozen zathura process:

#0  0x00007eff71dab26f in __GI___poll 
(fds=0x7fff2f558710,fds=1,timeout=0) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007eff55109a37 in _httpWait () at /lib/x86_64-linux-gnu/libcups.so.2
#2  0x00007eff571f5a65 in  () at 
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#3  0x00007eff571f6bad in gtk_cups_request_read_write () at 
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#4  0x00007eff571eab34 in  () at 
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#5  0x00007eff720ae3b9 in g_main_context_check () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007eff720ae938 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007eff720aeccf in g_main_loop_run () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007eff72808495 in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#9  0x000055940f3d4b6b in main ()

This seems to match the known upstream regression in `_httpWait()` / 
non-blocking socket polling when backporting recent HTTP fixes (cf. 
OpenPrinting/cups#1429).

System information:
- Debian Release: 12 (bookworm)
- Architecture: amd64
- Kernel: Linux 6.1.0-54-amd64
- libgtk-3-0: 3.24.38-2~deb12u3
- libcups2: 2.4.2-3+deb12u10

Thank you for looking into a regression update (DLA-4952-2).
Technical Details
Message-ID: <O5vjj-fkzg-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Carsten Kämmerer <ck@gaertner.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156020: libcups2: Regression in 2.4.2-3+deb12u10 (DLA-4952-1) causes infinite loop / freeze in GTK3 print dialog
Date: Tue, 01 Dec 2026 13:40:01 +0100
Message-ID: <O5vjj-fkzg-3@gated-at.bofh.it>
X-Original-To: debian-lts@lists.debian.org, submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 12:35:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Carsten Kämmerer <ck@gaertner.de>, 1156020@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-lts@lists.debian.org, debian-printing@lists.debian.org
X-Debian-Pr-Message: report 1156020
X-Debian-Pr-Package: libcups2
X-Debian-Pr-Source: cups
Authentication-Results: MSA-v6;
	auth=pass smtp.auth=ck smtp.mailfrom=ck@gaertner.de
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, de-DE
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Status: Clean
X-Greylist: delayed 481 seconds by postgrey-1.37 at buxtehude; Tue, 01 Dec 2026 12:32:26 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006280
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 47
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 1 Dec 2026 13:24:13 +0100
X-Original-Message-ID: <35435c9a-ba0e-4072-bc7b-0a04dbbd2883@gaertner.de>