Hello errors.ubuntu.com, or anyone else affected,

Accepted gtk4 into jammy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/gtk4/4.6.9+ds-0ubuntu0.22.04.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: gtk4 (Ubuntu Jammy)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

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

Title:
  gjs-console running Extensions Manager crashes with free(): invalid
  pointer

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

Bug description:
  [ Impact ]

  gnome-shell-extensions-prefs may crash during shutdown because of
  wrong memory access:

  Jul 14 18:52:30 zerocool gjs[114030]: Attempting to run a JS callback during 
garbage collection. This is most likely caused by destroying a Clutter actor or 
GTK widget with ::destroy signal connected, or using the destroy(), dispose(), 
or remove() vfuncs. Because it would crash the application, it has been blocked.
  Jul 14 18:52:30 zerocool gjs[114030]: The offending callback was 
ScaleFormatValueFunc().
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: == Stack trace 
for context 0x55d05b7f6170 ==
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: #0 55d05b87d5b8 
i resource:///org/gnome/Shell/Extensions/js/dbusService.js:186 (3d87eaadaab0 @ 
257)
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: #1 55d05b87d510 
i resource:///org/gnome/Shell/Extensions/js/main.js:22 (3d87eaada4c0 @ 97)
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: #2 55d05b87d478 
i resource:///org/gnome/gjs/modules/script/package.js:206 (3d87eaac82e0 @ 45)
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: #3 55d05b87d3f0 
i resource:///org/gnome/gjs/modules/script/package.js:190 (3d87eaac8290 @ 37)
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: #4 55d05b87d360 
i /usr/share/gnome-shell/org.gnome.Shell.Extensions:1 (3d87eaac80b0 @ 52)
  Jul 14 18:52:30 zerocool gjs[114030]: Invalid UTF-8 string passed to 
pango_layout_set_text()
  Jul 14 18:52:30 zerocool org.gnome.Shell.Extensions[114030]: free(): invalid 
pointer

  
  [ Test case ]

  1. Add this script to a file (i.e. /tmp/test-gtk.js)

  import Gtk from 'gi://Gtk?version=4.0';
  const app = new Gtk.Application();
  app.connect('activate', () => {
      const scale = new Gtk.Scale({drawValue: true});
      scale.set_format_value_func(() => '');
      new Gtk.Window({application: app, child: scale}).present();
  });
  app.run([]);

  
  2. Run it via:

  gjs -m /tmp/test-gtk.js

  A new window should snow

  3. Close the window, it should exit normally with no errors.

  
  [ Regression potential ]

  None known, the fix
  (https://gitlab.gnome.org/GNOME/gtk/-/commit/8b76cc841) only ensures
  that we're using the adjustment property if really was used.

  
  -------

  Other triggers:

  7月 17 20:47:01 xsc-Lenovo-R720-15IKBN ubuntu-appindicat...@ubuntu.com[6819]: 
unable to update icon for software-update-available
  7月 17 20:47:01 xsc-Lenovo-R720-15IKBN ubuntu-appindicat...@ubuntu.com[6819]: 
unable to update icon for livepatch
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN gjs[7414]: Attempting to run a JS 
callback during garbage collection. This is most likely caused by destroying a 
Clutter actor or GTK widget with ::destroy signal connected, or using the 
destroy(), dispose(), or remove() vfuncs. Because it would crash the 
application, it has been blocked.
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN gjs[7414]: The offending callback was 
ScaleFormatValueFunc().
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: == 
Stack trace for context 0x55674f538170 ==
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: #0 
55674f5c27f8 i resource:///org/gnome/Shell/Extensions/js/dbusService.js:186 
(330fd64daab0 @ 257)
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: #1 
55674f5c2750 i resource:///org/gnome/Shell/Extensions/js/main.js:22 
(330fd64da4c0 @ 97)
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: #2 
55674f5c26b8 i resource:///org/gnome/gjs/modules/script/package.js:206 
(330fd64c82e0 @ 45)
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: #3 
55674f5c2630 i resource:///org/gnome/gjs/modules/script/package.js:190 
(330fd64c8290 @ 37)
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: #4 
55674f5c25a0 i /usr/share/gnome-shell/org.gnome.Shell.Extensions:1 
(330fd64c80b0 @ 52)
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN gjs[7414]: Invalid UTF-8 string passed 
to pango_layout_set_text()
  7月 17 20:47:03 xsc-Lenovo-R720-15IKBN org.gnome.Shell.Extensions[7414]: 
free(): invalid pointer

  ---

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
gjs.  This problem was most recently seen with package version 1.74.0-1, the 
problem page at 
https://errors.ubuntu.com/problem/2c4ff471793184d6a5b3a47cee9dcbe517920a3a 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gjs/+bug/2027986/+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