gnome-shell-calendar-server assert failure on arm64: double free or corruption (fasttop)

Bug #1915929 reported by shine productions
36
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
gnome-shell (Ubuntu)
Fix Released
Medium
Unassigned
Focal
Fix Released
Undecided
Marco Trevisan (Treviño)
Hirsute
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

gnome-shell-calendar-server crashes (and it seems to happen more in aarch64).

https://errors.ubuntu.com/problem/028fd7df90d750d70c7fea9719974347af67fa5a
https://errors.ubuntu.com/problem/33eeeda9b48baf59fe82b6b1f0aaa9465193b7f1

[ Test case ]

There's not a clear test case, but this is relevant:
 - Configure a supported calendar in your online accounts
 - GNOME shell should show your events in the calendar (under notifications panel)

[ Regression potential ]

gnome-shell-calendar-server may leak memory.

---

M1 Mac mini
Parallels Ubuntu VM

ProblemType: CrashDistroRelease: Ubuntu 21.04
Package: gnome-shell 3.38.3-2ubuntu2
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic aarch64
ApportVersion: 2.20.11-0ubuntu58
Architecture: arm64
AssertionMessage: double free or corruption (fasttop)
CasperMD5CheckResult: unknown
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 17 04:34:36 2021
DisplayManager: gdm3
ExecutablePath: /usr/libexec/gnome-shell-calendar-server
GsettingsChanges:
 b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
 b'org.gnome.desktop.notifications' b'application-children' b"['apport-gtk']"
 b'org.gnome.desktop.peripherals.keyboard' b'numlock-state' b'true'
InstallationDate: Installed on 2021-02-17 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha arm64 (20210217)
ProcCmdline: /usr/libexec/gnome-shell-calendar-server
ProcEnviron:
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
 LANG=en_US.UTF-8
RelatedPackageVersions: mutter-common 3.38.2-1ubuntu1
Signal: 6SourcePackage: gnome-shell
StacktraceTop:
 __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0xffff81245180 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
 malloc_printerr (str=str@entry=0xffff81240c08 "double free or corruption (fasttop)") at malloc.c:5389
 _int_free (av=<optimized out>, p=0xaaaae9eee300, have_lock=0) at malloc.c:4298
 g_variant_builder_clear () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
 ?? ()
Title: gnome-shell-calendar-server assert failure: double free or corruption (fasttop)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
separator:

Revision history for this message
shine productions (shine-productions) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

Stacktrace:
 #0 0x0000ffff81145d9c in ?? ()
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
StacktraceSource: #0 0x0000ffff81145d9c in ?? ()
StacktraceTop: ?? ()

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: added: apport-failed-retrace
tags: removed: need-arm64-retrace
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: gnome-shell-calendar-server assert failure: double free or corruption (fasttop)
Changed in gnome-shell (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
information type: Private → Public
description: updated
summary: - gnome-shell-calendar-server assert failure: double free or corruption
- (fasttop)
+ gnome-shell-calendar-server assert failure on arm64: double free or
+ corruption (fasttop)
description: updated
Changed in gnome-shell (Ubuntu):
status: Triaged → Fix Committed
tags: added: fixed-in-40.2 fixed-upstream
tags: added: fixed-in-3.38.5
Changed in gnome-shell (Ubuntu Focal):
status: New → Fix Committed
Changed in gnome-shell (Ubuntu Hirsute):
status: New → Fix Committed
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.38.4-1ubuntu3

---------------
gnome-shell (3.38.4-1ubuntu3) impish; urgency=medium

  [ Daniel van Vugt ]
  * Add workspacesView-Only-use-valid-allocations-when-avail.patch.
    To stop bogus values being used in _updateWorkspacesActualGeometry(),
    which would cause the overview to fail to toggle. (LP: #1922353)

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Refresh
  * debian/patches: Cherry-pick upstream calendar-server crash fix
    (LP: #1915929)

 -- Marco Trevisan (Treviño) <email address hidden> Mon, 31 May 2021 18:51:34 +0200

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello shine, or anyone else affected,

Accepted gnome-shell into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.38.4-1ubuntu3~21.04.1 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, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. 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.

tags: added: verification-needed verification-needed-hirsute
Revision history for this message
fprietog (fprietog) wrote :

Proposed fix tested in hirsute on a Raspberry Pi4 arm64, kernel 5.11.0-1009-raspi

Packages installed from hirsute-proposed:

gnome-shell (3.38.4-1ubuntu3~21.04.1)
gnome-shell-common (3.38.4-1ubuntu3~21.04.1)
gnome-shell-extension-prefs (3.38.4-1ubuntu3~21.04.1)

After reboot I've activated calendar sync with my google account and the reported problem is gone. I also check that the calendar sync worked as expected.

So the bug seem to be fixed. Thanks and best regards.

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.38.4-1ubuntu3~21.04.1

---------------
gnome-shell (3.38.4-1ubuntu3~21.04.1) hirsute; urgency=medium

  * No-change backport to hirsute
  * debian: Update references to debian/hirsute

gnome-shell (3.38.4-1ubuntu3) impish; urgency=medium

  [ Daniel van Vugt ]
  * Add workspacesView-Only-use-valid-allocations-when-avail.patch.
    To stop bogus values being used in _updateWorkspacesActualGeometry(),
    which would cause the overview to fail to toggle. (LP: #1922353)

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Refresh
  * debian/patches: Cherry-pick upstream calendar-server crash fix
    (LP: #1915929)

 -- Marco Trevisan (Treviño) <email address hidden> Mon, 31 May 2021 19:11:49 +0200

Changed in gnome-shell (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-shell has completed successfully and the package is now being 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
Kevin Keijzer (kkeijzer) wrote :

This still affects me on my Pinebook Pro. Are there any plans to backport this to focal?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's coming, but at what speed I don't know. It's already committed for the next update (although that was true before the last update and someone forgot to keep git in sync with uploads for focal):

https://salsa.debian.org/gnome-team/gnome-shell/-/commit/e40a96d617636efe8320660c77bec741bf7e1bc2

Changed in gnome-shell:
status: Unknown → Fix Released
Changed in gnome-shell (Ubuntu Focal):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello shine, or anyone else affected,

Accepted gnome-shell into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.36.9-0ubuntu0.20.04.3 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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.

tags: added: verification-needed-focal
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think the relevant test case here is whether there are any crashes:

3.36.9-0ubuntu0.20.04.2 - 2878 crashes
3.36.9-0ubuntu0.20.04.3 - 0 crashes

So that's almost good enough. We probably just need someone to try custom calendars in 20.04 like the test case mentions, in case of any regressions.

Revision history for this message
Viral Wang (viralwang) wrote :

Test on Dell OptiPlex 7400 with gnome-shell 3.36.9-0ubuntu0.20.04.3
- login the online account and grant access of calendar
- check the the calendar in the notification panel, the events look fine without any issue.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.36.9-0ubuntu0.20.04.3

---------------
gnome-shell (3.36.9-0ubuntu0.20.04.3) focal; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Cherry-pick upstream calendar-server crash fix
    (LP: #1915929)
  * debian/patches: Refresh indexes

  [ Daniel van Vugt ]
  * Add edgeDragAction-Change-edge-trigger-threshold-to-AFTER.patch
    (LP: #2042796)

 -- Marco Trevisan (Treviño) <email address hidden> Mon, 11 Dec 2023 20:08:17 +0100

Changed in gnome-shell (Ubuntu Focal):
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.