Skip to content

curl: 8.20 causes 100% CPU consumption in nheko #525926

Description

@devurandom

Nixpkgs version

  • Beta (26.05)

Describe the bug

A curl bug in 8.20 (curl/curl#21547) causes 100% CPU usage in nheko (Nheko-Reborn/nheko#2054), but also affects other packages (see curl bug report).

curl/curl@2a2104f was reported to fix the issue and would have to be cherry picked in nixpkgs.

Steps to reproduce

  1. Upgrade NixOS beyond curlMinimal: 8.19.0 -> 8.20.0 #514706
  2. Observe Constant 100% cpu usage Nheko-Reborn/nheko#2054 in nheko

Expected behaviour

Nheko does not consume a full core in a busy loop right from the start.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.0.10, NixOS, 26.05 (Yarara), 26.05.20260528.ec942ba
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.7
  • channels(root): "nixos"
  • nixpkgs: /nix/store/lff22h6g4kvy848a7z8prfb0cgmy2hgy-source

Notify maintainers

@Scrumplex @balsoft @infinisil @pyrox0


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions