@vanvugt is this bug still supposed to be in Triaged and did the janitor
erroneously move it back to Fix Released? The package is still held back
on our machines (Jammy) and still on 1.72.2

-- 
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