Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update to 6.4.6 constant freezes and crashes #12716

Open
zolstarym opened this issue Feb 5, 2025 · 8 comments
Open

After update to 6.4.6 constant freezes and crashes #12716

zolstarym opened this issue Feb 5, 2025 · 8 comments
Labels

Comments

@zolstarym
Copy link

Distribution

Mint 22.1

Package version

luke@spock:~$ cinnamon --version Cinnamon 6.4.6

Graphics hardware in use

Nvidia 3050, 565.77

Frequency

Quite often

Bug description

After upgrading to mint 22.1, there are constant freezes and crashes happening with cinnamon. Sometimes it takes hours to start happening from a --replace command, other times a dozen minutes. I have tried resetting cinnamon settings using looking glass, and making sure no other applets are installed, but bug still occurs.
Sometimes when switching workspaces the windows of all of both of the workspaces will appear on each workspace, and I will have to use the command cinnamon --replace to fix it, but it will start happening again, but otherwise I don't know what in particular causes it.

Steps to reproduce

Just using the system normally, or using the corner bar to switch workplace can also cause bugs
Resuming from suspend will cause micro stutters every minute or so until I cinnamon --replace, but that seems unrelated to the long freezes and crashes.

Expected behavior

n/a

Additional information

Here is crash log from system report I found: https://pastebin.com/uXKevBR8

I looked through the terminal logs and here are some errors that I picked out. They are repeated 100s of times so I can't post them all.

(cinnamon:1728824): Gjs-CRITICAL **: 22:08:52.791: Object .Gjs_ui_workspaceOsd_WorkspaceOsd (0x5e61107afed0), 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.
== Stack trace for context 0x5e6106c85420 ==
#0 5e6107e12970 i /usr/share/cinnamon/js/ui/environment.js:154 (16b55e35e1a0 @ 605)
#1 5e6107e128d8 i /usr/share/cinnamon/js/ui/environment.js:360 (3f9749f7c9c0 @ 23)
#2 5e6107e12848 i /usr/share/cinnamon/js/ui/workspaceOsd.js:124 (1aba8e50bf60 @ 108)

(cinnamon:1728824): Gjs-CRITICAL **: 22:08:52.791: Object .Gjs_ui_workspaceOsd_WorkspaceOsd (0x5e61107afed0), 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.
== Stack trace for context 0x5e6106c85420 ==
#0 5e6107e12a38 i /usr/share/cinnamon/js/ui/environment.js:156 (3f9749f7c150 @ 15)
#1 7fff1fbe2ed0 b self-hosted:221 (16b55e39a600 @ 267)
#2 5e6107e12970 i /usr/share/cinnamon/js/ui/environment.js:156 (16b55e35e1a0 @ 625)
#3 5e6107e128d8 i /usr/share/cinnamon/js/ui/environment.js:360 (3f9749f7c9c0 @ 23)
#4 5e6107e12848 i /usr/share/cinnamon/js/ui/workspaceOsd.js:124 (1aba8e50bf60 @ 108)

(cinnamon:1275774): Gjs-CRITICAL **: 15:44:34.050: JS ERROR: Error: Invalid value 'undefined' for property icon-size in object initializer.
_init@/usr/share/cinnamon/js/ui/overrides.js:33:22
setIcon@/usr/share/cinnamon/applets/[email protected]/applet.js:775:13
_refreshItem@/usr/share/cinnamon/applets/[email protected]/applet.js:1249:20
_refreshItemByMetaWindow@/usr/share/cinnamon/applets/[email protected]/applet.js:1174:18
_onWindowAppChanged@/usr/share/cinnamon/applets/[email protected]/applet.js:1182:14
start/<@/usr/share/cinnamon/js/ui/main.js:473:16

(cinnamon:1275774): Gjs-CRITICAL **: 15:44:34.063: JS ERROR: Error: Invalid value 'undefined' for property icon-size in object initializer.
_init@/usr/share/cinnamon/js/ui/overrides.js:33:22
setIcon@/usr/share/cinnamon/applets/[email protected]/applet.js:775:13
_refreshItem@/usr/share/cinnamon/applets/[email protected]/applet.js:1249:20
_refreshItemByMetaWindow@/usr/share/cinnamon/applets/[email protected]/applet.js:1174:18
_onWindowAppChanged@/usr/share/cinnamon/applets/[email protected]/applet.js:1182:14
start/<@/usr/share/cinnamon/js/ui/main.js:473:16

(cinnamon:1275774): Gjs-CRITICAL **: 15:44:34.067: JS ERROR: Error: Invalid value 'undefined' for property icon-size in object initializer.
_init@/usr/share/cinnamon/js/ui/overrides.js:33:22
setIcon@/usr/share/cinnamon/applets/[email protected]/applet.js:775:13
_refreshItem@/usr/share/cinnamon/applets/[email protected]/applet.js:1249:20
_refreshItemByMetaWindow@/usr/share/cinnamon/applets/[email protected]/applet.js:1174:18
_onWindowAppChanged@/usr/share/cinnamon/applets/[email protected]/applet.js:1182:14
start/<@/usr/share/cinnamon/js/ui/main.js:473:16

