After upgrade to Kubuntu 24.04 the Chromium browser freezes when typing to address box

Bug #2065724 reported by Venca B Spam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrade to Kubuntu 24.04 the Chromium browser (snap) freezes when typing text to address box.

*How to reproduce:*
1. Let's have Kubuntu 22.04
2. Let's have Chromium browser (snap) installed
3. Upgrade to Kubuntu 24.04
4. Install Chromium browsed (snap)

*What happens:*
Chromium browser freezes for tenth of seconds when typing text to address box.
At the same time the syslog is flooded with following errors:
`
2024-05-14T20:59:28.993184+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="Event" name=":1.45" mask="receive" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label="plasmashell"
`

*What is expected:*
Chromium browser shall work without freezing the same way as in Kubuntu 22.04

Chromium browser about string: "Version 124.0.6367.155 (Official Build) snap (64-bit)"

Venca B Spam (vbspam)
summary: - After upgrade to Kubuntu 24.04 Chromium (snap) freezes when typing to
- address box
+ After upgrade to Kubuntu 24.04 the Chromium browser freezes when typing
+ to address box
description: updated
Revision history for this message
Venca B Spam (vbspam) wrote :

Syslog after typing word "about" to address input box.
`

2024-05-15T12:43:09.119853+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="GetLayout" name=":1.45" mask="receive" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label="plasmashel
l"
2024-05-15T12:43:09.131002+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_signal"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="LayoutUpdated" mask="send" name="org.freedesktop.DBus" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label=
"plasmashell"
2024-05-15T12:43:09.131584+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="AboutToShow" name=":1.45" mask="receive" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label="plasmash
ell"
2024-05-15T12:43:09.131821+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="Event" name=":1.45" mask="receive" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label="plasmashell"
2024-05-15T12:43:09.163796+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="AboutToShow" name=":1.45" mask="receive" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label="plasmash
ell"
2024-05-15T12:43:09.164208+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="Event" name=":1.45" mask="receive" pid=3337 label="snap.chromium.chromium" peer_pid=2453 peer_label="plasmashell"

2024-05-15T12:44:21.177454+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_signal"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="ItemsPropertiesUpdated" mask="send" name="org.freedesktop.DBus" pid=3337 label="snap.chromium.chromium" peer_pid=2453 pe
er_label="plasmashell"
2024-05-15T12:44:25.108868+02:00 XXX dbus-daemon[2187]: message repeated 11 times: [ apparmor="DENIED" operation="dbus_signal"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="ItemsPropertiesUpdated" mask="send" name="org.freedesktop.DBus" pid=3337 label="snap.chromi
um.chromium" peer_pid=2453 peer_label="plasmashell"]
2024-05-15T12:45:17.141501+02:00 XXX dbus-daemon[2187]: apparmor="DENIED" operation="dbus_signal"  bus="session" path="/com/canonical/menu/4200024" interface="com.canonical.dbusmenu" member="ItemsPropertiesUpdated" mask="send" name="org.freedesktop.DBus" pid=3337 label="snap.chromium.chromium" peer_pid=2453 pe
er_label="plasmashell"

`

Venca B Spam (vbspam)
tags: added: aa-policy
Revision history for this message
Georgia Garcia (georgiag) wrote :

This is probably happening because before 24.04 plasmashell was not confined, therefore it had the "unconfined" label. But now that it is confined, we need a rule to allow peer_label="plasmashell"

Revision history for this message
Alex Murray (alexmurray) wrote :

From what I can see this should already be covered by https://github.com/snapcore/snapd/pull/13737 - and this was included in snapd 2.63 - @vbspam can you please post the output of

snap version

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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