Skip to content

cosmic-store + Pop Shell tiling causes gnome-shell log spam and UI freeze #1803

@GhostInZshell

Description

@GhostInZshell

GNOME Shell log storm + freeze when opening cosmic-store with Pop Shell tiling enabled (syslog grows to 24GB)

Summary

Opening cosmic-store while Pop Shell tiling is enabled triggers a GNOME Shell warning loop (Attempting to run a JS callback during garbage collection… SourceFunc()), causing rsyslog to write continuously and /var/log/syslog to explode (24GB), which fills / and hard-freezes the desktop (mouse moves but clicks stop responding).

Repro steps

  • Boot and log into GNOME on X11 (Pop!_OS 22.04).
  • Ensure Pop Shell tiling is enabled.
  • Launch cosmic-store.
  • Within moments, GNOME Shell begins spamming the warning below at extremely high rate.
  • Desktop becomes unresponsive; / usage grows rapidly; /var/log/syslog grows to tens of GB.

Repro rate: happened 2/2 times so far

Expected

cosmic-store opens normally; no freeze; no runaway logging.

Actual

  • GNOME Shell spams warnings at very high rate:
Attempting to run a JS callback during garbage collection...
The offending callback was SourceFunc().
  • rsyslog writes continuously (observed ~1.7MB/s earlier).
  • /var/log/syslog grows rapidly (reached 24GB; currently still multi-GB).
  • Desktop freezes: mouse moves but cannot click/interact.

Environment

OS / Kernel

  • Pop!_OS 22.04 LTS (jammy)
  • Linux 6.17.4-76061704-generic
  • XDG_SESSION_TYPE=x11
  • GNOME Shell 42.9

Enabled extensions

Extension info

[email protected] Version: 2 State: ENABLED
[email protected] Version: 1 State: ENABLED
[email protected] Version: 71 State: ENABLED

Relevant package versions

cosmic-store 0.1.0~1766011664~22.04~a31253a
pop-shell 1.1.0~1735556688~22.04~0f7a5d1
gnome-shell 42.9-0ubuntu2.3pop0~1745963094~22.04~af56e4e
mutter (libmutter-10-0) 42.9-0ubuntu9pop0~1727960749~22.04~a024e16
rsyslog 8.2112.0-2ubuntu2.2

Logs (excerpt)

From the incident window:

Dec 23 13:14:51.451684 gnome-shell[3990]: The offending callback was SourceFunc().
Dec 23 13:14:51.451694 gnome-shell[3990]: 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.
Dec 23 13:14:51.451697 gnome-shell[3990]: The offending callback was SourceFunc().
Dec 23 13:14:51.451709 gnome-shell[3990]: Attempting to run a JS callback during garbage collection...
... (repeats extremely rapidly)

Current syslog sizes:

-rw-r----- 1 syslog adm  3.3G Dec 23 13:28 /var/log/syslog
-rw-r----- 1 syslog adm  1.9M Dec 21 00:00 /var/log/syslog.1
...

Recovery / workaround used

  • Switched to TTY (Ctrl+Alt+F3), observed / filling and rsyslog heavy writes.
  • sudo systemctl stop rsyslog
  • sudo truncate -s 0 /var/log/syslog (and removed rotated syslog/kern.log files)
  • Restarted display manager / disabled extensions to stop the loop and regain a usable session.

Notes

This appears tied to Pop Shell tiling + cosmic-store window lifecycle, since it happens immediately after launching cosmic-store with tiling enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions