Package: libcups2
Version: 2.4.2-3+deb12u10
Severity: important
X-Debbugs-Cc: [email protected]
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).