Activity log for bug #1973638

Date Who What changed Old value New value Message
2022-05-16 20:08:51 Sugihwaras bug added bug
2022-05-16 20:08:51 Sugihwaras attachment added htop screenshot after gnome-shell very laggy https://bugs.launchpad.net/bugs/1973638/+attachment/5590148/+files/gnome-shell.png
2022-05-17 03:43:13 Daniel van Vugt tags gnome-shell-leak jammy
2022-05-17 03:47:54 Daniel van Vugt tags gnome-shell-leak jammy jammy
2022-05-17 03:48:13 Daniel van Vugt summary gnome-shell memory leak after did 100+ screenshot System very laggy
2022-05-17 03:48:55 Daniel van Vugt bug added subscriber Daniel van Vugt
2022-05-17 03:49:27 Daniel van Vugt affects gnome-shell (Ubuntu) ubuntu
2022-05-17 03:49:27 Daniel van Vugt ubuntu: status New Incomplete
2022-05-18 09:19:36 Sugihwaras attachment added journal-lspci.tar.gz https://bugs.launchpad.net/ubuntu/+bug/1973638/+attachment/5590652/+files/journal-lspci.tar.gz
2022-05-18 09:54:19 Daniel van Vugt affects ubuntu gnome-shell (Ubuntu)
2022-05-18 09:54:19 Daniel van Vugt gnome-shell (Ubuntu): status Incomplete Confirmed
2022-05-18 09:54:31 Daniel van Vugt bug watch added https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5501
2022-05-18 09:54:31 Daniel van Vugt bug task added gnome-shell
2022-05-18 09:54:53 Daniel van Vugt summary System very laggy gnome-shell leaks tens of megabytes with every screenshot
2022-05-18 09:54:58 Daniel van Vugt summary gnome-shell leaks tens of megabytes with every screenshot gnome-shell 42 leaks tens of megabytes with every screenshot
2022-05-18 09:55:08 Daniel van Vugt tags jammy gnome-shell-leak jammy
2022-05-18 09:55:46 Daniel van Vugt gnome-shell (Ubuntu): importance Undecided High
2022-05-18 09:55:56 Daniel van Vugt gnome-shell (Ubuntu): status Confirmed Triaged
2022-05-19 10:56:28 Sugihwaras tags gnome-shell-leak jammy apport-collected gnome-shell-leak jammy third-party-packages
2022-05-19 10:56:30 Sugihwaras description i running wine program and i want doing a lot screenshot. after did it and close program. my system very laggy. i see at htop program my ram and swap full. my system info. Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1 root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet splash vt.handoff=7 Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0 Distro: Ubuntu 22.04 LTS (Jammy Jellyfish) Machine: Type: Portable System: Dell product: Inspiron 3442 v: N/A Mobo: Dell model: 0T57PC v: A16 serial: <superuser required> UEFI: Dell v: A16 date: 09/02/2020 Battery: ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%) volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion serial: 4862 status: Full Memory: RAM: total: 3.75 GiB Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1 compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: 0 Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112 gamma: 1.2 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") ratio: 16:9 modes: 1366x768 OpenGL: renderer: Mesa Intel HD Graphics (HSW GT1) v: 4.6 Mesa 22.0.1 compat-v: 3.1 direct render: Yes Drives: Local Storage: total: 1.14 TiB used: 916.19 GiB (78.7%) ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD7500BPVX-75JC3T0 size: 698.64 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: WXA1A33W6463 rev: 1A01 scheme: GPT ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LM012 HN-M500MBB size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400 serial: S2S7J9DC911744 rev: 0001 scheme: GPT Swap: Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100) ID-1: swap-1 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5 dev: /dev/zram0 ID-2: swap-2 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5 dev: /dev/zram1 $ apt-cache policy gnome-shell gnome-shell: Installed: 42.0-2ubuntu1 Candidate: 42.0-2ubuntu1 Version table: *** 42.0-2ubuntu1 500 500 https://mirror.internet.asn.au/pub/ubuntu/archive jammy/main amd64 Packages 100 /var/lib/dpkg/status i running wine program and i want doing a lot screenshot. after did it and close program. my system very laggy. i see at htop program my ram and swap full. my system info. Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1 root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet splash vt.handoff=7 Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0 Distro: Ubuntu 22.04 LTS (Jammy Jellyfish) Machine: Type: Portable System: Dell product: Inspiron 3442 v: N/A Mobo: Dell model: 0T57PC v: A16 serial: <superuser required> UEFI: Dell v: A16 date: 09/02/2020 Battery: ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%) volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion serial: 4862 status: Full Memory: RAM: total: 3.75 GiB Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1 compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: 0 Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112 gamma: 1.2 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") ratio: 16:9 modes: 1366x768 OpenGL: renderer: Mesa Intel HD Graphics (HSW GT1) v: 4.6 Mesa 22.0.1 compat-v: 3.1 direct render: Yes Drives: Local Storage: total: 1.14 TiB used: 916.19 GiB (78.7%) ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD7500BPVX-75JC3T0 size: 698.64 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: WXA1A33W6463 rev: 1A01 scheme: GPT ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LM012 HN-M500MBB size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400 serial: S2S7J9DC911744 rev: 0001 scheme: GPT Swap: Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100) ID-1: swap-1 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5 dev: /dev/zram0 ID-2: swap-2 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5 dev: /dev/zram1 $ apt-cache policy gnome-shell gnome-shell: Installed: 42.0-2ubuntu1 Candidate: 42.0-2ubuntu1 Version table: *** 42.0-2ubuntu1 500 500 https://mirror.internet.asn.au/pub/ubuntu/archive jammy/main amd64 Packages 100 /var/lib/dpkg/status --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME DisplayManager: gdm3 DistroRelease: Ubuntu 22.04 InstallationDate: Installed on 2022-04-10 (38 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220409) NonfreeKernelModules: wl Package: gnome-shell 42.0-2ubuntu1 PackageArchitecture: amd64 RelatedPackageVersions: mutter-common 42.0-3ubuntu2 Tags: third-party-packages jammy Uname: Linux 5.17.8-xanmod1 x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo video _MarkForUpload: True
2022-05-19 10:56:31 Sugihwaras attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1973638/+attachment/5591269/+files/Dependencies.txt
2022-05-19 10:56:37 Sugihwaras attachment added GsettingsChanges.txt https://bugs.launchpad.net/bugs/1973638/+attachment/5591270/+files/GsettingsChanges.txt
2022-05-19 10:56:39 Sugihwaras attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1973638/+attachment/5591271/+files/ProcCpuinfoMinimal.txt
2022-05-19 10:56:41 Sugihwaras attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1973638/+attachment/5591272/+files/ProcEnviron.txt
2022-05-19 10:56:48 Sugihwaras attachment added ShellJournal.txt https://bugs.launchpad.net/bugs/1973638/+attachment/5591273/+files/ShellJournal.txt
2022-05-19 10:56:50 Sugihwaras attachment added monitors.xml.txt https://bugs.launchpad.net/bugs/1973638/+attachment/5591274/+files/monitors.xml.txt
2022-05-25 06:55:58 Daniel van Vugt bug task added gjs (Ubuntu)
2022-05-25 06:56:03 Daniel van Vugt gjs (Ubuntu): importance Undecided High
2022-05-25 06:56:08 Daniel van Vugt gjs (Ubuntu): status New In Progress
2022-06-10 04:36:33 Daniel van Vugt tags apport-collected gnome-shell-leak jammy third-party-packages apport-collected gnome-shell-leak jammy rls-jj-incoming third-party-packages
2022-06-21 14:08:26 Sebastien Bacher gnome-shell (Ubuntu): status Triaged Invalid
2022-06-21 14:08:36 Sebastien Bacher nominated for series Ubuntu Jammy
2022-06-21 14:08:36 Sebastien Bacher bug task added gjs (Ubuntu Jammy)
2022-06-21 14:08:36 Sebastien Bacher bug task added gnome-shell (Ubuntu Jammy)
2022-06-21 14:08:43 Sebastien Bacher gnome-shell (Ubuntu Jammy): status New Invalid
2022-06-21 14:08:46 Sebastien Bacher gjs (Ubuntu Jammy): status New Triaged
2022-06-21 14:08:47 Sebastien Bacher gjs (Ubuntu Jammy): importance Undecided High
2022-06-21 14:08:57 Sebastien Bacher tags apport-collected gnome-shell-leak jammy rls-jj-incoming third-party-packages apport-collected gnome-shell-leak jammy third-party-packages
2022-06-21 14:09:13 Sebastien Bacher gjs (Ubuntu): assignee Jeremy Bicha (jbicha)
2022-06-21 14:09:51 Sebastien Bacher gjs (Ubuntu Jammy): assignee Jeremy Bicha (jbicha)
2022-06-21 14:10:27 Sebastien Bacher tags apport-collected gnome-shell-leak jammy third-party-packages apport-collected dt-405 gnome-shell-leak jammy third-party-packages
2022-06-22 01:51:35 Daniel van Vugt gnome-shell (Ubuntu): status Invalid Triaged
2022-06-22 01:51:38 Daniel van Vugt gnome-shell (Ubuntu Jammy): status Invalid Triaged
2022-06-22 01:51:41 Daniel van Vugt gnome-shell (Ubuntu Jammy): importance Undecided High
2022-06-22 01:51:48 Daniel van Vugt gnome-shell (Ubuntu): assignee Jeremy Bicha (jbicha)
2022-06-22 01:51:58 Daniel van Vugt gnome-shell (Ubuntu Jammy): assignee Jeremy Bicha (jbicha)
2022-06-29 05:42:20 Daniel van Vugt description i running wine program and i want doing a lot screenshot. after did it and close program. my system very laggy. i see at htop program my ram and swap full. my system info. Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1 root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet splash vt.handoff=7 Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0 Distro: Ubuntu 22.04 LTS (Jammy Jellyfish) Machine: Type: Portable System: Dell product: Inspiron 3442 v: N/A Mobo: Dell model: 0T57PC v: A16 serial: <superuser required> UEFI: Dell v: A16 date: 09/02/2020 Battery: ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%) volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion serial: 4862 status: Full Memory: RAM: total: 3.75 GiB Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1 compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: 0 Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112 gamma: 1.2 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") ratio: 16:9 modes: 1366x768 OpenGL: renderer: Mesa Intel HD Graphics (HSW GT1) v: 4.6 Mesa 22.0.1 compat-v: 3.1 direct render: Yes Drives: Local Storage: total: 1.14 TiB used: 916.19 GiB (78.7%) ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD7500BPVX-75JC3T0 size: 698.64 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: WXA1A33W6463 rev: 1A01 scheme: GPT ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LM012 HN-M500MBB size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5400 serial: S2S7J9DC911744 rev: 0001 scheme: GPT Swap: Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100) ID-1: swap-1 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5 dev: /dev/zram0 ID-2: swap-2 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5 dev: /dev/zram1 $ apt-cache policy gnome-shell gnome-shell: Installed: 42.0-2ubuntu1 Candidate: 42.0-2ubuntu1 Version table: *** 42.0-2ubuntu1 500 500 https://mirror.internet.asn.au/pub/ubuntu/archive jammy/main amd64 Packages 100 /var/lib/dpkg/status --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME DisplayManager: gdm3 DistroRelease: Ubuntu 22.04 InstallationDate: Installed on 2022-04-10 (38 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220409) NonfreeKernelModules: wl Package: gnome-shell 42.0-2ubuntu1 PackageArchitecture: amd64 RelatedPackageVersions: mutter-common 42.0-3ubuntu2 Tags: third-party-packages jammy Uname: Linux 5.17.8-xanmod1 x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo video _MarkForUpload: True [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan] 1. Log into gnome-shell. 2. Measure its real memory usage: grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the GJS portion of the bug that allows memory usage to exceed 1GB. Later a fix for gnome-shell should be attempted to prevent spikes of even 100MB.
2022-06-29 05:44:05 Daniel van Vugt description [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan] 1. Log into gnome-shell. 2. Measure its real memory usage: grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the GJS portion of the bug that allows memory usage to exceed 1GB. Later a fix for gnome-shell should be attempted to prevent spikes of even 100MB. [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan] 1. Log into gnome-shell. 2. Measure its real memory usage:    grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the main GJS portion of the bug that allows memory usage to exceed 1GB.
2022-06-29 12:41:18 Jeremy Bícha gnome-shell (Ubuntu): status Triaged Fix Committed
2022-06-29 12:41:24 Jeremy Bícha gnome-shell (Ubuntu): status Fix Committed Triaged
2022-06-29 12:41:27 Jeremy Bícha gjs (Ubuntu): status In Progress Fix Committed
2022-06-29 12:41:30 Jeremy Bícha gjs (Ubuntu Jammy): status Triaged Fix Committed
2022-06-30 02:11:59 Launchpad Janitor gjs (Ubuntu): status Fix Committed Fix Released
2022-07-01 23:26:17 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2022-07-01 23:26:19 Steve Langasek bug added subscriber SRU Verification
2022-07-01 23:26:23 Steve Langasek tags apport-collected dt-405 gnome-shell-leak jammy third-party-packages apport-collected dt-405 gnome-shell-leak jammy third-party-packages verification-needed verification-needed-jammy
2022-07-12 16:18:43 Jeremy Bícha gnome-shell (Ubuntu): status Triaged Fix Released
2022-07-12 16:19:09 Jeremy Bícha gnome-shell (Ubuntu): status Fix Released Triaged
2022-07-12 16:19:13 Jeremy Bícha gnome-shell (Ubuntu): assignee Jeremy Bicha (jbicha)
2022-07-12 16:19:16 Jeremy Bícha gnome-shell (Ubuntu Jammy): assignee Jeremy Bicha (jbicha)
2022-07-12 16:21:46 Jeremy Bícha tags apport-collected dt-405 gnome-shell-leak jammy third-party-packages verification-needed verification-needed-jammy apport-collected dt-405 gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy
2022-07-12 23:26:14 Launchpad Janitor gjs (Ubuntu Jammy): status Fix Committed Fix Released
2022-07-12 23:26:18 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2022-08-29 02:59:52 Daniel van Vugt gnome-shell (Ubuntu): status Triaged Fix Committed
2022-08-29 03:01:12 Daniel van Vugt tags apport-collected dt-405 gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy
2022-08-29 08:39:44 Daniel van Vugt tags apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy rjs-jj-incoming third-party-packages verification-done verification-done-jammy
2022-08-29 08:39:57 Daniel van Vugt tags apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy rjs-jj-incoming third-party-packages verification-done verification-done-jammy apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy rls-jj-incoming third-party-packages verification-done verification-done-jammy
2022-08-29 08:40:26 Daniel van Vugt description [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan] 1. Log into gnome-shell. 2. Measure its real memory usage:    grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the main GJS portion of the bug that allows memory usage to exceed 1GB. [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan] THIS NEEDS CHANGING TO VERIFY THE GNOME-SHELL FIX 1. Log into gnome-shell. 2. Measure its real memory usage:    grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the main GJS portion of the bug that allows memory usage to exceed 1GB.
2022-08-29 08:41:18 Daniel van Vugt description [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan] THIS NEEDS CHANGING TO VERIFY THE GNOME-SHELL FIX 1. Log into gnome-shell. 2. Measure its real memory usage:    grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the main GJS portion of the bug that allows memory usage to exceed 1GB. [Impact] gnome-shell's memory usage grows by tens of megabytes with every screenshot. A few screenshots make it 100MB larger and a few dozen screenshots make it 1GB larger. [Test Plan for GNOME Shell Fix] TODO [Test Plan for GJS Fix] 1. Log into gnome-shell. 2. Measure its real memory usage:    grep RSS /proc/`pidof gnome-shell`/status 3. Take 20 full screen screenshots by pressing PrtScn each time. No need to save them anywhere. 4. Measure the memory usage again. Expected: Memory usage grows a little but growth does not exceed a few hundred megabytes. It should level off after a while and sometimes even shrink due to garbage collection. Observed: Memory usage grows without bounds, easily exceeding 1GB after about 20 screenshots (depending on screen resolution). It never shrinks significantly. [Where problems could occur] Since the fix affects GJS, problems could occur in any part of gnome-shell. [Other Info] This leak requires multiple fixes to minimize the memory usage. For the moment we are only aiming to fix the main GJS portion of the bug that allows memory usage to exceed 1GB.
2022-08-30 06:28:50 Daniel van Vugt tags apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy rls-jj-incoming third-party-packages verification-done verification-done-jammy apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy
2022-08-30 06:28:55 Daniel van Vugt gnome-shell (Ubuntu): status Fix Committed Triaged
2022-09-01 02:25:50 Daniel van Vugt gnome-shell (Ubuntu): status Triaged Fix Committed
2022-09-06 08:11:09 Daniel van Vugt tags apport-collected dt-405 fixed-in-43 fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy apport-collected dt-405 fixed-in-43.rc fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy
2022-09-15 03:58:03 Daniel van Vugt gnome-shell (Ubuntu Jammy): status Triaged Fix Committed
2022-09-15 03:58:14 Daniel van Vugt tags apport-collected dt-405 fixed-in-43.rc fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy apport-collected dt-405 fixed-in-42.5 fixed-in-43.rc fixed-upstream gnome-shell-leak jammy third-party-packages verification-done verification-done-jammy
2022-09-18 01:59:25 Daniel van Vugt gnome-shell (Ubuntu): status Fix Committed Fix Released
2022-10-30 15:37:21 Bug Watch Updater gnome-shell: status Unknown Fix Released
2023-01-24 11:00:30 Sugihwaras bug watch added https://gitlab.gnome.org/GNOME/gjs/-/issues/526
2023-07-15 09:26:33 Daniel van Vugt gnome-shell (Ubuntu Jammy): status Fix Committed Fix Released