indicator keyboard crashes when upgrading from lunar->mantic on ubuntu cinnamon

Bug #2036764 reported by Tim Andersson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-keyboard (Ubuntu)
New
Critical
Unassigned
ubuntucinnamon-meta (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Log snippet:

JournalErrors:
 Sep 20 14:52:28 autopkgtest kernel: kauditd_printk_skb: 164 callbacks suppressed
 Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown username "polkitd" in message bus configuration file
 Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown username "polkitd" in message bus configuration file
 Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:32 autopkgtest systemd[1]: multipathd.socket: Socket service multipathd.service already active, refusing.
 Sep 20 14:52:32 autopkgtest systemd[1]: Failed to listen on multipathd.socket - multipathd control socket.
 Sep 20 14:52:34 autopkgtest kernel: kauditd_printk_skb: 205 callbacks suppressed
 Sep 20 14:52:34 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:34 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:35 autopkgtest indicator-keybo[747]: g_variant_ref: assertion 'value != NULL' failed
 Sep 20 14:52:36 autopkgtest systemd-resolved[27430]: mDNS-IPv4: There appears to be another mDNS responder running, or previously systemd-resolved crashed with some outstanding transfers.
 Sep 20 14:52:36 autopkgtest systemd-resolved[27430]: mDNS-IPv6: There appears to be another mDNS responder running, or previously systemd-resolved crashed with some outstanding transfers.
 Sep 20 14:52:38 autopkgtest systemd[653]: indicator-keyboard.service: Main process exited, code=dumped, status=11/SEGV
 Sep 20 14:52:38 autopkgtest systemd[653]: indicator-keyboard.service: Failed with result 'core-dump'.
 Sep 20 14:52:38 autopkgtest indicator-keybo[27565]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
 Sep 20 14:52:42 autopkgtest kernel: kauditd_printk_skb: 193 callbacks suppressed
 Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
 Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
Package: indicator-keyboard 0.0.0+19.10.20220803-0ubuntu1

I'll attach the full upgrade log.

This bug was discovered by using autopkgtest. You can reproduce by installing autopkgtest, auto-upgrade-testing and cloning auto-upgrade-testing-specifications and running this from the parent directory:

sudo --preserve-env=AUTOPKGTEST_APT_SOURCES_FILE python3 -m upgrade_testing.command_line -c auto-upgrade-testing-specifications/profiles/ubuntu-lunar-mantic-ubuntucinnamon-amd64_qemu.yaml --provision --results-dir /home/$USER/upgrade_cinnamon --adt-args=--timeout-factor=10

I'll attach the full logs below. I'm also trying to recreate using an lxd container

Revision history for this message
Tim Andersson (andersson123) wrote :
description: updated
Revision history for this message
Tim Andersson (andersson123) wrote :

I did not manage to reproduce this with an lxd vm. /var/crash was empty.

Revision history for this message
Tim Andersson (andersson123) wrote :

Here are example logs (the same as the previous logs however these logs include mention of the uploaded file, so we should be able to find these crash reports in the error tracker)

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Since ubuntucinnamon-meta is merely metapackages that bring-in the keyboard indicator, I'm marking this as invalid as there's nothing in the meta to fix.

Changed in ubuntucinnamon-meta (Ubuntu):
status: New → Invalid
status: Invalid → New
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):

Changed back because I read further. This might be worth dropping in the meta. Furthermore, indicator-keyboard is *ancient*, unmaintained, and should probably be dropped from the repos.

Changed in ubuntucinnamon-meta (Ubuntu):
assignee: nobody → Joshua Peisach (itzswirlz)
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):

Upon investigation, we have determined the rdepends in question:

cinnamon-core
 +-- Depends: lightdm
 ..+-- Depends: unity-greeter
 ....+-- Depends: indicator-applet
 ......+-- Recommends: indicator-keyboard

Unfortunately, this means it cannot be removed from the seed/meta, and therefore, the meta is not a factor. The problem lies in the indicator, which appears abandoned upstream and needs to be patched for this to work without crashing. This is, of course, assuming the autopkgtests are correct because, as you said, Tim, you couldn't reproduce in a lxd vm.

Changed in ubuntucinnamon-meta (Ubuntu):
assignee: Joshua Peisach (itzswirlz) → nobody
status: New → Invalid
Changed in indicator-keyboard (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
status: Triaged → New
Revision history for this message
fossfreedom (fossfreedom) wrote : Re: [Bug 2036764] Re: indicator keyboard crashes when upgrading from lunar->mantic on ubuntu cinnamon
Download full text (4.8 KiB)

Given the only real continued development in this area is by the ayatana
project perhaps the solution here should be for cinnamon to swap to the
ayatana equivalent packages.

Just a thought.

On Wed, 20 Sept 2023, 18:55 Erich Eickmeyer, <email address hidden>
wrote:

> Upon investigation, we have determined the rdepends in question:
>
> cinnamon-core
> +-- Depends: lightdm
> ..+-- Depends: unity-greeter
> ....+-- Depends: indicator-applet
> ......+-- Recommends: indicator-keyboard
>
> Unfortunately, this means it cannot be removed from the seed/meta, and
> therefore, the meta is not a factor. The problem lies in the indicator,
> which appears abandoned upstream and needs to be patched for this to
> work without crashing. This is, of course, assuming the autopkgtests are
> correct because, as you said, Tim, you couldn't reproduce in a lxd vm.
>
> ** Changed in: ubuntucinnamon-meta (Ubuntu)
> Status: New => Invalid
>
> ** Changed in: ubuntucinnamon-meta (Ubuntu)
> Assignee: Joshua Peisach (itzswirlz) => (unassigned)
>
> ** Changed in: indicator-keyboard (Ubuntu)
> Importance: Undecided => Critical
>
> --
> You received this bug notification because you are a member of Ubuntu
> Cinnamon Developers, which is subscribed to ubuntucinnamon-meta in
> Ubuntu.
> https://bugs.launchpad.net/bugs/2036764
>
> Title:
> indicator keyboard crashes when upgrading from lunar->mantic on ubuntu
> cinnamon
>
> Status in indicator-keyboard package in Ubuntu:
> New
> Status in ubuntucinnamon-meta package in Ubuntu:
> Invalid
>
> Bug description:
> Log snippet:
>
> JournalErrors:
> Sep 20 14:52:28 autopkgtest kernel: kauditd_printk_skb: 164 callbacks
> suppressed
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown group "power" in
> message bus configuration file
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown username
> "polkitd" in message bus configuration file
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown username
> "polkitd" in message bus configuration file
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown group "power" in
> message bus configuration file
> Sep 20 14:52:32 autopkgtest systemd[1]: multipathd.socket: Socket
> service multipathd.service already active, refusing.
> Sep 20 14:52:32 autopkgtest systemd[1]: Failed to listen on
> multipathd.socket - multipathd control socket.
> Sep 20 14:52:34 autopkgtest kernel: kauditd_printk_skb: 205 callbacks
> suppressed
> Sep 20 14:52:34 autopkgtest dbus-daemon[415]: Unknown group "power" in
> message bus configuration file
> Sep 20 14:52:34 autopkgtest dbus-daemon[415]: Unknown group "power" in
> message bus configuration file
> Sep 20 14:52:35 autopkgtest indicator-keybo[747]: g_variant_ref:
> assertion 'value != NULL' failed
> Sep 20 14:52:36 autopkgtest systemd-resolved[27430]: mDNS-IPv4: There
> appears to be another mDNS responder running, or previously
> systemd-resolved crashed with some outstanding transfers.
> Sep 20 14:52:36 autopkgtest systemd-resolved[27430]: mDNS-IPv6: There
> appears to be another mDNS responder running, or previously
> systemd-resolved crashed with some outstanding transfers.
>...

Read more...

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Hi fossfreedom,

That would be nice if it were directly seeded. Unfortunately, this is due to the unity-greeter dependency, not the seed, so it's not swappable in Ubuntu Cinnamon.

Revision history for this message
fossfreedom (fossfreedom) wrote :
Download full text (4.1 KiB)

We (UB) use slick-greeter - so no dependency issues. Linux Mint use
slick for their version of Cinnamon so it should be a viable option
for UC .... ?

D

On Wed, 20 Sept 2023 at 19:25, Erich Eickmeyer
<email address hidden> wrote:
>
> Hi fossfreedom,
>
> That would be nice if it were directly seeded. Unfortunately, this is
> due to the unity-greeter dependency, not the seed, so it's not swappable
> in Ubuntu Cinnamon.
>
> --
> You received this bug notification because you are a member of Ubuntu
> Cinnamon Developers, which is subscribed to ubuntucinnamon-meta in
> Ubuntu.
> https://bugs.launchpad.net/bugs/2036764
>
> Title:
> indicator keyboard crashes when upgrading from lunar->mantic on ubuntu
> cinnamon
>
> Status in indicator-keyboard package in Ubuntu:
> New
> Status in ubuntucinnamon-meta package in Ubuntu:
> Invalid
>
> Bug description:
> Log snippet:
>
> JournalErrors:
> Sep 20 14:52:28 autopkgtest kernel: kauditd_printk_skb: 164 callbacks suppressed
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown username "polkitd" in message bus configuration file
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown username "polkitd" in message bus configuration file
> Sep 20 14:52:32 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
> Sep 20 14:52:32 autopkgtest systemd[1]: multipathd.socket: Socket service multipathd.service already active, refusing.
> Sep 20 14:52:32 autopkgtest systemd[1]: Failed to listen on multipathd.socket - multipathd control socket.
> Sep 20 14:52:34 autopkgtest kernel: kauditd_printk_skb: 205 callbacks suppressed
> Sep 20 14:52:34 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
> Sep 20 14:52:34 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
> Sep 20 14:52:35 autopkgtest indicator-keybo[747]: g_variant_ref: assertion 'value != NULL' failed
> Sep 20 14:52:36 autopkgtest systemd-resolved[27430]: mDNS-IPv4: There appears to be another mDNS responder running, or previously systemd-resolved crashed with some outstanding transfers.
> Sep 20 14:52:36 autopkgtest systemd-resolved[27430]: mDNS-IPv6: There appears to be another mDNS responder running, or previously systemd-resolved crashed with some outstanding transfers.
> Sep 20 14:52:38 autopkgtest systemd[653]: indicator-keyboard.service: Main process exited, code=dumped, status=11/SEGV
> Sep 20 14:52:38 autopkgtest systemd[653]: indicator-keyboard.service: Failed with result 'core-dump'.
> Sep 20 14:52:38 autopkgtest indicator-keybo[27565]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
> Sep 20 14:52:42 autopkgtest kernel: kauditd_printk_skb: 193 callbacks suppressed
> Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
> Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in message bus configuration file
> Sep 20 14:52:42 autopkgtest dbus-daemon[415]: Unknown group "power" in mess...

Read more...

Revision history for this message
Brian Murray (brian-murray) wrote :

This crash was also noted during a distribution upgrade of Ubuntu Unity from lunar to mantic.

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.