(cinnamon:790300): Clutter-CRITICAL **: 09:03:47.975: clutter_layout_manager_get_child_meta: assertion 'CLUTTER_IS_LAYOUT_MANAGER (manager)' failed

(cinnamon:790300): GLib-GObject-CRITICAL **: 09:03:47.975: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(cinnamon:790300): GLib-GObject-CRITICAL **: 09:03:47.975: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(cinnamon:790300): Clutter-CRITICAL **: 09:03:47.975: clutter_layout_manager_get_child_meta: assertion 'CLUTTER_IS_LAYOUT_MANAGER (manager)' failed

(cinnamon:790300): GLib-GObject-CRITICAL **: 09:03:47.975: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(cinnamon:790300): GLib-GObject-CRITICAL **: 09:03:47.975: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(cinnamon:790300): Gjs-CRITICAL **: 09:03:28.606: JS ERROR: TypeError: this._workspaceOsds[index] is undefined
_showWorkspaceOSDForMonitor@/usr/share/cinnamon/js/ui/windowManager.js:1335:9
showWorkspaceOSD@/usr/share/cinnamon/js/ui/windowManager.js:1318:26
_switchWorkspace@/usr/share/cinnamon/js/ui/windowManager.js:1147:14
WindowManager/<@/usr/share/cinnamon/js/ui/windowManager.js:362:80
moveToWorkspace@/usr/share/cinnamon/js/ui/windowManager.js:1387:27
actionMoveWorkspaceLeft@/usr/share/cinnamon/js/ui/windowManager.js:1416:18
hook@/usr/share/cinnamon/applets/[email protected]/applet.js:398:25

(cinnamon:790300): Gjs-CRITICAL **: 09:03:47.978: JS ERROR: TypeError: this._workspaceOsds[index] is undefined
_showWorkspaceOSDForMonitor@/usr/share/cinnamon/js/ui/windowManager.js:1335:9
showWorkspaceOSD@/usr/share/cinnamon/js/ui/windowManager.js:1318:26 _switchWorkspace@/usr/share/cinnamon/js/ui/windowManager.js:1147:14
WindowManager/<@/usr/share/cinnamon/js/ui/windowManager.js:362:80
moveToWorkspace@/usr/share/cinnamon/js/ui/windowManager.js:1387:27
actionMoveWorkspaceRight@/usr/share/cinnamon/js/ui/windowManager.js:1424:18
hook@/usr/share/cinnamon/applets/[email protected]/applet.js:400:25

@zolstarym zolstarym added the BUG label Feb 5, 2025
@Fantu
Copy link
Contributor

Fantu commented Feb 5, 2025

From a fast look one of the bug of the logs posted seems was solved in c451c0d
But I don't know if will solve also (or all) your crash case.

@henriquedesousa
Copy link

Ah yes, I knew I wasn't the only one. Since I'm using this machine with Mint for more than 6 years (CPU: dual core Intel Core i5-6300U (-MT MCP-) speed/min/max: 2903/400/3000 MHz Kernel: 6.8.0-52-generic x86_64 Up: 11m Mem: 3.06/15.51 GiB(19.7%)) so I noticed immediately that cinnamon was behaving after the 22.1 upgrade. Today I also had the first crash, I had just login and was updating packages on Update Manager and tried to Alt+Tab when this crash happened: https://termbin.com/47nw

Should I open a new thread?

@Fantu
Copy link
Contributor

Fantu commented Feb 5, 2025

