/usr/libexec/xdg-document-portal:6:g_assertion_message:g_assertion_message_expr:xdp_inode_destroy:xdp_inode_unref_internal:xdp_inode_unref_internal

Bug #1810757 reported by errors.ubuntu.com bug bridge
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xdg-desktop-portal (Ubuntu)
Fix Released
Undecided
Ken VanDine
Cosmic
Fix Released
Medium
Ken VanDine

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding xdg-desktop-portal. This problem was most recently seen with package version 1.0.2-1ubuntu1, the problem page at https://errors.ubuntu.com/problem/38fed8b2e1a584847f0c29fac422a19313c40d3d contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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

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

Changed in xdg-desktop-portal (Ubuntu):
status: New → Confirmed
Revision history for this message
James Henstridge (jamesh) wrote :

This bug occurs when using the "SaveFile" desktop portal API and the user chooses a new file name rather than overwriting an existing file.

It can easily be reproduced with the following steps:

1. install the test-snapd-portal-client snap:

    snap install --edge test-snapd-portal-client

2. run the save-file test:

    test-snapd-portal-client save-file "foo"

3. in the file chooser, select a file name that does not exist.

The command will fail with a ConnectionAbortedError exception, and xdg-document-portal will crash with the following in the log:

    Jan 07 17:38:06 scruffy xdg-document-portal[30685]: error: Invalid id snap.test-snapd-portal-client: Names must contain at least 2 periods
    Jan 07 17:38:06 scruffy xdg-document-portal[30685]: error: **
    Jan 07 17:38:06 scruffy xdg-document-portal[30685]: xdg-desktop-portal:ERROR:document-portal/document-portal-fuse.c:206:xdp_inode_destroy: assertion failed: (inode->dir_fd == -1)

The problem does not occur with xdg-desktop-portal 1.0.3, so it is likely that one of the patches alexl mentioned at https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1691649/comments/10 would fix it. With that said, backporting 1.0.3 might be the better option if we want working portals.

Changed in xdg-desktop-portal (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
Changed in xdg-desktop-portal (Ubuntu Cosmic):
assignee: nobody → Ken VanDine (ken-vandine)
status: New → Confirmed
Changed in xdg-desktop-portal (Ubuntu):
status: Confirmed → Fix Released
Changed in xdg-desktop-portal (Ubuntu Cosmic):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello errors.ubuntu.com, or anyone else affected,

Accepted xdg-desktop-portal into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xdg-desktop-portal/1.0.3-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in xdg-desktop-portal (Ubuntu Cosmic):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Revision history for this message
Ken VanDine (ken-vandine) wrote :

I verified this fixes the crash

tags: added: verification-done-cosmic
removed: cosmic verification-needed verification-needed-cosmic
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for xdg-desktop-portal has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

This bug was fixed in the package xdg-desktop-portal - 1.0.3-0ubuntu1

---------------
xdg-desktop-portal (1.0.3-0ubuntu1) cosmic; urgency=medium

  * New upstream release (LP: #1813048)
    - Fixes crash in document portal (LP: #1810757)

 -- Ken VanDine <email address hidden> Mon, 10 Dec 2018 14:11:30 -0500

Changed in xdg-desktop-portal (Ubuntu Cosmic):
status: Fix Committed → Fix Released
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.