NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.41k stars 14.36k forks source link

ssh-askpass-fullscreen pegs CPU when used #309619

Open qbit opened 7 months ago

qbit commented 7 months ago

Describe the bug

When executing ssh-askpass-fullscreen either via the SSH_ASKPASS environment variable, or executing it directly results in 100% cpu usage by ssh-askpass-fullscreen. This happens in x11 and wayland (using kde plasma 6)

Steps To Reproduce

Steps to reproduce the behavior:

  1. echo hi | ssh-askpass-fullscreen
  2. Run top in another terminal.
  3. Watch CPU fly.

Expected behavior

I expect to see the full screen popup and not hear the fans whir

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Running from the command line you can see tons of:

(ssh-askpass-fullscreen:15096): GdkPixbuf-CRITICAL **: 12:59:13.960: gdk_pixbuf_composite_color: assertion 'GDK_IS_PIXBUF (src)' failed

printed out.

Notify maintainers

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.6.30, NixOS, 24.05 (Uakari), 24.05.20240506.f9ae6eb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.21.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/28gbsahwg0xy03rap0c1b8k7ay22yymk-source`

Add a :+1: reaction to issues you find important.

qbit commented 7 months ago

My nixpkgs is at f9ae6eb42758fcf324018b025527937c1d553789

Kodiak-Web commented 3 months ago

issue reproduced on Hyprland as well. running git push when not logged into git causes my machine to require a hard restart due to this issue.