gnome-shell freezes and continuously logs "JS ERROR: TypeError: null has no properties" in _addWindowEffect from vfunc_show (both in closeDialog.js)

Bug #1841774 reported by Emanuele
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
High
Unassigned
Hirsute
Fix Released
High
Unassigned

Bug Description

I was closing the dialog of the "software and updates" tools (I was checking the repositories and ppa), but the entire desktop went into freeze, no mouse movement, at the click no action, I pressed the keys "ctrl + alt + f3 "and I went into a tty session, from there I recorded the logs via:" journalctl -f> log ", and I restarted.

This is one part of the log, but it seems to repeat itself, I have attached a file with a longer log.

-- Logs begin at Tue 2019-02-19 00:29:40 CET. --
ago 28 13:41:35 emanuc gnome-shell[2747]: JS ERROR: TypeError: null has no properties
                                          _addWindowEffect@resource:///org/gnome/shell/ui/closeDialog.js:74:13
                                          vfunc_show@resource:///org/gnome/shell/ui/closeDialog.js:145:9
ago 28 13:41:35 emanuc gnome-shell[2747]: JS ERROR: TypeError: null has no properties
                                          _addWindowEffect@resource:///org/gnome/shell/ui/closeDialog.js:74:13
                                          vfunc_show@resource:///org/gnome/shell/ui/closeDialog.js:145:9

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: gnome-shell 3.33.91-1ubuntu1
ProcVersionSignature: Ubuntu 5.2.0-13.14-generic 5.2.8
Uname: Linux 5.2.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 28 14:51:01 2019
DisplayManager: gdm3
InstallationDate: Installed on 2019-02-18 (190 days ago)
InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190130)
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: mutter-common 3.33.91-1ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Emanuele (emanuc) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Those log messages do sound related to the freeze since they repeat so much.

summary: - Freeze gnome shell and dekstop
+ gnome-shell freezes and continuously logs JS ERROR: TypeError: null has
+ no properties in
+ _addWindowEffect@resource:///org/gnome/shell/ui/closeDialog.js:74:13
+ from vfunc_show@resource:///org/gnome/shell/ui/closeDialog.js:145:9
summary: - gnome-shell freezes and continuously logs JS ERROR: TypeError: null has
- no properties in
- _addWindowEffect@resource:///org/gnome/shell/ui/closeDialog.js:74:13
- from vfunc_show@resource:///org/gnome/shell/ui/closeDialog.js:145:9
+ gnome-shell freezes and continuously logs "JS ERROR: TypeError: null has
+ no properties" in _addWindowEffect from vfunc_show (both in
+ closeDialog.js)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

We find a large number of bugs are caused by extensions and you have a few installed:

'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'temperature@xtranophilist'

Please try uninstalling all of them (don't just disable them), and then tell us if the bug still occurs.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Emanuele (emanuc) wrote :

Strange, these two extensions('<email address hidden>',
'temperature@xtranophilist', '<email address hidden>'
) I've already uninstalled from gnome-tweaks, for a long time.
If they are available and easy to install, I think there is some problem with gnome shell extensions, it happens to many users that they can't start the desktop with any extension that doesn't work well (I can fix it because I know how to fix it, but many users, no).
The bug occurred only on one occasion, but I wanted to report it because I want to help fix bugs, if there are any.

Revision history for this message
Peter May (peter.may) wrote :

I have this problem as well.

Virgin/Clean install of Eoan Desktop install in a KVM virtual machine.
Install package cqrlog, which has a long startup time and usually causes the "not responding" dialog to raise, but can be dismissed.

Under Eoan, the "CQRLOG is not responding" dialog cannot be dismissed - both "Force Quit" and "Wait" are greyed out and cannot be selected.

gnome-shell then runs to 100% cpu utilisation (one thread/core) and repeatedly logs:

gnome-shell[4157]: JS ERROR: TypeError: null has no properties#012_addWindowEffect@resource:///org/gnome/shell/ui/closeDialog.js:74:13#012vfunc_show@resource:///org/gnome/shell/ui/closeDialog.js:145:9

in syslog.
Killing gnome-shell clears the "not responding" dialog.

Not this is a virgin install to debug this problem, no extensions or anything else installed (except mariadb-server and cqrlog).

Revision history for this message
Emanuele (emanuc) wrote :

The bug has been reported upstream and looks like the same bug

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1607

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That was mentioned by someone other than the original reporter, so maybe? Maybe not.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also note the link mentioned in comment #6 is actually Launchpad bug 1845302.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If the two bugs do share the same fix then you would find the fix in:

mutter (3.34.1+git20191022-2ubuntu1) focal; urgency=medium

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Since Ubuntu 19.10 (eoan) has reached end of life, this can be closed.

Please see bug 1890613 for a more current discussion.

Changed in gnome-shell (Ubuntu):
status: Incomplete → Won't Fix
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Changed in mutter (Ubuntu):
status: Won't Fix → In Progress
tags: added: fixed-upstream
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello! Please update the description to include the necessary SRU information [1]. Thank you!

[1] https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.38.3-2ubuntu1

---------------
mutter (3.38.3-2ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing new upstream release (LP: #1915025)
    - Disable CRTCs when system becomes headless (LP: #1905825)
    - Fixed crash during windows unmanagement (LP: #1870822)
    - Do not handle ungrabbed events when unmanaging (LP: #1880405)
    - Downgrade assert to warning when adding window (LP: #1911921)
  * d/p/x11-Add-support-for-fractional-scaling-using-Randr.patch:
    - Refreshed
  * debian/rules: Enable remote desktop for all linux builds (LP: #1730612)

mutter (3.38.3-2) unstable; urgency=medium

  * Team upload
  * d/patches: Update to commit 3.38.3-12-g2d424a739 from gnome-3-38 branch
    - Cope with monitors with metacharacters in their EDID data
    - Don't crash if parsing monitor configuration fails
    - Don't crash if an extension tries to add the same window to a
      workspace more than once, such as auto-move-windows
    - Cope with monitor configuration changes during screencasting
    - Speed up workspace switching when many windows are open
    - Fix Xwayland windows not always appearing in the gnome-shell overview
    - Avoid warning spam and poor performance when unmanaging a window
      (probably Closes: #970295, LP: #1841774)

mutter (3.38.3-1) unstable; urgency=medium

  * Team upload
  * d/watch: Only watch for 3.38.x versions
  * New upstream release

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 09 Feb 2021 04:59:11 +0100

Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also seen on focal (from the log in bug 1917969).

tags: added: focal
removed: eoan
tags: added: rls-ff-incoming
Changed in mutter (Ubuntu Hirsute):
importance: Undecided → High
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

still missing the SRU description

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.