This doesn't seems something easy to understand, because
`org.gnome.Shell.Extensions` could be loading *ANY* kind of javascript
code that is imported from gnome extensions.

Some of this code is definitely setting a wrong pango text, and gjs thus
doesn't free it properly.

It could be also an issue due to wrong JS-string -> C-string mapping in
gjs but it's very hard to reproduce for me.

** Description changed:

+ Some JS traces I see are:
+ 
+       
+ 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
+ 
+ ---
+ 
  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/.

** Summary changed:

- /usr/bin/gjs-console:free(): invalid pointer
+ gjs-console crashes with free(): invalid pointer

** Description changed:

  Some JS traces I see are:
  
-       
  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
  
  ---
  
+ 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/.

** Summary changed:

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

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

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

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to