Bug#1056778: gnome-shell: Leaks memory using Wayland

Adrian Immanuel Kiess adrian at mx.aik.onl
Sun Nov 26 04:46:04 GMT 2023


Package: gnome-shell
Version: 44.5-2
Severity: normal

Dear Maintainer,

   * What led up to the situation?
     Upgrading gnome-shell on Debian/testing
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     apt -u dist-upgrade
   * What was the outcome of this action?
     gnome-shell process leaks memory on Debian/testing
   * What outcome did you expect instead?
     gnome-shell process not leaking memory

currently, since a while, the gnome-shell process leaks memory using gnome
shell with Wayland. I am using gnome-shell as Wayland process, and under
current Debian/testing environment, the process leaks memory and can get
several gigabyte large.

Output from 'top':

14237 adrian    20   0 9525320   1,3g 764448 S  15,9   8,6  35:33.41 gnome-
shell

As you can see in above example, the gnome-shell process uses 1,3GB random
access memory. Please bear in mind, that several gigabyte of memory usage are
already swapped out to the Linux swap partition.

% grep --color VmSwap /proc/14237/status
VmSwap:  2938064 kB

As in above example, ~3 gigabyte of memory are swapped out.

In conjunction with above recognition, the gnome shell (user interface)
'freezes' several seconds, from time to time.

Thank you very much for your kind attention,

Adrian Kieß


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4
ii  gconf-gsettings-backend [gsettings-backend]  3.2.6-8
ii  gir1.2-accountsservice-1.0                   23.13.9-4
ii  gir1.2-adw-1                                 1.4.0-2
ii  gir1.2-atk-1.0                               2.50.0-1
ii  gir1.2-atspi-2.0                             2.50.0-1
ii  gir1.2-freedesktop                           1.78.1-5
ii  gir1.2-gcr-3                                 3.41.1-3
ii  gir1.2-gdesktopenums-3.0                     45.0-2
ii  gir1.2-gdkpixbuf-2.0                         2.42.10+dfsg-3
ii  gir1.2-gdm-1.0                               45.0.1-1
ii  gir1.2-geoclue-2.0                           2.7.1-1
ii  gir1.2-glib-2.0                              1.78.1-5
ii  gir1.2-gnomebg-4.0                           44.0-2
ii  gir1.2-gnomebluetooth-3.0                    42.6-1
ii  gir1.2-gnomedesktop-4.0                      44.0-2
ii  gir1.2-graphene-1.0                          1.10.8-2
ii  gir1.2-gstreamer-1.0                         1.22.6-1
ii  gir1.2-gtk-4.0                               4.12.3+ds-2
ii  gir1.2-gweather-4.0                          4.4.0-1
ii  gir1.2-ibus-1.0                              1.5.29~rc2-1
ii  gir1.2-mutter-12                             44.5-2
ii  gir1.2-nm-1.0                                1.44.2-3
ii  gir1.2-nma4-1.0                              1.10.6-1
ii  gir1.2-pango-1.0                             1.51.0+ds-3
ii  gir1.2-polkit-1.0                            123-3
ii  gir1.2-rsvg-2.0                              2.54.7+dfsg-2
ii  gir1.2-soup-3.0                              3.4.4-2
ii  gir1.2-upowerglib-1.0                        1.90.2-6
ii  gir1.2-webkit2-4.1                           2.42.2-1
ii  gnome-backgrounds                            45.0-1
ii  gnome-settings-daemon                        45.0-1
ii  gnome-shell-common                           44.5-2
ii  gsettings-desktop-schemas                    45.0-2
ii  gstreamer1.0-pipewire                        0.3.85-1
ii  libatk-bridge2.0-0                           2.50.0-1
ii  libatk1.0-0                                  2.50.0-1
ii  libc6                                        2.37-12
ii  libcairo2                                    1.18.0-1
ii  libecal-2.0-2                                3.50.1-1
ii  libedataserver-1.2-27                        3.50.1-1
ii  libgcr-base-3-1                              3.41.1-3
ii  libgdk-pixbuf-2.0-0                          2.42.10+dfsg-3
ii  libgirepository-1.0-1                        1.78.1-5
ii  libgjs0g                                     1.78.0-1
ii  libgles2                                     1.7.0-1
ii  libglib2.0-0                                 2.78.1-4
ii  libglib2.0-bin                               2.78.1-4
ii  libgnome-autoar-0-0                          0.4.4-2
ii  libgnome-desktop-4-2                         44.0-2
ii  libgraphene-1.0-0                            1.10.8-2
ii  libgtk-3-0                                   3.24.38-6
ii  libgtk-4-1                                   4.12.3+ds-2
ii  libical3                                     3.0.17-1
ii  libjson-glib-1.0-0                           1.8.0-2
ii  libmutter-12-0                               44.5-2
ii  libnm0                                       1.44.2-3
ii  libpango-1.0-0                               1.51.0+ds-3
ii  libpolkit-agent-1-0                          123-3
ii  libpolkit-gobject-1-0                        123-3
ii  libpulse-mainloop-glib0                      16.1+dfsg1-2+b1
ii  libpulse0                                    16.1+dfsg1-2+b1
ii  libsecret-1-0                                0.21.1-1
ii  libsystemd0                                  254.5-1
ii  libx11-6                                     2:1.8.7-1
ii  libxfixes3                                   1:6.0.0-2
ii  python3                                      3.11.4-5+b1

