linuxmint / linuxmint/cinnamon
Cinnamon crashes when renaming workspace
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
Distribution
Linux Mint 22 Cinnamon
Package version
6.2.9
Graphics hardware in use
Intel Corporation Raptor Lake-S UHD Graphics / NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile]
Frequency
Always
Bug description
Cinnamon crashes and asks if I want to restart it when I try to rename a workspace in Expo.
Steps to reproduce
CTL-ALT-uparrow to get Expo workspace switcher. Click or doubleclick on the name of the first workspace ("Workspace 1"). Cinnamon crashes and asks if I want to restart it.
.xsession-errors:
:~$ cat .xsession-errors
/usr/bin/cinnamon-launcher:82: DeprecationWarning: This process (pid=2507) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.fb_pid = os.fork()
Unable to open desktop file /usr/share/applications/mate-terminal.desktop for panel launcher: No such file or directory
Unable to open desktop file /usr/share/applications/caja-browser.desktop for panel launcher: No such file or directory
/usr/bin/cinnamon-launcher:56: DeprecationWarning: This process (pid=2507) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.cinnamon_pid = os.fork()
Gjs-Message: 19:25:02.049: Profiler is disabled. Not setting up signals.
Gjs-Message: 19:25:02.156: JS LOG: About to start Cinnamon (X11 backend)
Gjs-Message: 19:25:02.177: JS LOG: [LookingGlass/info] Cinnamon.AppSystem.get_default() started in 0 ms
Gjs-Message: 19:25:02.178: JS LOG: [LookingGlass/info] loading user theme: /usr/share/themes/Mint-X-Sand/cinnamon/cinnamon.css
Gjs-Message: 19:25:02.185: JS LOG: [LookingGlass/info] added icon directory: /usr/share/themes/Mint-X-Sand/cinnamon
Gjs-Message: 19:25:02.283: JS LOG: [LookingGlass/info] loaded at Sun Jan 05 2025 19:25:02 GMT-0500 (Eastern Standard Time)
Gjs-Message: 19:25:02.283: JS LOG: Cinnamon started at Sun Jan 05 2025 19:25:02 GMT-0500 (Eastern Standard Time)
Gjs-Message: 19:25:02.288: JS LOG: [LookingGlass/info] ExtensionSystem started in 0 ms
Gjs-Message: 19:25:02.288: JS LOG: [LookingGlass/info] DeskletManager started in 0 ms
Gjs-Message: 19:25:02.288: JS LOG: [LookingGlass/info] SearchProviderManager started in 0 ms
Gjs-Message: 19:25:02.362: JS LOG: [LookingGlass/info] Loaded applet removable-drives@cinnamon.org in 9 ms
Gjs-Message: 19:25:02.363: JS LOG: [LookingGlass/info] Role locked: tray
Gjs-Message: 19:25:02.364: JS LOG: [LookingGlass/info] Loaded applet systray@cinnamon.org in 2 ms
Gjs-Message: 19:25:02.366: JS LOG: [LookingGlass/info] Loaded applet separator@cinnamon.org in 2 ms
Gjs-Message: 19:25:02.369: JS LOG: [LookingGlass/info] Loaded applet favorites@cinnamon.org in 3 ms
Gjs-Message: 19:25:02.395: JS LOG: [LookingGlass/info] Loaded applet printers@cinnamon.org in 26 ms
Gjs-Message: 19:25:02.397: JS LOG: [LookingGlass/info] Role locked: notifications
Gjs-Message: 19:25:02.400: JS LOG: [LookingGlass/info] Loaded applet notifications@cinnamon.org in 5 ms
Gjs-Message: 19:25:02.412: JS LOG: [LookingGlass/info] Loaded applet calendar@cinnamon.org in 12 ms
Gjs-Message: 19:25:02.417: JS LOG: [LookingGlass/info] Loaded applet cornerbar@cinnamon.org in 5 ms
Gjs-Message: 19:25:02.419: JS LOG: [LookingGlass/info] Loaded applet xapp-status@cinnamon.org in 2 ms
Gjs-Message: 19:25:02.421: JS LOG: [LookingGlass/info] Loaded applet workspace-switcher@cinnamon.org in 2 ms
Gjs-Message: 19:25:02.423: JS LOG: calendar@cinnamon.org: Calendar events supported.
Gjs-Message: 19:25:02.429: JS LOG: [LookingGlass/info] Loaded applet power@cinnamon.org in 8 ms
Gjs-Message: 19:25:02.457: JS LOG: [LookingGlass/info] Role locked: panellauncher
Gjs-Message: 19:25:02.459: JS LOG: [LookingGlass/info] Loaded applet panel-launchers@cinnamon.org in 30 ms
Gjs-Message: 19:25:02.474: JS LOG: [LookingGlass/info] Role locked: windowattentionhandler
Gjs-Message: 19:25:02.475: JS LOG: [LookingGlass/info] Loaded applet grouped-window-list@cinnamon.org in 16 ms
Gjs-Message: 19:25:02.489: JS LOG: [LookingGlass/info] Loaded applet sound@cinnamon.org in 14 ms
Gjs-Message: 19:25:02.490: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: diodon (:1.59/org/x/StatusIcon/Icon_2)
Gjs-Message: 19:25:02.491: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: remmina (:1.59/org/x/StatusIcon/Icon)
Gjs-Message: 19:25:02.492: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: blueman (:1.59/org/x/StatusIcon/Icon_1)
Gjs-Message: 19:25:02.493: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: mintUpdate.py (:1.97/org/x/StatusIcon/Icon)
Gjs-Message: 19:25:02.494: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: nm-applet (:1.61/org/x/StatusIcon/Icon)
Gjs-Message: 19:25:02.495: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: nvidia-prime (:1.68/org/x/StatusIcon/Icon)
Gjs-Message: 19:25:02.496: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: mintreport (:1.101/org/x/StatusIcon/Icon)
Gjs-Message: 19:25:02.497: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: process-monitor (:1.101/org/x/StatusIcon/Icon_1)
Gjs-Message: 19:25:02.504: JS LOG: [LookingGlass/info] Hiding XAppStatusIcon (we have an applet): nm-applet (:1.61/org/x/StatusIcon/Icon)
Gjs-Message: 19:25:02.506: JS LOG: [LookingGlass/info] Loaded applet network@cinnamon.org in 17 ms
** (csd-power:2345): CRITICAL **: 19:25:02.511: abs_to_percentage: assertion 'max > min' failed
Gjs-Message: 19:25:02.554: JS LOG: [LookingGlass/info] Loaded applet menu@cinnamon.org in 48 ms
Gjs-Message: 19:25:02.554: JS LOG: [LookingGlass/info] AppletManager started in 270 ms
Gjs-Message: 19:25:02.555: JS LOG: [LookingGlass/info] Cinnamon took 399 ms to start
Gjs-Message: 19:25:02.568: JS LOG: Unknown network device type, is 32
Gjs-Message: 19:25:02.576: JS LOG: Unknown network device type, is 30
Gjs-Message: 19:25:02.594: JS LOG: [LookingGlass/info] Adding systray: input-method (26x24px)
Gjs-Message: 19:25:02.707: JS LOG: [LookingGlass/info] GPU offload supported: true
Gjs-Message: 19:25:06.064: JS LOG: Enabling WindowAttentionHandler
Expected behavior
Name becomes editable and Cinnamon doesn't crash.
Additional information
Sometimes it takes a second or two before crashing. The last time I tried it I was able to quickly type in the new name before it crashed, and the new name remained after the crash. I was able to modify the names of the other three workspaces without any problems after that.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash in Cinnamon 6.2.9 by opening Expo with Ctrl-Alt-Up and clicking or double-clicking the first workspace name. Inspect the crash output and the workspace-renaming path; done means the name becomes editable, Cinnamon remains running, and all workspaces can be renamed reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100