To make backtrace of crash useful debug packages of all components involved should be installed.
Can be faster/easier use debuginfod, but I think will work only with Ubuntu packages and not the mint specific one (that will require manual installation of needed debug packages.

@LinuxLover9
Copy link

I also have these frequent crashes while running:

LMDE 6 Faye 

Distributor ID:	Linuxmint
Description:	LMDE 6 (faye)
Release:	6
Codename:	faye
Linux tp-t16 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux
System:
  Kernel: 6.1.0-30-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: Cinnamon v: 6.4.6 tk: GTK v: 3.24.38 info: mate-panel wm: Metacity
    v: 3.46.1 dm: LightDM v: 1.26.0 Distro: LMDE 6 Faye
    base: Debian 12.1 bookworm
Machine:
  Type: Laptop System: LENOVO product: 21K7CTO1WW v: ThinkPad T16 Gen 2
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21K7CTO1WW serial: <superuser required> UEFI: LENOVO
    v: R2FET59W (1.39 ) date: 09/05/2024
Battery:
  ID-1: BAT0 charge: 28.8 Wh (54.3%) condition: 53.0/52.5 Wh (101.0%)
    volts: 15.1 min: 15.5 model: Sunwoda 5B11M90036 type: Li-poly
    serial: <filter> status: discharging cycles: 64
CPU:
  Info: 8-core model: AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB
    L3: 16 MiB
  Speed (MHz): avg: 1803 high: 3300 min/max: 1600/6677 boost: enabled cores:
    1: 1600 2: 1600 3: 1600 4: 1661 5: 3300 6: 1600 7: 1600 8: 1600 9: 1600
    10: 1600 11: 1600 12: 1600 13: 1397 14: 1600 15: 1600 16: 3300
    bogomips: 105402
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Phoenix1 vendor: Lenovo driver: amdgpu v: kernel arch: RDNA-3
    pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2,
    DP-3, DP-4, DP-5, DP-6, HDMI-A-1 bus-ID: 64:00.0 chip-ID: 1002:15bf
    class-ID: 0300 temp: 27.0 C
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-1:2 chip-ID: 04f2:b761 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
    s-diag: 599mm (23.57")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1614 res: 1920x1200
    hz: 60 dpi: 142 size: 344x215mm (13.54x8.46") diag: 406mm (16") modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (gfx1103_r1
    LLVM 15.0.6 DRM 3.49 6.1.0-30-amd64) direct-render: Yes
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 64:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    pcie: speed: 16 GT/s lanes: 16 bus-ID: 64:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 64:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.1.0-30-amd64 status: kernel-api
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo RTL8111/8168/8211/8411 driver: r8169 v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: 6000 bus-ID: 01:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp1s0f0 state: down mac: <filter>
  Device-2: Qualcomm QCNFA765 Wireless Network Adapter vendor: Lenovo
    driver: ath11k_pci v: kernel pcie: speed: 8 GT/s lanes: 1 bus-ID: 02:00.0
    chip-ID: 17cb:1103 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: USI type: USB driver: btusb v: 0.8 bus-ID: 1-3.1:5
    chip-ID: 10ab:9309 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 73.37 GiB (7.7%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HDLU-00BLL
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 6L2QGXD7 temp: 29.9 C scheme: GPT
Partition:
  ID-1: / size: 95.56 GiB used: 13.27 GiB (13.9%) fs: ext4 dev: /dev/nvme0n1p7
  ID-2: /boot/efi size: 9.76 GiB used: 99.2 MiB (1.0%) fs: vfat
    dev: /dev/nvme0n1p4
  ID-3: /home size: 629.71 GiB used: 60 GiB (9.5%) fs: ext4
    dev: /dev/nvme0n1p6
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A gpu: amdgpu temp: 28.0 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 0
Repos:
  Packages: 3041 pm: dpkg pkgs: 3017 pm: flatpak pkgs: 24
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://mirror.csclub.uwaterloo.ca/linuxmint-packages faye main upstream import backport
    2: deb http://debian-archive.trafficmanager.net/debian bookworm main contrib non-free non-free-firmware
    3: deb http://debian-archive.trafficmanager.net/debian bookworm-updates main contrib non-free non-free-firmware
    4: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
    5: deb http://debian-archive.trafficmanager.net/debian bookworm-backports main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main
Info:
  Processes: 351 Uptime: 14m wakeups: 432 Memory: 30.01 GiB
  used: 2.12 GiB (7.1%) Init: systemd v: 252 target: graphical (5)
  default: graphical Compilers: gcc: 12.2.0 alt: 12 Shell: Bash v: 5.2.15
  running-in: konsole inxi: 3.3.26

What info can I provide to help with this issue? I tried installing debuginfod, but am unclear how to extract info from it?

Thanks.

@zolstarym
Copy link
Author

I also have these frequent crashes while running:

What info can I provide to help with this issue? I tried installing debuginfod, but am unclear how to extract info from it?

Thanks.

In ~/.xsession-errors is where cinnamon errors are logged, apparently. There should be some info in that.

@Fantu
Copy link
Contributor

Fantu commented Feb 6, 2025

In ~/.xsession-errors there are errors/warning only related to some cases, in case of crash in major of cases is needed a backtrace decoded to found the cause.
debuginfod help to download all debug files needed by a specific backtrace, firstly you need to have a core dump of the crash (for example the one linked by @henriquedesousa ), and it seems to me that mint is set to create them if I remember correctly.
Then having the core dump it opens with gdb by first setting debuginfod as specified in the link.
For mint specific packages I guess it doesn't work and you will need to manually download additional debug packages if you find undecoded symbols (I've never used it on Mint)

@zolstarym
Copy link
Author

Could any of the errors be related to Nvidia drivers, or the experimental fractional scaling setting in display?

@LinuxLover9
Copy link

In ~/.xsession-errors is where cinnamon errors are logged, apparently. There should be some info in that.

Here is the .xsession-errors file:

Thank you for your time to look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants