This bug was fixed in the package gjs - 1.72.4-0ubuntu0.22.04.1

---------------
gjs (1.72.4-0ubuntu0.22.04.1) jammy; urgency=medium

  * New upstream stable release (LP: #2023572)
  * debian/patches: Drop, they've been all applied upstream

gjs (1.72.3-0ubuntu0.22.04.1) jammy; urgency=medium

  * New upstream release (LP: #2023572):
  * debian/patches: Refresh teardown patch, replacing it with the one landed
    upstream (LP: #1974293)
  * debian/patches: Cherry-pick upstream fixes to address various memory leaks
    (LP: #2012978)

 -- Marco Trevisan (Treviño) <ma...@ubuntu.com>  Thu, 15 Jun 2023
17:23:40 +0200

** Changed in: gjs (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gjs in Ubuntu.
https://bugs.launchpad.net/bugs/2012978

Title:
  Memory leak

Status in gjs package in Ubuntu:
  Fix Released
Status in gjs source package in Jammy:
  Fix Released
Status in gjs source package in Kinetic:
  Won't Fix

Bug description:
  [ Impact ]

  High Memory Usage 3.1gb in 2h after reboot

  [ Test case ]

  Run:
    env G_SLICE=always-malloc valgrind --leak-check=full \
      --suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
      gjs -c "const GLib=imports.gi['GLib'];function leak(){const 
l=GLib.Variant['new']('i',1)};leak();imports.system.gc();"

  No leak should be detected

  Running more installed tests under valgrind should output no leaks
  (unless those caused by gobject-introspection):

  sudo apt install gjs-tests
  env GJS_DEBUG_TOPICS= valgrind --leak-check=full \
    --suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
    /usr/libexec/installed-tests/gjs/minijasmine \
    /usr/libexec/installed-tests/gjs/js/testGIMarshalling.js

  There may be only two leaks caused by
  gi_marshalling_tests_garray_boxed_struct_full_return and a gbytes one
  after a ObjectInstance::prop_setter_impl call (these are leaks in the
  test library that are expected with gobject-introspection 42, but
  fixed in later versions).

  env GJS_DEBUG_TOPICS= valgrind --leak-check=full \
    --suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
    /usr/libexec/installed-tests/gjs/minijasmine \
    /usr/libexec/installed-tests/gjs/js/testRegress.js

  No leak expected

  [ Regression potential ]

  Gjs applications (including gnome Shell) using GVariant may misbehave

  ---

  ProblemType: BugDistroRelease: Ubuntu 22.04
  Package: gnome-shell 42.5-0ubuntu1
  Uname: Linux 6.2.8-060208-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Mar 27 22:46:07 2023
  DisplayManager: gdm3
  InstallationDate: Installed on 2022-03-25 (366 days ago)
  InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
  RelatedPackageVersions: mutter-common 42.5-0ubuntu1SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to jammy on 2022-09-03 (205 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gjs/+bug/2012978/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to