Bug#1121911: libgtk-3-0t64: cups backend freezes when attempting to print from GTK application

Timo Röhling roehling at debian.org
Thu Dec 4 16:20:52 GMT 2025


Package: libgtk-3-0t64
Version: 3.24.51-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

when I attempt to open the printing dialog from atril or Firefox, the 
application freezes as soon as CUPS is accessed. CUPS itself works fine, 
as I can print from the command line with "lp", show the available 
printers with "lpstat -p", and print a test page via the web interface 
at localhost:631.

Debugging atril yielded the following transcript (I just opened a random 
PDF file and pressed Ctrl+P):


~$ gdb /usr/bin/atril                                                                                                                                                                                                                                  
17:04:42
GNU gdb (Debian 16.3-5) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/atril...
Reading symbols from /home/roehling/.cache/debuginfod_client/7cf46772d9a0ddcf0c89e6fb38d33dab04636fc9/debuginfo...
(gdb) run
Starting program: /usr/bin/atril
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdf7ff6c0 (LWP 11223)]
[New Thread 0x7fffdc9ff6c0 (LWP 11224)]
[New Thread 0x7fffdbbff6c0 (LWP 11225)]
[New Thread 0x7fffdb3fe6c0 (LWP 11226)]
[New Thread 0x7fffdabfd6c0 (LWP 11227)]
[New Thread 0x7fffda3fc6c0 (LWP 11228)]
[New Thread 0x7fffd9bfb6c0 (LWP 11229)]
[New Thread 0x7fffd8bff6c0 (LWP 11235)]
[New Thread 0x7fffbec536c0 (LWP 11236)]
[New Thread 0x7fffbe4526c0 (LWP 11237)]
[Thread 0x7fffdf7ff6c0 (LWP 11223) exited]
^C
Thread 1 "atril" received signal SIGINT, Interrupt.
Download failed: Invalid argument.  Continuing without source file ./nptl/../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S.
__syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
warning: 56     ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S: No such file or directory
(gdb) bt
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007ffff6c902b8 in __internal_syscall_cancel (a1=a1 at entry=140737488347280, a2=a2 at entry=1, a3=a3 at entry=0, a4=a4 at entry=0, a5=a5 at entry=0, a6=a6 at entry=0, nr=7) at ./nptl/cancellation.c:49
#2  0x00007ffff6c902fd in __syscall_cancel (a1=a1 at entry=140737488347280, a2=a2 at entry=1, a3=a3 at entry=0, a4=a4 at entry=0, a5=a5 at entry=0, a6=a6 at entry=0, nr=7) at ./nptl/cancellation.c:75
#3  0x00007ffff6d040c6 in __GI___poll (fds=fds at entry=0x7fffffffe090, nfds=nfds at entry=1, timeout=timeout at entry=0) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007fffbcd9e271 in poll (__fds=0x7fffffffe090, __nfds=1, __timeout=0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:44
#5  _httpWait (http=<optimized out>, usessl=<optimized out>, msec=0) at ./cups/http.c:3082
#6  _httpWait (http=<optimized out>, msec=0, usessl=<optimized out>) at ./cups/http.c:3039
#7  0x00007fffbf42f3b4 in _post_check (request=0x555555c6e490) at ../../../modules/printbackends/cups/gtkcupsutils.c:1177
#8  0x00007fffbf4306e5 in gtk_cups_request_read_write (request=0x555555c6e490, connect_only=connect_only at entry=0) at ../../../modules/printbackends/cups/gtkcupsutils.c:298
#9  0x00007fffbf424548 in cups_dispatch_watch_check (source=0x555555ba2060) at ../../../modules/printbackends/cups/gtkprintbackendcups.c:1586
#10 0x00007ffff70a3e8c in g_main_context_check_unlocked (context=context at entry=0x55555562deb0, max_priority=<optimized out>, max_priority at entry=0, fds=fds at entry=0x5555559be560, n_fds=n_fds at entry=3) at ../../../glib/gmain.c:4312
#11 0x00007ffff70a4900 in g_main_context_iterate_unlocked (context=context at entry=0x55555562deb0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4487
#12 0x00007ffff70a51d0 in g_main_context_iteration (context=context at entry=0x55555562deb0, may_block=may_block at entry=1) at ../../../glib/gmain.c:4556
#13 0x00007ffff72f40bd in g_application_run (application=application at entry=0x55555569efd0, argc=argc at entry=0, argv=argv at entry=0x0) at ../../../gio/gapplication.c:2741
#14 0x00005555555754c5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.c:280
(gdb)


Cheers
Timo

