snapd-desktop-integration crashed segfaulted

Bug #1983192 reported by Steve Kieu
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd-desktop-integration
Unknown
Unknown
snapd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Checking kernel boot message always shows:

```
dmesg | grep snapd
[ 37.795883] snapd-desktop-i[5307]: segfault at 0 ip 00007f51519d5364 sp 00007fff4c3eea48 error 4 in libglib-2.0.so.0.6400.6[7f51519ab000+9a000]
[ 38.363488] snapd-desktop-i[5443]: segfault at 0 ip 00007f1d07163364 sp 00007ffd06885db8 error 4 in libglib-2.0.so.0.6400.6[7f1d07139000+9a000]
[ 38.796328] snapd-desktop-i[5587]: segfault at 0 ip 00007ff09bca2364 sp 00007fffe3062b88 error 4 in libglib-2.0.so.0.6400.6[7ff09bc78000+9a000]
[ 39.162175] snapd-desktop-i[5917]: segfault at 0 ip 00007f3460cd7364 sp 00007ffdf5343948 error 4 in libglib-2.0.so.0.6400.6[7f3460cad000+9a000]

```

It is not only one hardware, but for all laptops I have (amd64 arch).

This is for Ubuntu 22.04 (Jammy)

However after these snapd seems to be alive and functioning. I remember that I can use the snap command to install some packages before.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
DistroRelease: Ubuntu 22.04
ProcEnviron:
 LANGUAGE=en_AU:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
Snap: snapd 2.56.2 (latest/stable)
Snap.Changes: no changes found
Tags: jammy
Uname: Linux 5.15.58-ll1k x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1983192

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Steve Kieu (msh-computing) wrote : Dependencies.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
Steve Kieu (msh-computing) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Steve Kieu (msh-computing) wrote : Snap.Connections.txt

apport information

Revision history for this message
Steve Kieu (msh-computing) wrote : Snap.Info.snapd.txt

apport information

Revision history for this message
Alberto Mardegan (mardy) wrote : Re: snapd crashed segfaulted

Hi Steve, it seems that the program that is crashing is not snapd, but the snapd-desktop-integration; I'd recommend you to file a bug at the project's page at https://github.com/snapcore/snapd-desktop-integration/issues

It would be nice if you were able to provide a stack trace, but I'm not sure how you can do that; hopefully the snapd-desktop-integration developers will guide you on that.

Changed in snapd (Ubuntu):
status: New → Invalid
Revision history for this message
Michiel Denie (mjdenie) wrote :

For reference, the 'error 4 in libglib-2.0.so.0.6400.6' messages on snapd-desktop-integration startup seem to have disappeared on my system after installing the updated version from the candidate channel.

$ sudo snap info snapd-desktop-integration
name: snapd-desktop-integration
summary: Desktop Integration for snapd
publisher: Canonical✓
store-url: https://snapcraft.io/snapd-desktop-integration
contact: https://github.com/snapcore/snapd-desktop-integration
license: unset
description: |
  Provides a user session daemon used to provide a bridge between the user's session and snapd.
  Used for things like automatic theme installation.
services:
  snapd-desktop-integration: simple, enabled, inactive
snap-id: IrwRHakqtzhFRHJOOPxKVPU0Kk7Erhcu
tracking: latest/candidate
refresh-date: today at 20:13 +08
channels:
  latest/stable: 0.1 2022-06-02 (14) 290kB -
  latest/candidate: 0.1 2022-10-19 (34) 307kB -
  latest/beta: ↑
  latest/edge: 0.1 2022-10-19 (34) 307kB -
installed: 0.1 (34) 307kB -

$ sudo snap refresh snapd-desktop-integration --candidate

..and gone. YMMV.

Rex Tsai (chihchun)
summary: - snapd crashed segfaulted
+ snapd-desktop-integration crashed segfaulted
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

Can you confirm that with the current version this problem has been fixed?

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.