Shell stops responding to input after desktop-icons rubber band

Bug #1955384 reported by Marko Drobac
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons
New
Unknown
gnome-shell-extension-desktop-icons (Ubuntu)
New
Undecided
Unassigned

Bug Description

This bug happened when I clicked and held the left mouse button on the desktop and moved it to make a rectangular selection window. Next, I moved the window to highlight 4 desktop shortcuts on my desktop (Middle-earth Shadow of Mordor.desktop, steam.desktop, Trash, and the icelancet or Home folder). Next, while still holding the left mouse button down, I pressed and released the right mouse button. Now a window pops up with more options, however, the window is not removable using a normal method like clicking somewhere else on the desktop or even choosing an option in the window which does nothing. Also, it introduces more bugs like: 1. clicking the icelancet/Home shortcut on the desktop does not open the Home folder, or 2. while clicking the Home folder shortcut on the sidebar does open the Home folder, this window is not moveable by the usual method of pressing down the left mouse button on the title bar of the window and moving the mouse. As such, when this bug occurs, a hard reboot is necessary to restore the stability of the system. I have reproduced the bug after a reboot and doing the same procedure - the same thing happens. This is on the latest version of Ubuntu (Release 20.04) with all the latest upstream updates installed.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.11.0-43.47~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-43-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 470.94 Mon Dec 6 22:42:02 UTC 2021
 GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 20 00:46:44 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. GP107 [GeForce GTX 1050 Ti] [1043:862a]
InstallationDate: Installed on 2021-11-23 (27 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
MachineType: Micro-Star International Co., Ltd. MS-7C39
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-43-generic root=UUID=d206716a-6a84-411d-9038-eb4654efc2ec ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/05/2019
dmi.bios.release: 5.12
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.10
dmi.board.asset.tag: Default string
dmi.board.name: B365M PRO-VDH(MS-7C39)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 1.0
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.10:bd09/05/2019:br5.12:svnMicro-StarInternationalCo.,Ltd.:pnMS-7C39:pvr1.0:skuDefaultstring:rvnMicro-StarInternationalCo.,Ltd.:rnB365MPRO-VDH(MS-7C39):rvr1.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr1.0:
dmi.product.family: Default string
dmi.product.name: MS-7C39
dmi.product.sku: Default string
dmi.product.version: 1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.105-3~20.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.3~20.04.5
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1~20.04.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
tags: added: nvidia
Revision history for this message
Marko Drobac (icelancet) wrote :

Hi Daniel,

I have tried to look /var/crash but there is no newly-created crash file. I have looked on the webpage in step 2 but there is no relevant link there (i.e. the date when the crash happened). I have also applied the workaround from bug 994921, reproduced the crash, and retried step 1, and still there is no newly-created crash file.

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

OK then, next time the system freezes please:

1. Wait 10 seconds.

2. Reboot.

3. Run:

   journalctl -b-1 > prevboot.txt

4. Attach the resulting text file here.

Revision history for this message
Marko Drobac (icelancet) wrote :

Here you go.

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Shell stops responding to input
Download full text (5.6 KiB)

It looks like the problem starts in the desktop-icons extension and then affects the whole shell:

Jan 05 07:22:12 icelancet-MS-7C39 gnome-shell[1902]: JS ERROR: Error: incorrect grab helper pop
                                                     _popGrabHelper@resource:///org/gnome/shell/ui/grabHelper.js:26:15
                                                     _releaseModalGrab@resource:///org/gnome/shell/ui/grabHelper.js:224:9
                                                     ungrab@resource:///org/gnome/shell/ui/grabHelper.js:275:18
                                                     endRubberBand@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:162:26
                                                     startRubberBand/this._stageReleaseEventId<@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:118:18
Jan 05 07:22:12 icelancet-MS-7C39 gnome-shell[1902]: JS WARNING: [resource:///org/gnome/shell/ui/grabHelper.js 326]: reference to undefined property 0
Jan 05 07:22:12 icelancet-MS-7C39 gnome-shell[1902]: JS ERROR: TypeError: this._grabStack[i] is undefined
                                                     onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:326:27
                                                     _onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:13:23
Jan 05 07:22:13 icelancet-MS-7C39 gnome-shell[1902]: JS ERROR: TypeError: this._grabStack[i] is undefined
                                                     onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:326:27
                                                     _onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:13:23
Jan 05 07:22:14 icelancet-MS-7C39 gnome-shell[1902]: JS ERROR: TypeError: this._grabStack[i] is undefined
                                                     onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:326:27
                                                     _onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:13:23
Jan 05 07:22:26 icelancet-MS-7C39 gnome-shell[1902]: JS ERROR: TypeError: this._grabStack[i] is undefined
                                                     onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:326:27
                                                     _onCapturedEvent@resource:///org/gnome/shell/ui/grabHelper.js:13:23
Jan 05 07:22:26 icelancet-MS-7C39 gnome-shell[1902]: ../clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function.
Jan 05 07:22:28 icelancet-MS-7C39 gnome-shell[1902]: JS ERROR: Exception in callback for signal: open-state-changed: Error: incorrect grab helper pop
                                                     _popGrabHelper@resource:///org/gnome/shell/ui/grabHelper.js:26:15
                                                     _releaseModalGrab@resource:///org/gnome/shell/ui/grabHelper.js:224:9
                                                     ungrab@resource:///org/gnome/shell/ui/grabHelper.js:275:18
                                        ...

Read more...

summary: - Xorg freeze
+ Shell stops responding to input
affects: ubuntu → gnome-shell-extension-desktop-icons (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please report the bug to the developer at https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/issues and mention:

JS ERROR: Error: incorrect grab helper pop
                                                     _popGrabHelper@resource:///org/gnome/shell/ui/grabHelper.js:26:15
                                                     _releaseModalGrab@resource:///org/gnome/shell/ui/grabHelper.js:224:9
                                                     ungrab@resource:///org/gnome/shell/ui/grabHelper.js:275:18
                                                     endRubberBand@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:162:26
                                                     startRubberBand/this._stageReleaseEventId<@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:118:18

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: Incomplete → New
summary: - Shell stops responding to input
+ Shell stops responding to input after desktop-icons rubber band
Revision history for this message
Marko Drobac (icelancet) wrote :

Ok, will do.

Changed in gnome-shell-extension-desktop-icons:
status: Unknown → New
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.