material-shell icon indicating copy to clipboard operation
material-shell copied to clipboard

Crashes on Gnome 42

Open lizfeed opened this issue 3 years ago • 14 comments

Describe the bug Crashes when moving windows on Gnome 42

Expected behavior It doesn't happen constantly, I haven't quite figured out what the exact trigger is.

Screenshots If applicable, add screenshots to help explain your problem.

To Reproduce

  • Occurs on:
    • [ ] X.Org
    • [x] Wayland
  • GNOME Shell version: GNOME Shell 42.0
  • Distro: Ubuntu 22.04
  • Steps to reproduce, if applicable:
  1. Step 1
  2. Step 2
  3. ???
  4. Bug

Current commit Output from git rev-parse --short HEAD: 0da3e7e
Log data Output from journalctl /usr/bin/gnome-shell:

May 23 09:50:44 lio gnome-shell[3829]: Focus Protected, restore focus to , [0x5643d7395840 Gjs_ui_altTab_WindowSwitcherPopup.switcher-popup:last-child ("Emacs mono:magit: mono")]
May 23 09:50:44 lio gnome-shell[3829]: Focus Protected, restore focus to , [0x5643d7395840 Gjs_ui_altTab_WindowSwitcherPopup.switcher-popup:last-child ("Emacs mono:magit: mono")]
May 23 09:50:44 lio gnome-shell[3829]: Window manager warning: Ping serial 7723717 was reused for window W6, previous use was for window W8.
May 23 09:50:44 lio gnome-shell[3829]: Focus Protected, restore focus to , [0x5643d7395840 Gjs_ui_altTab_WindowSwitcherPopup.switcher-popup:last-child ("Emacs mono:magit: mono")]
May 23 09:50:44 lio gnome-shell[3829]: Timelines with detached actors are not supported. <unnamed>[<ClutterActor>:0x5643d786d900] in animation of duration 250ms but not on stage.
May 23 09:50:44 lio gnome-shell[3829]: Timelines with detached actors are not supported. <unnamed>[<TaskActiveIndicator>:0x5643d641cde0] in animation of duration 250ms but not on stage.
May 23 09:50:44 lio gnome-shell[3829]: Timelines with detached actors are not supported. <unnamed>[<TaskActiveIndicator>:0x5643d641cde0] in animation of duration 250ms but not on stage.
May 23 09:50:54 lio gnome-shell[3829]: Can't update stage views actor <unnamed>[<ClutterActor>:0x5643d3b26cb0] is on because it needs an allocation.
May 23 09:50:56 lio gnome-shell[3829]: Timelines with detached actors are not supported. <unnamed>[<Gjs_material-shell_papyelgringo_extension_RippleWave>:0x5643d4b7c420] in animation of duration 7533ms but not on stage.
May 23 09:50:56 lio gnome-shell[3829]: Timelines with detached actors are not supported. <unnamed>[<Gjs_material-shell_papyelgringo_extension_RippleWave>:0x5643d4b7c420] in animation of duration 7533ms but not on stage.
May 23 09:50:56 lio gnome-shell[3829]: Timelines with detached actors are not supported. <unnamed>[<Gjs_material-shell_papyelgringo_extension_RippleWave>:0x5643d4b7c420] in animation of duration 800ms but not on stage.
May 23 09:50:56 lio gnome-shell[3829]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
May 23 09:50:56 lio gnome-shell[3829]: Attempting to remove actor of type 'MsWindow' from group of class 'ClutterActor', but the container is not the actor's parent.
May 23 09:50:56 lio gnome-shell[3829]: Attempting to remove actor of type 'MsWindow' from group of class 'ClutterActor', but the container is not the actor's parent.
May 23 09:50:56 lio gnome-shell[3829]: Attempting to remove actor of type 'MsWindow' from group of class 'ClutterActor', but the container is not the actor's parent.
May 23 09:50:56 lio gnome-shell[3829]: **
May 23 09:50:56 lio gnome-shell[3829]: St:ERROR:../src/st/st-bin.c:206:st_bin_destroy: assertion failed: (priv->child == NULL)
May 23 09:50:56 lio gnome-shell[3829]: Bail out! St:ERROR:../src/st/st-bin.c:206:st_bin_destroy: assertion failed: (priv->child == NULL)
May 23 09:50:56 lio gnome-shell[3829]: GNOME Shell crashed with signal 6
May 23 09:50:56 lio gnome-shell[3829]: == Stack trace for context 0x5643d34234a0 ==
May 23 09:50:56 lio gnome-shell[3829]: #0   5643d46e0948 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:8471 (134352286ab0 @ 110)
May 23 09:50:56 lio gnome-shell[3829]: #1   5643d46e08a0 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9175 (134352288830 @ 114)
May 23 09:50:56 lio gnome-shell[3829]: #2   5643d46e0818 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:8962 (134352287dd0 @ 16)
May 23 09:50:56 lio gnome-shell[3829]: #3   7ffca3b5f740 b   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:8933 (134352287c40 @ 1282)
May 23 09:50:56 lio gnome-shell[3829]: #4   7ffca3b5f800 b   self-hosted:1181 (a5babbb0a10 @ 398)

