Gnome-shell freezes

Hi,

I am seeing regular freezes in gnome-shell, usually when I try to go to the Workspace Overview (top left corner window overview). Usually, I wait 30 seconds or so and then everything goes back to normal. Very annoying. :frowning:

Any ideas?

In my journal, I see:

Nov 25 00:00:20 devbox gnome-shell[15942]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x55ee910e5480), has been already disposed β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 25 00:00:20 devbox gnome-shell[15942]: == Stack trace for context 0x55ee7c8e7170 ==
Nov 25 00:00:20 devbox gnome-shell[15942]: #0   7fff7c2d4950 b   resource:///org/gnome/shell/ui/workspacesView.js:639 (28e8dd62b7e0 @ 33)
Nov 25 00:00:20 devbox gnome-shell[15942]: #1   7fff7c2d4aa0 b   resource:///org/gnome/shell/ui/workspacesView.js:686 (28e8dd62b880 @ 467)
Nov 25 00:00:20 devbox gnome-shell[15942]: #2   55eeac6f33a8 i   resource:///org/gnome/shell/ui/workspace.js:854 (40e275bece0 @ 369)
Nov 25 00:00:20 devbox gnome-shell[15942]: #3   55eeac6f3320 i   resource:///org/gnome/shell/ui/workspace.js:805 (40e275bec40 @ 17)
Nov 25 00:00:20 devbox gnome-shell[15942]: #4   55eeac6f3288 i   resource:///org/gnome/shell/ui/workspacesView.js:1016 (28e8dd62c2e0 @ 124)
Nov 25 00:00:20 devbox gnome-shell[15942]: #5   55eeac6f31f8 i   resource:///org/gnome/shell/ui/overviewControls.js:715 (40e27584f10 @ 39)
Nov 25 00:00:20 devbox gnome-shell[15942]: #6   55eeac6f3170 i   resource:///org/gnome/shell/ui/layout.js:347 (25648f0cf1a0 @ 22)
Nov 25 00:00:20 devbox gnome-shell[15942]: #7   55eeac6f30e0 i   resource:///org/gnome/shell/ui/overview.js:588 (40e27583d80 @ 170)
Nov 25 00:00:20 devbox gnome-shell[15942]: #8   55eeac6f3060 i   resource:///org/gnome/shell/ui/overview.js:566 (40e27583d30 @ 12)
Nov 25 00:00:20 devbox gnome-shell[15942]: #9   55eeac6f2fe0 i   resource:///org/gnome/shell/ui/overviewControls.js:753 (40e275860b0 @ 55)
Nov 25 00:00:20 devbox gnome-shell[15942]: #10   7fff7c2db6c0 b   resource:///org/gnome/shell/ui/environment.js:150 (25648f08c9c0 @ 39)
Nov 25 00:00:20 devbox gnome-shell[15942]: #11   55eeac6f2f58 i   resource:///org/gnome/shell/ui/environment.js:316 (25648f08cec0 @ 14)
Nov 25 00:00:20 devbox gnome-shell[15942]: == Stack trace for context 0x55ee7c8e7170 ==
Nov 25 00:00:20 devbox gnome-shell[15942]: #0   7fff7c2d4aa0 b   resource:///org/gnome/shell/ui/workspacesView.js:688 (28e8dd62b880 @ 484)
Nov 25 00:00:20 devbox gnome-shell[15942]: #1   55eeac6f33a8 i   resource:///org/gnome/shell/ui/workspace.js:854 (40e275bece0 @ 369)
Nov 25 00:00:20 devbox gnome-shell[15942]: #2   55eeac6f3320 i   resource:///org/gnome/shell/ui/workspace.js:805 (40e275bec40 @ 17)
Nov 25 00:00:20 devbox gnome-shell[15942]: #3   55eeac6f3288 i   resource:///org/gnome/shell/ui/workspacesView.js:1016 (28e8dd62c2e0 @ 124)
Nov 25 00:00:20 devbox gnome-shell[15942]: #4   55eeac6f31f8 i   resource:///org/gnome/shell/ui/overviewControls.js:715 (40e27584f10 @ 39)
Nov 25 00:00:20 devbox gnome-shell[15942]: #5   55eeac6f3170 i   resource:///org/gnome/shell/ui/layout.js:347 (25648f0cf1a0 @ 22)
Nov 25 00:00:20 devbox gnome-shell[15942]: #6   55eeac6f30e0 i   resource:///org/gnome/shell/ui/overview.js:588 (40e27583d80 @ 170)
Nov 25 00:00:20 devbox gnome-shell[15942]: #7   55eeac6f3060 i   resource:///org/gnome/shell/ui/overview.js:566 (40e27583d30 @ 12)
Nov 25 00:00:20 devbox gnome-shell[15942]: #8   55eeac6f2fe0 i   resource:///org/gnome/shell/ui/overviewControls.js:753 (40e275860b0 @ 55)
Nov 25 00:00:20 devbox gnome-shell[15942]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x55ee910e5480), has been already disposed β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 25 00:00:20 devbox gnome-shell[15942]: #9   7fff7c2db6c0 b   resource:///org/gnome/shell/ui/environment.js:150 (25648f08c9c0 @ 39)
Nov 25 00:00:20 devbox gnome-shell[15942]: #10   55eeac6f2f58 i   resource:///org/gnome/shell/ui/environment.js:316 (25648f08cec0 @ 14)
Nov 25 00:00:20 devbox gnome-shell[15942]: JS ERROR: TypeError: workspace is undefined
                                                           _getSpacing@resource:///org/gnome/shell/ui/workspacesView.js:213:13
                                                           vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:339:18
                                                           vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:711:30
                                                           removeWindow@resource:///org/gnome/shell/ui/workspace.js:854:29
                                                           addWindow/<.destroyId<@resource:///org/gnome/shell/ui/workspace.js:805:22
                                                           vfunc_hide@resource:///org/gnome/shell/ui/workspacesView.js:1016:38
                                                           vfunc_unmap@resource:///org/gnome/shell/ui/overviewControls.js:715:33
                                                           hideOverview@resource:///org/gnome/shell/ui/layout.js:347:28
                                                           _hideDone@resource:///org/gnome/shell/ui/overview.js:588:32
                                                           _animateNotVisible/<@resource:///org/gnome/shell/ui/overview.js:566:55
                                                           onStopped@resource:///org/gnome/shell/ui/overviewControls.js:753:21
                                                           _makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:150:22
                                                           _easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:316:60
Nov 25 00:00:20 devbox gnome-shell[15942]: Object St.Button (0x55ee8dbd0f10), has been already disposed β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 25 00:00:20 devbox gnome-shell[15942]: Object St.Label (0x55ee89e31450), has been already disposed β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 25 00:00:20 devbox gnome-shell[15942]: == Stack trace for context 0x55ee7c8e7170 ==
Nov 25 00:00:20 devbox gnome-shell[15942]: #0   55eeac6f2f58 i   resource:///org/gnome/shell/ui/windowPreview.js:566 (40e275c0dd0 @ 10)
Nov 25 00:00:20 devbox gnome-shell[15942]: == Stack trace for context 0x55ee7c8e7170 ==
Nov 25 00:00:20 devbox gnome-shell[15942]: #0   55eeac6f2f58 i   resource:///org/gnome/shell/ui/windowPreview.js:567 (40e275c0dd0 @ 36)
Nov 25 00:00:20 devbox gnome-shell[15942]: == Stack trace for context 0x55ee7c8e7170 ==
Nov 25 00:00:20 devbox gnome-shell[15942]: #0   55eeac6f2f58 i   resource:///org/gnome/shell/ui/windowPreview.js:570 (40e275c0dd0 @ 77)
Nov 25 00:00:20 devbox gnome-shell[15942]: Object .Gjs_ui_windowPreview_WindowPreview (0x55ee8f9dbc80), has been already disposed β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.

Welcome to ask fedora @jovetoo

It looks like you installed devbox app/extention?
If yes could you please tell us how and from which repository you installed it?

Please give us also more information about you system like inxi -Fzx and paste it here as pre-formatted text.

It seems a bug of DevBox, so removing it would fix the error.

Hi all, thank you for responding.

devbox is the hostname of my machine. This is output from journalctl -f

As far as I know, I have no extensions installed.

1 Like

Correction, I have the following gnome-shell extensions installed:

gnome-shell-extension-appindicator.noarch
gnome-shell-extension-apps-menu.noarch
gnome-shell-extension-background-logo.noarch
gnome-shell-extension-common.noarch
gnome-shell-extension-gamemode.noarch
gnome-shell-extension-launch-new-instance.noarch
gnome-shell-extension-places-menu.noarch
gnome-shell-extension-user-theme.noarch
gnome-shell-extension-window-list.noarch

Most of them are not enabled, though.

For me it looks like a dconf path this:

resource:///org/gnome/shell/ui/

I do not have this when i look in dconf editor. Can you check what options you find there?
Something looks like not being default. It executes .js files and there it gives you errors.

You might give us also an inxi -Fzx and post it here as a preformated text.

That looks like this bug, JS ERROR: TypeError: workspace is undefined and multiple stack traces (#5596) Β· Issues Β· GNOME / gnome-shell Β· GitLab

Would you mind updating it with what you’re seeing?

Thanks

inxi output:

System:
  Kernel: 6.0.7-301.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.38-24.fc37 Desktop: GNOME v: 43.1 Distro: Fedora release 37 (Thirty
    Seven)
Machine:
  Type: Desktop Mobo: ASUSTeK model: Z170I PRO GAMING v: Rev X.0x
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: 3805
    date: 05/16/2018
CPU:
  Info: quad core model: Intel Core i7-6700K bits: 64 type: MT MCP
    arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 2400 high: 4000 min/max: 800/4200 cores: 1: 800 2: 800
    3: 4000 4: 800 5: 4000 6: 800 7: 4000 8: 4000 bogomips: 63999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: Gigabyte driver: nvidia
    v: 520.56.06 arch: Turing bus-ID: 01:00.0
  Device-2: Logitech BRIO Ultra HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 5-2.2.2:4
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.5 driver: X:
    loaded: nvidia gpu: nvidia,nvidia-nvswitch resolution: 1: 3840x2160~60Hz
    2: 3840x2160~60Hz 3: 3840x2160~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce GTX 1660
    Ti/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 5-2.2.2:4 bus-ID: 00:1f.3
  Device-2: NVIDIA TU116 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-3: Logitech BRIO Ultra HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k6.0.7-301.fc37.x86_64 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.60 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: ASUSTeK driver: ath10k_pci v: kernel bus-ID: 05:00.0
  IF: wlp5s0 state: down mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: ASUSTek Qualcomm Bluetooth 4.1 type: USB driver: btusb v: 0.8
    bus-ID: 1-13:4
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 451.4 GiB (48.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
    temp: 47.9 C
Partition:
  ID-1: / size: 99.21 GiB used: 54.53 GiB (55.0%) fs: ext4 dev: /dev/dm-0
    mapped: fedora_devbox-root
  ID-2: /boot size: 474 MiB used: 263.5 MiB (55.6%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-3: /home size: 462.43 GiB used: 396.61 GiB (85.8%) fs: ext4
    dev: /dev/dm-2 mapped: fedora_devbox-home
Swap:
  ID-1: swap-1 type: partition size: 64.82 GiB used: 9.7 MiB (0.0%)
    dev: /dev/dm-1 mapped: fedora_devbox-swap
Sensors:
  System Temperatures: cpu: 31.0 C mobo: N/A gpu: nvidia temp: 49 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 395 Uptime: 11d 21h 37m Memory: 31.29 GiB used: 10.58 GiB (33.8%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.2.1 Packages: N/A
  note: see --rpm Shell: Bash v: 5.2.9 inxi: 3.3.23

@grumpey I have looked through that bugreport and I am also using multiple monitors (3).

I do not have this when i look in dconf editor. Can you check what options you find there?

According to the dconf-editor, this does not exist here either.

I have had this before. Perhaps ram is too full.

top - 17:37:02 up 11 days, 22:56,  1 user,  load average: 0.64, 0.51, 0.54
Tasks: 384 total,   1 running, 383 sleeping,   0 stopped,   0 zombie
%Cpu(s): 11.3 us,  0.9 sy,  0.0 ni, 87.5 id,  0.0 wa,  0.2 hi,  0.0 si,  0.0 st
MiB Mem :  32037.6 total,   3924.0 free,   7899.8 used,  20213.8 buff/cache
MiB Swap:  66372.0 total,  66357.5 free,     14.5 used.  22598.5 avail Mem 

Seems fine to me @keffin

Hmm. the gnome-shell debug report does not mention freezes.

I had another freeze and found this in my debug log:

Nov 25 17:08:04 devbox setroubleshoot[2098895]: SELinux is preventing gdb from read access on the chr_file nvidiactl. For complete SELinux messages run: sealert -l bfb28474-9d4a-4257-9e00-b8ee8bd86017
Nov 25 17:08:04 devbox setroubleshoot[2098895]: SELinux is preventing gdb from read access on the chr_file nvidiactl.
                                                                
                                                                *****  Plugin catchall (100. confidence) suggests   **************************
                                                                
                                                                If you believe that gdb should be allowed read access on the nvidiactl chr_file by default.
                                                                Then you should report this as a bug.
                                                                You can generate a local policy module to allow this access.
                                                                Do
                                                                allow this access for now by executing:
                                                                # ausearch -c 'gdb' --raw | audit2allow -M my-gdb
                                                                # semodule -X 300 -i my-gdb.pp

I have allowed the gdb access in selinux, so perhaps next time, i get more information.

The freeze may not be related to the gnome-shell bug.

Sorry it was not of help. Hopefully you can find a solution soon.

Last time I installed gnome it froze due to the memory running near 99%.