Public bug reported:

Summary

Printing from GNOME PDF viewers fails because xdg-desktop-portal-gnome
crashes with a segmentation fault when the user confirms the print
dialog.

The printer is detected correctly and appears in the print dialog, but
after pressing Print:

the dialog closes immediately,
no print job is submitted to CUPS,
the application remains running,
xdg-desktop-portal-gnome crashes with SIGSEGV.

The issue affects both Papers and Evince.

Environment

Ubuntu 26.04 (Resolute)
GNOME session (XDG_CURRENT_DESKTOP=ubuntu:GNOME)
xdg-desktop-portal-gnome 50.0-0ubuntu1
papers 50.2-0ubuntu0.1
evince from Ubuntu repositories

Steps to reproduce

Open any PDF in Papers or Evince.
Open the Print dialog.
Select a printer.
Press Print.

Expected result

The print job should be submitted to CUPS and printed.

Actual result

The print dialog closes immediately and no print job is created.

lpstat -t shows the printer correctly and Firefox can print successfully
to the same printer.

Relevant journal output

xdg-desktop-portal-gnomeGtkDialog mapped without a transient parent. This is 
discouraged.
systemd[4492]: xdg-desktop-portal-gnome.service: Main process exited, 
code=dumped, status=11/SEGV
systemd[4492]: xdg-desktop-portal-gnome.service: Failed with result 'core-dump'.


Papers output

GtkPrintOperation::create-custom-widget not supported with portal


Evince output

GtkPrintOperation::create-custom-widget not supported with portal
Gtk-CRITICAL **: gtk_print_operation_get_status:
assertion 'GTK_IS_PRINT_OPERATION (op)' failed


Additional observations

Firefox prints successfully using the same system and printer.
The printer is visible in the GTK print dialog.
No job reaches CUPS.
Reinstalling xdg-desktop-portal-gnome does not fix the issue.
Updating GTK packages (libgtk-4-*) does not fix the issue.
The crash is reproducible every time a print job is submitted from Papers or 
Evince.

I would classify this as a bug in xdg-desktop-portal-gnome because the
crash occurs consistently inside the portal process during the print
operation and prevents the request from reaching CUPS.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: xdg-desktop-portal-gnome 50.0-0ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 18 14:54:34 2026
InstallationDate: Installed on 2025-11-19 (364 days ago)
InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
ProcEnviron:
 LANG=es_ES.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: xdg-desktop-portal-gnome
UpgradeStatus: Upgraded to resolute on 2026-05-22 (180 days ago)

** Affects: xdg-desktop-portal-gnome (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

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

Title:
  xdg-desktop-portal-gnome crashes with SIGSEGV when printing from
  Papers/Evince

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal-gnome/+bug/2174839/+subscriptions


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

Reply via email to