lizfeed avatar May 23 '22 17:05 lizfeed

$ git rev-parse HEAD
1835de97aca18169f47c311dbf97f89c887d9988
Jun 07 12:36:41 lio gnome-shell[430622]: Meta window: firefox-beta-432535-4 title='Mozilla Firefox' dialog=false
Jun 07 12:36:41 lio gnome-shell[430622]: Meta window: firefox-beta-432535-3 title='https://app.slack.com - Slack | infra-den | BuzzFeed | 10 new items — Mozilla Firefox' dialog=false
Jun 07 12:36:41 lio gnome-shell[430622]: MSWindow: {"appId":"gnome-control-center.desktop"}
Jun 07 12:36:41 lio gnome-shell[430622]: MSWindow: {"appId":"firefox_firefox.desktop"}
Jun 07 12:36:41 lio gnome-shell[430622]: Associating firefox-beta-432535-4 with firefox_firefox.desktop-app-placeholder
Jun 07 12:37:45 lio gnome-shell[430622]: Object Clutter.Actor (0x5655304d15f0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something su>
Jun 07 12:37:45 lio gnome-shell[430622]: == Stack trace for context 0x56552c6d5490 ==
Jun 07 12:37:45 lio gnome-shell[430622]: #0   56552de92378 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:6339 (e431b488600 @ 41)
Jun 07 12:37:45 lio gnome-shell[430622]: #1   56552de922b8 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9223 (e431b48ece0 @ 70)
Jun 07 12:37:45 lio gnome-shell[430622]: #2   56552de92218 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9218 (e431b48ebf0 @ 308)
Jun 07 12:37:45 lio gnome-shell[430622]: #3   56552de92188 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:7517 (e431b48b650 @ 43)
Jun 07 12:37:45 lio gnome-shell[430622]: Failed to disconnect signal 11 from [object Object] MsWorkspace [object Object]  
Jun 07 12:37:45 lio gnome-shell[430622]: Failed to disconnect signal 12 from [object Object] MsWorkspace [object Object]  
Jun 07 12:37:45 lio gnome-shell[430622]: ../../../gobject/gsignal.c:2731: instance '0x56552c92e0c0' has no handler with id '76852'
Jun 07 12:43:45 lio gnome-shell[430622]: libinput error: client bug: timer event9 debounce short: scheduled expiry is in the past (-26ms), your system is too slow
Jun 07 12:43:55 lio gnome-shell[430622]: Focus Protected, restore focus to , [0x5655341c9f30 ClutterText ("")]
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<MsMain>:0x56552f823fb0] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<PrimaryMonitorContainer>:0x56552f8263f0] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<StWidget>:0x56552f828c30] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<TranslationAnimator>:0x56552f7a1910] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<ClutterActor>:0x56552f7a1c30] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<MsWorkspaceActor>:0x56552fb17f90] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<ClutterActor>:0x56552f9ad5e0] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<MsApplicationLauncher>:0x56552ce44110] is on because it needs an allocation.
Jun 07 12:43:55 lio gnome-shell[430622]: Can't update stage views actor <unnamed>[<Gjs_material-shell_papyelgringo_extension_MsApplicationButtonContainer>:0x5655307885d0] is on because it needs an allocation.
Jun 07 12:43:56 lio gnome-shell[430622]: Meta window: firefox-beta-432535-4 title='buzzfeed/r53_zonedump: This repo exists as a backup of Route53 zones from the rig, unstable, legacy, and central-dns AWS accounts. Backup>
Jun 07 12:43:56 lio gnome-shell[430622]: Meta window: firefox-beta-432535-3 title='https://app.slack.com - Slack | infra-den | BuzzFeed | 10 new items — Mozilla Firefox' dialog=false
Jun 07 12:43:56 lio gnome-shell[430622]: Meta window: gnome-terminal-server-434388-10 title='Terminal' dialog=false
Jun 07 12:43:56 lio gnome-shell[430622]: MSWindow: {"appId":"gnome-control-center.desktop"}
Jun 07 12:43:56 lio gnome-shell[430622]: MSWindow: {"appId":"org.gnome.Terminal.desktop"}
Jun 07 12:43:56 lio gnome-shell[430622]: Associating gnome-terminal-server-434388-10 with org.gnome.Terminal.desktop-app-placeholder
Jun 07 12:44:13 lio gnome-shell[430622]: Window manager warning: Ping serial 496012917 was reused for window W2, previous use was for window W3.
Jun 07 12:44:13 lio gnome-shell[430622]: **
Jun 07 12:44:13 lio gnome-shell[430622]: St:ERROR:../src/st/st-bin.c:206:st_bin_destroy: assertion failed: (priv->child == NULL)
Jun 07 12:44:13 lio gnome-shell[430622]: Bail out! St:ERROR:../src/st/st-bin.c:206:st_bin_destroy: assertion failed: (priv->child == NULL)
Jun 07 12:44:13 lio gnome-shell[430622]: GNOME Shell crashed with signal 6
Jun 07 12:44:13 lio gnome-shell[430622]: == Stack trace for context 0x56552c6d5490 ==
Jun 07 12:44:13 lio gnome-shell[430622]: #0   56552c7f8408 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:8980 (e431b48e240 @ 110)
Jun 07 12:44:13 lio gnome-shell[430622]: #1   56552c7f8360 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9659 (e431b48fdd0 @ 114)
Jun 07 12:44:13 lio gnome-shell[430622]: #2   56552c7f82d8 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9447 (e431b48f3d0 @ 16)
Jun 07 12:44:13 lio gnome-shell[430622]: #3   7ffe329d6570 b   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9418 (e431b48f240 @ 1282)
Jun 07 12:44:13 lio gnome-shell[430622]: #4   56552c7f8168 i   /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9671 (e431b48fe70 @ 17)

lizfeed avatar Jun 07 '22 19:06 lizfeed

Hi

A bunch of crashes have been fixed recently. Would you mind trying again?

HalfVoxel avatar Jun 16 '22 09:06 HalfVoxel

It seems to break even on the latest branch

NrdyBhu1 avatar Jun 20 '22 14:06 NrdyBhu1

@NrdyBhu1 Do you have any error logs?

HalfVoxel avatar Jun 20 '22 14:06 HalfVoxel

I'm new to nixos, so not sure how to get logs, but with journalctl it shows no logs for gnome-shell

NrdyBhu1 avatar Jun 20 '22 14:06 NrdyBhu1

@HalfVoxel , although I didn't get any logs from journalctl, I tried logging in to gnome-shell through xterm session, it shows this IMG_20220621_102522 IMG_20220621_102657

Current commit: Output from git rev-parse --short HEAD: deafca5

But it completely works when I disable the material-shell extension. BTW gnome-shell-extension-tool -> gnome-extensions -e|-d -> enable|disable on latest gnome

NrdyBhu1 avatar Jun 21 '22 04:06 NrdyBhu1

Another crash here too:

`` Jun 23 09:22:20 lio gnome-shell[4044]: ** Jun 23 09:22:20 lio gnome-shell[4044]: Clutter:ERROR:../clutter/clutter/clutter-actor.c:2073:clutter_actor_real_unrealize: assertion failed: (!CLUTTER_ACTOR_IS_MAPPED (self)) Jun 23 09:22:20 lio gnome-shell[4044]: Bail out! Clutter:ERROR:../clutter/clutter/clutter-actor.c:2073:clutter_actor_real_unrealize: assertion failed: (!CLUTTER_ACTOR_IS_MAPPED (self> Jun 23 09:22:20 lio gnome-shell[4044]: GNOME Shell crashed with signal 6 Jun 23 09:22:20 lio gnome-shell[4044]: == Stack trace for context 0x5610a7950490 == Jun 23 09:22:20 lio gnome-shell[4044]: #0 5610b087b428 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:1043 (7963f77e0b0 @ 334) Jun 23 09:22:20 lio gnome-shell[4044]: #1 5610b087b330 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:5051 (7963f7864c0 @ 698) Jun 23 09:22:20 lio gnome-shell[4044]: #2 5610b087b280 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:6848 (7963f78a9c0 @ 404) Jun 23 09:22:20 lio gnome-shell[4044]: #3 5610b087b1e8 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:6805 (7963f78a830 @ 115) Jun 23 09:22:20 lio gnome-shell[4044]: #4 5610b087b158 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:5934 (7963f7886f0 @ 18) Jun 23 09:22:20 lio gnome-shell[4044]: #5 7fff26fd76a0 b resource:///org/gnome/gjs/modules/core/_signals.js:114 (27147d2d3920 @ 433) Jun 23 09:22:20 lio gnome-shell[4044]: #6 5610b087b098 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9260 (7963f78fc90 @ 357) Jun 23 09:22:20 lio gnome-shell[4044]: #7 5610b087aff0 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9500 (7963f790420 @ 55) Jun 23 09:22:20 lio gnome-shell[4044]: #8 7fff26fd8310 b resource:///org/gnome/gjs/modules/core/_signals.js:114 (27147d2d3920 @ 433) Jun 23 09:22:20 lio gnome-shell[4044]: #9 5610b087af58 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:7917 (7963f78d330 @ 68) Jun 23 09:22:20 lio gnome-shell[4044]: #10 5610b087aeb8 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:7911 (7963f78d2e0 @ 135) Jun 23 09:22:20 lio gnome-shell[4044]: #11 7fff26fd8f60 b self-hosted:1181 (27147d2b0a10 @ 454) Jun 23 09:22:20 lio gnome-shell[4044]: #12 5610b087ae18 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:6778 (7963f78a6f0 @ 132) Jun 23 09:22:20 lio gnome-shell[4044]: #13 5610b087ad88 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:6852 (7963f78ab00 @ 57) Jun 23 09:22:20 lio gnome-shell[4044]: #14 5610b087ad08 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:6767 (7963f78a600 @ 12) Jun 23 09:22:20 lio gnome-shell[4044]: #15 5610b087ac78 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:5099 (7963f786600 @ 65) Jun 23 09:22:20 lio gnome-shell[4044]: #16 5610b087abf8 i /home/liz/.local/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:5077 (7963f7865b0 @ 12) Jun 23 09:22:20 lio gnome-shell[4044]: #17 5610b087ab70 i resource:///org/gnome/shell/ui/environment.js:153 (27147d2cc4c0 @ 98) Jun 23 09:22:20 lio gnome-shell[4044]: #18 5610b087aae8 i resource:///org/gnome/shell/ui/environment.js:240 (27147d2cc830 @ 14)


$ git rev-parse --short HEAD 16b9d6f

lizfeed avatar Jun 23 '22 16:06 lizfeed

I've got another problem now, even though the extension is installed inside the `.local/share/gnome-shell/extensions/ folder, it doesn't show up in gnome-extension app to enable

NrdyBhu1 avatar Jun 27 '22 14:06 NrdyBhu1

@NrdyBhu1 Did you make install?

PapyElGringo avatar Jun 30 '22 08:06 PapyElGringo

@NrdyBhu1 Did you make install?

Well I did do that, but that didn't work for gnome-extentions enable part, so I manually installed withmake zip_dist and gnome-extensions install dist.zip which made material-shell@papyelgringo folder in the extensions and with the data from dist, but it didn't show up in gnome-extensions-app, but after reboot it showed up, but when I tried enabling it, it crashed with the same error as the images I posted above

NrdyBhu1 avatar Jun 30 '22 11:06 NrdyBhu1

@NrdyBhu1 Can you login in default gnome shell?

PapyElGringo avatar Jul 01 '22 15:07 PapyElGringo

@NrdyBhu1 Can you login in default gnome shell?

I didn't get what you meant by that, but I can only login if I disable the material-shell extension

Well I'm not sure about this, but I am unable to use window managers in my pc and hence wanted to use material-shell. When I start any wm through GDM, it crashes, and when I tried to start wm through console, it shows error, that it can't open display because DISPLAY variable is not set

NrdyBhu1 avatar Jul 02 '22 12:07 NrdyBhu1

It's seem that you have an issue starting any window manager that is not related to Material Shell

PapyElGringo avatar Jul 02 '22 14:07 PapyElGringo

I just had a crash using 53139e66de0d2cdb8989020ddc7c6bccce6638db on Gnome 43 that looks very similar on first sight, which happened immediately after I disabled the extension. I cannot reproduce it easily though, and since gnome-shell was running for about 2 weeks and I did lots of things, I cannot pin it down to a specific action for reproduction.

St:ERROR:../src/st/st-bin.c:206:st_bin_destroy: assertion failed: (priv->child == NULL)
Bail out! St:ERROR:../src/st/st-bin.c:206:st_bin_destroy: assertion failed: (priv->child == NULL)
== Stack trace for context 0x561114f37300 ==
#0   56113f68b850 i   /usr/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:9704 (3c8c3c770b50 @ 110)
#1   56113f68b790 i   /usr/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:10188 (3c8c3c771ce0 @ 273)
#2   56113f68b708 i   /usr/share/gnome-shell/extensions/material-shell@papyelgringo/extension.js:11239 (3c8c3c774600 @ 349)
#3   56113f68b638 i   resource:///org/gnome/shell/ui/extensionSystem.js:125 (f20ead182e0 @ 386)
#4   56113f68b5b0 i   resource:///org/gnome/shell/ui/extensionSystem.js:536 (f20ead18ba0 @ 15)
#5   7ffe6085d680 b   self-hosted:164 (2a740558c330 @ 272)
#6   56113f68b528 i   resource:///org/gnome/shell/ui/extensionSystem.js:536 (f20ead18a60 @ 116)
#7   7ffe6085e040 I   self-hosted:1121 (2a740557eec0 @ 463)
#8   7ffe6085f970 b   resource:///org/gnome/gjs/modules/core/overrides/Gio.js:686 (2a74055a00b0 @ 169)
#9   56113f68b480 i   resource:///org/gnome/shell/ui/extensionSystem.js:226 (f20ead18420 @ 198)
#10   56113f68b3f8 i   resource:///org/gnome/shell/ui/shellDBus.js:451 (115157265e70 @ 20)
#11   7ffe60860630 b   resource:///org/gnome/gjs/modules/core/overrides/Gio.js:324 (2a740559f4c0 @ 185)
#12   7ffe60860730 b   resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401 (2a740559f600 @ 34)

expeehaa avatar Nov 25 '22 14:11 expeehaa