"free(): double free detected in tcache 2" when enabling CalDAV, high CPU usage
I have noticed an issue when I setup a calendar via CalDAV, which greatly increases CPU usage of gnome-shell
to the point where moving the mouse is hard, because it's jumping around. These are the steps to reproduce:
- Setup a calendar via CalDAV (mine is with Mailbox.org)
- Once it is shown on the left pane, tick the box to enable it
This is the output that appears on journalctl
as soon as I tick the box:
janv. 08 08:33:43 pinebook-pro audit[3662]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3662 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:43 pinebook-pro kernel: audit: type=1701 audit(1610091223.527:256): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3662 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:43 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:43 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:43 pinebook-pro org.gnome.Shell.CalendarServer[3721]: free(): double free detected in tcache 2
janv. 08 08:33:43 pinebook-pro kernel: audit: type=1701 audit(1610091223.967:257): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3721 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:43 pinebook-pro audit[3721]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3721 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:44 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:44 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.132 was not provided by any .service files
janv. 08 08:33:44 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.132 was not provided by any .service files
janv. 08 08:33:44 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:44 pinebook-pro org.gnome.Shell.CalendarServer[3736]: free(): double free detected in tcache 2
janv. 08 08:33:44 pinebook-pro kernel: audit: type=1701 audit(1610091224.407:258): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3736 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:44 pinebook-pro audit[3736]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3736 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:44 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:44 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.133 was not provided by any .service files
janv. 08 08:33:44 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.133 was not provided by any .service files
janv. 08 08:33:44 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:44 pinebook-pro org.gnome.Shell.CalendarServer[3751]: free(): double free detected in tcache 2
janv. 08 08:33:44 pinebook-pro kernel: audit: type=1701 audit(1610091224.907:259): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3751 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:44 pinebook-pro audit[3751]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3751 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:45 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:45 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.134 was not provided by any .service files
janv. 08 08:33:45 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.134 was not provided by any .service files
janv. 08 08:33:45 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:45 pinebook-pro org.gnome.Shell.CalendarServer[3766]: free(): double free detected in tcache 2
janv. 08 08:33:45 pinebook-pro audit[3766]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3766 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:45 pinebook-pro kernel: audit: type=1701 audit(1610091225.397:260): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3766 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:45 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:45 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.135 was not provided by any .service files
janv. 08 08:33:45 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.135 was not provided by any .service files
janv. 08 08:33:45 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:45 pinebook-pro audit[3781]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3781 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:45 pinebook-pro org.gnome.Shell.CalendarServer[3781]: free(): double free detected in tcache 2
janv. 08 08:33:45 pinebook-pro kernel: audit: type=1701 audit(1610091225.877:261): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3781 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:46 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:46 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.136 was not provided by any .service files
janv. 08 08:33:46 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.136 was not provided by any .service files
janv. 08 08:33:46 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:46 pinebook-pro org.gnome.Shell.CalendarServer[3796]: free(): double free detected in tcache 2
janv. 08 08:33:46 pinebook-pro audit[3796]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3796 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:46 pinebook-pro kernel: audit: type=1701 audit(1610091226.307:262): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3796 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:46 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:46 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.137 was not provided by any .service files
janv. 08 08:33:46 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.137 was not provided by any .service files
janv. 08 08:33:46 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:46 pinebook-pro org.gnome.Shell.CalendarServer[3811]: free(): double free detected in tcache 2
janv. 08 08:33:46 pinebook-pro audit[3811]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3811 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:46 pinebook-pro kernel: audit: type=1701 audit(1610091226.797:263): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3811 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:46 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:46 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.138 was not provided by any .service files
janv. 08 08:33:46 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.138 was not provided by any .service files
janv. 08 08:33:47 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:47 pinebook-pro org.gnome.Shell.CalendarServer[3826]: free(): double free detected in tcache 2
janv. 08 08:33:47 pinebook-pro audit[3826]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3826 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:47 pinebook-pro kernel: audit: type=1701 audit(1610091227.287:264): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3826 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:47 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:47 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
janv. 08 08:33:47 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
janv. 08 08:33:47 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:47 pinebook-pro org.gnome.Shell.CalendarServer[3842]: free(): double free detected in tcache 2
janv. 08 08:33:47 pinebook-pro audit[3842]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3842 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:47 pinebook-pro kernel: audit: type=1701 audit(1610091227.677:265): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3842 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:47 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:47 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.140 was not provided by any .service files
janv. 08 08:33:47 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.140 was not provided by any .service files
janv. 08 08:33:48 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:48 pinebook-pro org.gnome.Shell.CalendarServer[3858]: free(): double free detected in tcache 2
janv. 08 08:33:48 pinebook-pro audit[3858]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3858 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:48 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:48 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:48 pinebook-pro audit[3884]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3884 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:48 pinebook-pro org.gnome.Shell.CalendarServer[3884]: free(): double free detected in tcache 2
janv. 08 08:33:48 pinebook-pro kernel: kauditd_printk_skb: 1 callbacks suppressed
janv. 08 08:33:48 pinebook-pro kernel: audit: type=1701 audit(1610091228.777:267): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3884 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:48 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:48 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.142 was not provided by any .service files
janv. 08 08:33:48 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.142 was not provided by any .service files
janv. 08 08:33:49 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'
janv. 08 08:33:49 pinebook-pro org.gnome.Shell.CalendarServer[3899]: free(): double free detected in tcache 2
janv. 08 08:33:49 pinebook-pro audit[3899]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3899 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:49 pinebook-pro kernel: audit: type=1701 audit(1610091229.227:268): auid=1000 uid=1000 gid=985 ses=4 subj==unconfined pid=3899 comm="gnome-shell-cal" exe="/usr/lib/gnome-shell-calendar-server" sig=6 res=1
janv. 08 08:33:49 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.14' (uid=1000 pid=1298 comm="/usr/bin/gnome-shell ")
janv. 08 08:33:49 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.143 was not provided by any .service files
janv. 08 08:33:49 pinebook-pro gnome-shell[1298]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.143 was not provided by any .service files
janv. 08 08:33:49 pinebook-pro dbus-daemon[1237]: [session uid=1000 pid=1237] Successfully activated service 'org.gnome.Shell.CalendarServer'```
This is until I untick the box so that the online calendar isn't shown.
Relevant info:
OS: Arch linux ARM on Pinebook Pro
Evolution: 3.38.2-1
Gnome Shell: 3.38.2+22+g3a343a8aa-1
Kernel: 5.10.3-1-ARCH
I'd be glad to provide any additional logs if necessary, thanks in advance for your time!