undismissable, unclickable authentication dialog left on screen (top-left corner) after policykit authentication [pushModal: invocation of begin_modal failed]

Bug #1824874 reported by Steve Langasek on 2019-04-15
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
High
Unassigned

Bug Description

In disco, when policykit prompted me for a password in order for update-manager to dispatch instructions to aptdaemon to perform package updates, the password dialog remained on the screen after I clicked 'authenticate'.

The window is not clickable, it appears not to even be a window - mouse presses are received by the window underneath. The exception is that the 'cancel' button is active and receives mouse events - but clicking it does nothing.

This may be a gnome-shell issue rather than policykit.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: policykit-1 0.105-25
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 15 13:14:33 2019
InstallationDate: Installed on 2010-09-24 (3125 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
SourcePackage: policykit-1
UpgradeStatus: Upgraded to disco on 2019-04-11 (3 days ago)

Steve Langasek (vorlon) wrote :
Steve Langasek (vorlon) wrote :

Restarting polkit.service does not cause the window to disappear.

Changed in policykit-1 (Ubuntu):
importance: Undecided → High
tags: added: rls-dd-incoming
affects: policykit-1 (Ubuntu) → gnome-shell (Ubuntu)
Steve Langasek (vorlon) wrote :

Screenshot of the dialog in question. The text comes from aptdaemon's policykit policy.

Steve Langasek (vorlon) wrote :
Download full text (4.0 KiB)

journalctl output for the period in question, taken from 'journalctl -l --since today | grep gnome-shell'.

13:19 is my restart of the polkit service.

The actual authentication did not succeed, aptdaemon did not start and no packages were installed; so I don't know exactly when this window broke - though I think it was after 13:00, and thus much later than the polkit messages at the beginning of the log. (I certainly didn't have a broken window on my screen for ~2h before filing this bug.)

Apr 15 11:33:29 virgil gnome-shell[4571]: polkitAuthenticationAgent: Received 3 identities that can be used for authentication. Only considering one.
Apr 15 11:33:29 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed
Apr 15 11:33:29 virgil gnome-shell[4571]: polkitAuthenticationAgent: Failed to show modal dialog. Dismissing authentication request for action-id org.debian.apt.install-or-remove-packages cookie 2-c14dea1098d77930282650c2c7031008-3-811320afb0a7974406f93ce80f7d4594
Apr 15 11:59:56 virgil gnome-shell[4571]: remove_mnemonics: assertion 'label != NULL' failed
Apr 15 11:59:56 virgil gnome-shell[4571]: remove_mnemonics: assertion 'label != NULL' failed
Apr 15 12:20:28 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed
Apr 15 12:20:28 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed
Apr 15 12:22:57 virgil gnome-shell[4571]: remove_mnemonics: assertion 'label != NULL' failed
Apr 15 12:22:57 virgil gnome-shell[4571]: remove_mnemonics: assertion 'label != NULL' failed
Apr 15 12:33:28 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed
Apr 15 12:33:28 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed
Apr 15 12:53:18 virgil gnome-shell[4571]: JS WARNING: [resource:///org/gnome/gjs/modules/signals.js 128]: Too many arguments to method Clutter.Actor.destroy: expected 0, got 1
Apr 15 12:56:06 virgil dbus-daemon[1964]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.317' (uid=1000 pid=4571 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 15 12:56:12 virgil dbus-daemon[4403]: [session uid=1000 pid=4403] Activating service name='org.gnome.Nautilus' requested by ':1.26' (uid=1000 pid=4571 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 15 12:56:12 virgil dbus-daemon[4403]: [session uid=1000 pid=4403] Activating service name='org.freedesktop.FileManager1' requested by ':1.26' (uid=1000 pid=4571 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 15 12:56:13 virgil gnome-shell[4571]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.80/org/ayatana/NotificationItem/software_update_available
Apr 15 12:56:13 virgil gnome-shell[4571]: [AppIndicatorSupport-FATAL] unable to update overlay icon
Apr 15 12:56:13 virgil gnome-shell[4571]: [AppIndicatorSupport-FATAL] unable to update overlay icon
Apr 15 12:56:13 virgil gnome-shell[4571]: Error connecting to Nautilus
Apr 15 12:56:14 virgil gnome-shell[4571]: Couldn’t parse steam.desktop as a desktop file, will treat it as a regular file.
Apr 15 13:00:08 virgil gnome-shell[4571]: JS WARNING: [resource:///org/gnome/shell/ui/workspacesView.js 639]:...

Read more...

Steve Langasek (vorlon) wrote :

the window did go away when I did a kill -HUP gnome-shell.

Daniel van Vugt (vanvugt) wrote :

This sounds particularly relevant:

Apr 15 12:20:28 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed
Apr 15 12:20:28 virgil gnome-shell[4571]: pushModal: invocation of begin_modal failed

which seems to be from gnome-shell/js/ui/main.js

Daniel van Vugt (vanvugt) wrote :

It also sounds like this might be the new form of bug 1734095.

summary: undismissable, unclickable authentication dialog left on screen after
- policykit authentication
+ policykit authentication [gnome-shell[N]: pushModal: invocation of
+ begin_modal failed]
summary: undismissable, unclickable authentication dialog left on screen after
- policykit authentication [gnome-shell[N]: pushModal: invocation of
- begin_modal failed]
+ policykit authentication [pushModal: invocation of begin_modal failed]

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

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Wolf Rogner (war-rsb) wrote :

I saw the authentication window only once after resume from suspend to RAM.

But I do get the error messages and my syslog is filled up

Sebastien Bacher (seb128) wrote :

Tagging as rls-dd-notfixing, it doesn't prevent the bug to be worked on/fixed but it's not easy enough to trigger/doesn't have enough impacted users or reports to quality as a rls bug atm

tags: added: rls-dd-notfixing
removed: rls-dd-incoming
summary: - undismissable, unclickable authentication dialog left on screen after
- policykit authentication [pushModal: invocation of begin_modal failed]
+ undismissable, unclickable authentication dialog left on screen (top-
+ left corner) after policykit authentication [pushModal: invocation of
+ begin_modal failed]
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers