Right-clicking in Chrome's "Save As" dialog crashes xdg-desktop-portal-gtk

Bug #1945871 reported by Ohad Lutzky
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xdg-desktop-portal-gtk (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Ubuntu version: Ubuntu 21.04
xdg-desktop-portal-gtk version: 1.8.0-1
google-chrome-stable version: 94.0.4606.61-1

Reproduction:

1. Open Google Chrome - this has been occurring for several months, so different versions, but currently the one I have installed is: 94.0.4606.61 (Official Build) (64-bit)
2. Right-click on any page, click "Save As" (or download a file, which opens the same dialog)

Expected behavior: A context menu with items such as "Open With File Manager", "Rename", etc.
Actual behavior: "Save As" dialog is closed, and apport is triggered for /usr/libexec/xdg-desktop-portal-gtk (I *think* I attached a stack trace here).

Other apps (firefox, gedit) work as expected here, the problem appears specific to Chrome - but Chrome isn't crashing - xdg-desktop-portal-gtk is. Therefore I'm starting by filing a bug report here.

Unfortunately Chrome isn't reporting anything to stdout/stderr about this (only some unrelated messages about bluetooth).

Note: I've attached /var/crash/_usr_libexec_xdg-desktop-portal-gtk.1000.crash. However, /var/crash/_usr_libexec_xdg-desktop-portal-gtk.1000.uploaded exists, with contents 68511cc2-2374-11ec-b3f5-fa163e6cac46. I don't see that this actually opened a bug anywhere though.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: xdg-desktop-portal-gtk 1.8.0-1
ProcVersionSignature: Ubuntu 5.11.0-34.36-generic 5.11.22
Uname: Linux 5.11.0-34-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 2 18:06:52 2021
InstallationDate: Installed on 2019-06-25 (829 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: xdg-desktop-portal-gtk
UpgradeStatus: Upgraded to hirsute on 2021-07-30 (63 days ago)

Revision history for this message
Ohad Lutzky (lutzky) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, the errors report for the ID lists has a signature similar to https://github.com/flatpak/xdg-desktop-portal-gtk/issues/315

Changed in xdg-desktop-portal-gtk (Ubuntu):
importance: Undecided → High
Revision history for this message
Ohad Lutzky (lutzky) wrote :

FWIW, as opposed to https://github.com/flatpak/xdg-desktop-portal-gtk/issues/315#issuecomment-695995792, this does not reproduce for me in other apps when unsetting WAYLAND_DISPLAY.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xdg-desktop-portal-gtk (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.