Versions of packages gnome-shell recommends:
ii  bolt                   0.9.6-1
ii  chrome-gnome-shell     42.1-4
ii  evolution-data-server  3.50.1-1
ii  gdm3                   45.0.1-1
ii  gkbd-capplet           3.28.1-1
ii  gnome-control-center   1:45.1-1
ii  gnome-menus            3.36.0-1.1
ii  gnome-remote-desktop   44.2-6
ii  gnome-user-docs        45.1-1
ii  ibus                   1.5.29~rc2-1
ii  iio-sensor-proxy       3.5-1
ii  power-profiles-daemon  0.13-2
ii  switcheroo-control     2.6-1+b1
ii  unzip                  6.0-28

Versions of packages gnome-shell suggests:
ii  gir1.2-malcontent-0          0.11.1-1
ii  gir1.2-telepathyglib-0.12    0.24.2-0.1
ii  gir1.2-telepathylogger-0.2   0.8.2-4
ii  gnome-shell-extension-prefs  44.5-2

Versions of packages gnome-session depends on:
ii  adwaita-icon-theme [adwaita-icon-theme-full]           45.0-2
ii  fonts-cantarell                                        0.303.1-1
ii  gnome-session-bin                                      45.0-2
ii  gnome-session-common                                   45.0-2
ii  gnome-settings-daemon                                  45.0-1
ii  xdg-desktop-portal-gnome [xdg-desktop-portal-backend]  44.2-3
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backend]    1.15.1-1

Versions of packages gnome-session suggests:
ii  desktop-base   12.0.6+nmu1
ii  gnome-keyring  42.1-1+b2

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  45.0-1
ii  gsettings-desktop-schemas     45.0-2
ii  libasound2                    1.2.10-1
ii  libc6                         2.37-12
ii  libcairo2                     1.18.0-1
ii  libcanberra-gtk3-0            0.30-11
ii  libcanberra0                  0.30-11
ii  libcolord2                    1.4.6-4
ii  libcups2                      2.4.7-1
ii  libfontconfig1                2.14.2-6
ii  libgck-1-0                    3.41.1-3
ii  libgcr-base-3-1               3.41.1-3
ii  libgdk-pixbuf-2.0-0           2.42.10+dfsg-3
ii  libgeoclue-2-0                2.7.1-1
ii  libgeocode-glib-2-0           3.26.3-6
ii  libglib2.0-0                  2.78.1-4
ii  libgnome-desktop-3-20         44.0-2
ii  libgtk-3-0                    3.24.38-6
ii  libgudev-1.0-0                238-3
ii  libgweather-4-0               4.4.0-1
ii  libmm-glib0                   1.22.0-1
ii  libnm0                        1.44.2-3
ii  libnotify4                    0.8.2-1
ii  libp11-kit0                   0.25.0-5
ii  libpam-systemd [logind]       254.5-1
ii  libpango-1.0-0                1.51.0+ds-3
ii  libpangocairo-1.0-0           1.51.0+ds-3
ii  libpolkit-gobject-1-0         123-3
ii  libpulse-mainloop-glib0       16.1+dfsg1-2+b1
ii  libpulse0                     16.1+dfsg1-2+b1
ii  libspa-0.2-bluetooth          0.3.85-1
ii  libupower-glib3               1.90.2-6
ii  libwacom9                     2.8.0-1
ii  libwayland-client0            1.22.0-2.1
ii  libx11-6                      2:1.8.7-1
ii  libxext6                      2:1.3.4-1+b1
ii  libxfixes3                    1:6.0.0-2
ii  libxi6                        2:1.8-1+b1
ii  pipewire-audio                0.3.85-1

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy   3.5-1
ii  pipewire-audio     0.3.85-1
ii  pkexec             123-3
ii  x11-xserver-utils  7.7+10

Versions of packages gnome-settings-daemon suggests:
pn  usbguard  <none>

Versions of packages libgjs0g depends on:
ii  libc6                                                       2.37-12
ii  libcairo-gobject2                                           1.18.0-1
ii  libcairo2                                                   1.18.0-1
ii  libffi8                                                     3.4.4-1
ii  libgirepository-1.0-1 [libgirepository-1.0-1-with-libffi8]  1.78.1-5
ii  libglib2.0-0                                                2.78.1-4
ii  libmozjs-115-0                                              115.4.0-2
ii  libreadline8                                                8.2-1.3
ii  libstdc++6                                                  13.2.0-5
ii  libx11-6                                                    2:1.8.7-1

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]  23.2.1-1
ii  libgl1-mesa-dri               23.2.1-1
ii  libglx-mesa0 [libglx-vendor]  23.2.1-1

-- no debconf information


More information about the pkg-gnome-maintainers mailing list