gnome-shell-pano icon indicating copy to clipboard operation
gnome-shell-pano copied to clipboard

Pano Causes Massive GNOME Shell Memory Leak and System Freeze on Clipboard Events (Fedora 43, GNOME 49)

Open espositofabian opened this issue 1 month ago • 4 comments

Description

What is the bug?

When enabling the Pano GNOME extension on Fedora 43 (GNOME 49, Wayland), the gnome-shell process immediately spikes from ~1.2 GB RAM to over 3.5 GB, causing system-wide sluggishness. When copying any content, the system briefly becomes unresponsive for several seconds (just the mouse is able to move).

Problem Explanation

The bug happens when Pano is enabled. As soon as it starts monitoring clipboard events, GNOME Shell's memory usage rapidly increases. Copying text worsens the issue and can freeze the entire shell temporarily.

Expected Behavior

  • Pano shouldn't cause GNOME Shell memory leaks or runaway RAM usage as it did until now.
  • Clipboard events should be handled smoothly without freezing GNOME Shell or the entire system.

Reproduction

Steps To Reproduce

  1. Enable Pano extension via Extensions Manager.
  2. Ensure Pano is monitoring clipboard content.
  3. Copy any text.
  4. Observe:
    • GNOME Shell memory spike as soon Pano as is activated.
    • Sluggish UI or temporary system freeze.

Details

It happens with any application?

  • [x] Yes, it applies to any application.

It happens only on one computer?

  • [ ] I don't know.
  • [x] Only tested on one machine (ThinkPad T480).

It happens only with some GNOME configuration?

  • [x] I don't think configuration matters.

It happens only with some specific extension installed?

  • [ ] I don't think extensions affect it.
  • [x] Possibly triggered by Pano itself.

Diagnostics

Environment

  • GNOME Shell version: 49
  • Distro: Fedora Linux 43 (Workstation Edition)
  • Kernel: 6.17.8-300.fc43.x86_64
  • Windowing system: Wayland
  • Hardware: ThinkPad T480, i7‑8650U, 32 GB RAM

Relevant Logs (GNOME Shell)

These messages repeat hundreds of times per second, strongly suggesting a loop, recursion, or mis-registered event handler:

Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
[repeats many hundreds of times]

Other relevant log entries:

[pano] [extension] extension is initialized
[pano] [extension] extension is enabled
../gobject/gsignal.c:2700: instance '0xXXXXXXXX' has no handler with id '643752'
[pano] [extension] extension is disabled
Gio.DBusError: GDBus.Error: org.freedesktop.DBus.Error.UnknownObject:
No such object path '/MenuBar'

DNF Packages Updated Before Issue Started

libinput 1.30
python3-anyio 4.11.0
python3-boto3 1.41.3
python3-botocore 1.41.3
python3-s3transfer 0.15.0

...

Pano Configuration

[/]
history-length=50
item-size=480
play-audio-on-copy=false
send-notification-on-copy=false
wiggle-indicator=false
window-background-color='rgba(0,0,0,0.72)'
window-position=uint32 1

Please let me know if I can provide any additional information or help with troubleshooting. Thanks again for all your work — Pano is an amazing extension, easily the best clipboard manager out there.

espositofabian avatar Nov 28 '25 08:11 espositofabian

Same issue here, using Debian 13 with GNOME and X11.

Here are my logs:

Dez 18 15:12:49 DEBIAN-PC pipewire[2086]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-44) suspended -> error (Start error: Operation not supported)
Dez 18 15:12:49 DEBIAN-PC pipewire[2086]: pw.link: 0x55bca52b36f0: one of the nodes is in error out:suspended in:error
Dez 18 15:12:49 DEBIAN-PC pipewire[2086]: pw.link: 0x55bca536b470: one of the nodes is in error out:suspended in:error
Dez 18 15:12:54 DEBIAN-PC pipewire[2086]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-44) suspended -> error ((null))
Dez 18 15:12:54 DEBIAN-PC pipewire[2086]: pw.link: 0x55bca56546f0: one of the nodes is in error out:idle in:error
Dez 18 15:12:54 DEBIAN-PC pipewire[2086]: pw.link: 0x55bca56f77f0: one of the nodes is in error out:idle in:error
Dez 18 15:13:19 DEBIAN-PC gnome-shell[7192]: [pano] [shell-utils] failed to play audio: GSound.Error: IO error
Dez 18 15:13:28 DEBIAN-PC gnome-shell[7192]: Source ID 20959 was not found when attempting to remove it
Dez 18 15:13:28 DEBIAN-PC gnome-shell[7192]: Object St.Button (0x5596f0d76740), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                             #1   7ffdeb5a8df0 b   file:///home/veud/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/libs/shared/maid.js:65 (1a772eb9c510 @ 353)
                                             #2   5596ebd49790 i   file:///home/veud/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/libs/shell/feature.js:83 (1a772eb9c0b0 @ 75)
                                             #3   5596ebd496b8 i   file:///home/veud/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/extension.js:34 (1a772eb25ab0 @ 225)
                                             #4   7ffdeb5a9930 b   resource:///org/gnome/shell/ui/extensionSystem.js:217 (34e8033e8c40 @ 523)
                                             #5   7ffdeb5a9a20 b   resource:///org/gnome/shell/ui/extensionSystem.js:594 (34e8033f1420 @ 627)
Dez 18 15:13:28 DEBIAN-PC gnome-shell[7192]: ../../../gobject/gsignal.c:2699: instance '0x5596f0d76740' has no handler with id '190987'
Dez 18 15:13:28 DEBIAN-PC gnome-shell[7192]: ../../../gobject/gsignal.c:2699: instance '0x5596ebd53450' has no handler with id '190467'
Dez 18 15:13:28 DEBIAN-PC gnome-shell[7192]: [pano] [extension] extension is disabled
Dez 18 15:13:28 DEBIAN-PC gnome-shell[7192]: clutter_actor_destroy: assertion 'CLUTTER_IS_ACTOR (self)' failed
Dez 18 15:13:30 DEBIAN-PC pipewire[2086]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-44) suspended -> error (Start error: Operation not supported)
Dez 18 15:13:35 DEBIAN-PC pipewire[2086]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-44) suspended -> error ((null))
Dez 18 15:13:35 DEBIAN-PC pipewire[2086]: pw.link: 0x55bca56546f0: one of the nodes is in error out:idle in:error
Dez 18 15:13:35 DEBIAN-PC pipewire[2086]: pw.link: 0x55bca56f77f0: one of the nodes is in error out:idle in:error

veudal avatar Dec 18 '25 14:12 veudal

Can confirm that the system freezes on clipboard events. Am on Gnome 49 Wayland currently but the issue was steadily getting worse since the https://github.com/oae/gnome-shell-pano/releases/tag/v23-alpha5 release and now my system freezes for 2-4 seconds when copying text.

tinkerlevu avatar Dec 20 '25 01:12 tinkerlevu

Current workaround is to disable sound on copy. The playback seems to cause the freeze.

veudal avatar Dec 20 '25 06:12 veudal

Ah I've already disabled those options a while ago before the freezes started

I've also disabled the indicators now and I'll see how it goes

Image

It's not actually lagging atm, not sure why but the freezing seems occur or go away for long periods of time at random

tinkerlevu avatar Dec 20 '25 14:12 tinkerlevu