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

Gnome SIGTRAP when a window is moved in the activities view #234408

Open
Sciencentistguy opened this issue May 27, 2023 · 9 comments
Open

Gnome SIGTRAP when a window is moved in the activities view #234408

Sciencentistguy opened this issue May 27, 2023 · 9 comments
Labels
0.kind: bug Something is broken 6.topic: GNOME GNOME desktop environment and its underlying platform

Comments

@Sciencentistguy
Copy link
Member

Describe the bug

Gnome SIGTRAPs when a window is dragged around in the activities view

Steps To Reproduce

Steps to reproduce the behavior:

  1. run gnome
  2. open some windows
  3. move them around (perhaps between monitors)
  4. ...
  5. most of the time (its not 100% consistent) gnome-shell will SIGTRAP and restart

Expected behavior

Not that

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

The system is "chronos" on this system flake:

Sciencentistguy/nixfiles@2128635

Notify maintainers

@NixOS/gnome

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.29, NixOS, 23.11 (Tapir), 23.11.20230525.21eb6c6`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `""`
 - nixpkgs: `/etc/nix/path/nixpkgs`
@Sciencentistguy Sciencentistguy added the 0.kind: bug Something is broken label May 27, 2023
@jtojnar
Copy link
Member

jtojnar commented May 27, 2023

Do you have any extensions enabled? Is that on X11 or Wayland? Could you please get the output of bt full in coredumpctl gdb $pid with the following installed (where pid is from the output of coredumpctl)?

environment.enableDebugInfo = true;
environment.systemPackages = [
  # Explicitly install to get debug symbols.
  pkgs.gnome.gnome-shell
  pkgs.gnome.mutter
  pkgs.gnome.gnome-session
  pkgs.glib
  pkgs.gjs
  pkgs.spidermonkey_102
];

Do not forget to re-login after switching to that configuration or run coredumpctl with NIX_DEBUG_INFO_DIRS=/run/current-system/sw/lib/debug environment variable, since nixos-rebuild switch cannot update environment variables for running programs.

@jtojnar jtojnar added the 6.topic: GNOME GNOME desktop environment and its underlying platform label May 27, 2023
@Sciencentistguy
Copy link
Member Author

Yes, I use the following extensions:

  • blur my shell
  • custom hot corners - extended
  • hide top bar
    but these worked fine in previous revisions

This is X11 - have an nvidia GPU

Here's the output of bt full:
gdb.txt

@jtojnar
Copy link
Member

jtojnar commented May 27, 2023

Interesting. The underlying error is “BadCursor (invalid Cursor parameter)”.

According to https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/411#note_266927, it can happen when you use a custom icon theme that lacks dnd-none icon.

@Sciencentistguy
Copy link
Member Author

I use the paper icon theme, and the MacOSMonterey cursor theme (https://github.com/ful1e5/apple_cursor) (https://github.com/Sciencentistguy/nixfiles/blob/master/packages/apple-cursor-theme/default.nix).

Is that icon a new one for gnome 44?

@jtojnar
Copy link
Member

jtojnar commented May 27, 2023

No, the aforementioned issue was already fixed four years ago. Hoping this is another instance of it, you could try patching mutter similarly for the three other occurrences of XFreeCursor:

https://gitlab.gnome.org/search?search=XFreeCursor&nav_source=navbar&project_id=547&group_id=8&search_code=true

Sciencentistguy added a commit to Sciencentistguy/nixfiles that referenced this issue May 28, 2023
@Sciencentistguy
Copy link
Member Author

I've found a fix/workaround: disabling the home-manager gtk module

@jtojnar
Copy link
Member

jtojnar commented May 28, 2023

Yeah, that will get rid of the custom cursor theme.

Ideally, it would be fixed on the Mutter side, though.

@Sciencentistguy
Copy link
Member Author

I still have the theme set, just via gnome tweaks rather than through Nix

@koppor
Copy link
Contributor

koppor commented May 7, 2024

Also happens here with kind of standard setup. As of today, Gnome doesn't start . I put "gtk = {enable = false};" into home.nix, but did not help.

Update Fix provided at #140505 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: GNOME GNOME desktop environment and its underlying platform
Projects
None yet
Development

No branches or pull requests

3 participants