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

Cinnamon CRASHES when disconnecting a second display #12558

Open
sonicSMASH opened this issue Dec 6, 2024 · 5 comments
Open

Cinnamon CRASHES when disconnecting a second display #12558

sonicSMASH opened this issue Dec 6, 2024 · 5 comments
Labels

Comments

@sonicSMASH
Copy link

sonicSMASH commented Dec 6, 2024

Distribution

Mint 22 Cinnamon

Package version

6.2.9

Graphics hardware in use

Intel 4th Gen Core Processor Integrated Graphics

Frequency

Always

Bug description

Cinnamon Crashes.

Steps to reproduce

The Cinnamon desktop will crash when all of the following conditions are true:

A: The second monitor is unplugged from the VGA port
B: Cinnamon is reloaded
C: There is a panel on the second display

On a side note, the panel on the second display does not appear until cinnamon is reloaded. When there is no panel, the cable can be removed without cinnamon crashing.

Expected behavior

It should not have to crash.

Additional information

No response

@sonicSMASH sonicSMASH added the BUG label Dec 6, 2024
@clefebvre
Copy link
Member

Can you provide a crash trace? This should be available in your ~/.xsession-errors

@sonicSMASH
Copy link
Author

Here are some more details: i found that it doesn't crash if the panel on the second display has absolutely no applets on it, but once i add the grouped window list to that panel, the crash will happen on screen disconnect.

@sonicSMASH
Copy link
Author

Gjs-Message: 14:52:46.767: JS LOG: [LookingGlass/info] [weather@mockturtl#62:Info]: Weather Information refreshed
Gjs-Message: 14:52:47.585: JS LOG: Enabling WindowAttentionHandler
Gjs-Message: 14:52:48.847: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: sticky (:1.307/org/x/StatusIcon/Icon)
blueman-applet 14.52.53 WARNING PluginManager:150 __load_plugin: Not loading PPPSupport because its conflict has higher priority
blueman-applet 14.52.53 WARNING PluginManager:150 __load_plugin: Not loading DhcpClient because its conflict has higher priority

** (csd-color:7753): WARNING **: 14:53:03.191: failed to reset xrandr-Acer Technologies-V176L-LZFAA0038520 gamma tables: gamma size is zero
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1394: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1778: DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:817: DeprecationWarning: Gdk.threads_leave is deprecated
Gdk.threads_leave()
Gjs-Message: 14:53:04.352: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: mintUpdate.py (:1.312/org/x/StatusIcon/Icon)
blueman-applet 14.53.18 WARNING DiscvManager:122 update_menuitems: warning: Adapter is None
Window manager warning: switch-monitor - Overwriting existing binding of keysym 1008ff59 with keysym 1008ff59 (keycode eb).
Gjs-Message: 14:53:20.320: JS LOG: [LookingGlass/warning] [Applet] No panel found for 66
Gjs-Message: 14:53:20.374: JS LOG: [LookingGlass/info] Multiple panels with same ID (2) are found
Window manager warning: switch-monitor - Overwriting existing binding of keysym 1008ff59 with keysym 1008ff59 (keycode eb).

(cinnamon:7857): St-CRITICAL **: 14:53:23.781: st_widget_get_theme_node called on the widget [0x62f9a882ad90 StIcon] which is not in the stage.

(cinnamon:7857): Clutter-CRITICAL **: 14:53:23.781: clutter_actor_iter_next: assertion 'ri->age == ri->root->priv->age' failed

(cinnamon:7857): St-CRITICAL **: 14:53:23.830: st_widget_get_theme_node called on the widget [0x62f9a98feca0 StIcon] which is not in the stage.

(cinnamon:7857): Clutter-CRITICAL **: 14:53:23.830: clutter_actor_iter_next: assertion 'ri->age == ri->root->priv->age' failed

(cinnamon:7857): St-CRITICAL **: 14:53:23.882: st_widget_get_theme_node called on the widget [0x62f9a9202550 StIcon] which is not in the stage.

(cinnamon:7857): Clutter-CRITICAL **: 14:53:23.882: clutter_actor_iter_next: assertion 'ri->age == ri->root->priv->age' failed
Gjs-Message: 14:53:25.584: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: mintreport (:1.317/org/x/StatusIcon/Icon)
Gjs-Message: 14:53:25.588: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: process-monitor (:1.317/org/x/StatusIcon/Icon_1)
/usr/bin/cinnamon-launcher:82: DeprecationWarning: This process (pid=7847) 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

@fredcw
Copy link
Contributor

fredcw commented Dec 21, 2024

Are you unplugging the monitor while the computer is switched on or switched off?

Can you explain step by step?

@sonicSMASH
Copy link
Author

  1. I have the 2nd monitor plugged in.
  2. I have a panel with grouped window list on the 1st display and a panel with grouped window list on the 2nd display.
  3. I unplug the 2nd monitor.
  4. It crashes

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

3 participants