- -- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.9+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgtk-3-0t64 depends on:
ii  adwaita-icon-theme     49.0-1
ii  hicolor-icon-theme     0.18-2
ii  libatk-bridge2.0-0t64  2.58.2-1
ii  libatk1.0-0t64         2.58.2-1
ii  libc6                  2.42-4
ii  libcairo-gobject2      1.18.4-1+b1
ii  libcairo2              1.18.4-1+b1
ii  libcloudproviders0     0.3.6-3
ii  libcolord2             1.4.8-2
ii  libcups2t64            2.4.15-1
ii  libepoxy0              1.5.10-2
ii  libfontconfig1         2.15.0-2.4
ii  libfribidi0            1.0.16-3
ii  libgdk-pixbuf-2.0-0    2.44.4+dfsg-1
ii  libglib2.0-0t64        2.86.2-1
ii  libgtk-3-common        3.24.51-1
ii  libharfbuzz0b          12.1.0-1
ii  libpango-1.0-0         1.56.3-2
ii  libpangocairo-1.0-0    1.56.3-2
ii  libpangoft2-1.0-0      1.56.3-2
ii  libwayland-client0     1.24.0-2+b1
ii  libwayland-cursor0     1.24.0-2+b1
ii  libwayland-egl1        1.24.0-2+b1
ii  libx11-6               2:1.8.12-1
ii  libxcomposite1         1:0.4.6-1
ii  libxcursor1            1:1.2.3-1
ii  libxdamage1            1:1.1.6-1+b2
ii  libxext6               2:1.3.4-1+b3
ii  libxfixes3             1:6.0.0-2+b4
ii  libxi6                 2:1.8.2-1
ii  libxinerama1           2:1.1.4-3+b4
ii  libxkbcommon0          1.12.3-1
ii  libxrandr2             2:1.5.4-1+b3
ii  shared-mime-info       2.4-5+b3

Versions of packages libgtk-3-0t64 recommends:
pn  libgtk-3-bin     <none>
ii  librsvg2-common  2.61.3+dfsg-2

Versions of packages libgtk-3-0t64 suggests:
ii  gvfs  1.58.0-1

Versions of packages libgtk-3-0t64 is related to:
pn  appmenu-gtk3-module            <none>
pn  fcitx-frontend-gtk3            <none>
pn  fcitx5-frontend-gtk3           <none>
pn  gcin-gtk3-immodule             <none>
pn  gtk-vector-screenshot          <none>
pn  gtk3-engines-xfce              <none>
pn  gtk3-im-libthai                <none>
pn  hime-gtk3-immodule             <none>
pn  ibus-gtk3                      <none>
pn  imhangul-gtk3                  <none>
pn  kde-config-gtk-style           <none>
pn  libcanberra-gtk3-module        <none>
pn  libcaribou-gtk3-module         <none>
ii  libgtk-layer-shell0            0.10.0-1
pn  libgtk-session-lock0           <none>
pn  libgtk3-nocsd0                 <none>
pn  liblunar-calendar-gtk3-module  <none>
pn  libxapp-gtk3-module            <none>
pn  maliit-inputcontext-gtk3       <none>
pn  packagekit-gtk3-module         <none>
pn  scim-gtk-immodule              <none>
pn  topmenu-gtk3                   <none>
pn  uim-gtk3                       <none>
pn  uim-gtk3-immodule              <none>
pn  xfce4-settings                 <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmkxtN8ACgkQzIxr3RQD
9MoKxA//f38xxMCp237f2N7oM8nlT/K8CEg4eo7YclMkJ2ggXRWHHAgBL2wkToJ8
Wt//l0J8qv0RsvXhEfjCiki6Wrs95hgAZsOapWjiWwuEXnnTad4lP3Fq5HaJdpLc
sm0GC48uKO/iGxg3IGjDqLvZeqf4GFcAjyvRGSsvGpfCCXtMlC0wCKGULin+6/H8
teW3u6N4uvm0Z/Tgjbm4YZblauKZ56MtB1PTpQSvahV5+nSIXC+UF91hN7hwTObZ
g027h/duLhmbc9EFOrB5sJRoe3A01dWeAv2Hl22N3513FvjhcPPG+CPZ46wyaseJ
jtd/ww4gSkWWguMnumSsYWqcujXhI2iHKv//F9KtId6YFG2Dk0JqWIrFn+qXb/lP
+xgOT3zP0qQjdMpaPtoWHxKjDvKRtVQpyJPHLKhNF41k7+vaa/XQITVGmVcGRAqE
S9a0ZTA+NEfjVEqFRep8hdwogrpRkIV+30FSfDwDZSWDZj3Uu2Tqn7+ZqeU7r3E+
GnorIgcN2/f6MyFcwpvF3vSdofI39M3B37h99ZTjLYqCf/LryimS666t55LojK2t
BOe2s9D295nER5TddkEUyTeBetH+Um7nUzg2C5o2bdEhTlCNblu+mtbBUEdbT86q
XqL2waaCXcoi01u1/rt8Ysrv7Qj3OyjOjkVLP4xa9fpxrwwK01U=
=FYSh
-----END PGP SIGNATURE-----



More information about the pkg-gnome-maintainers mailing list