Skip to content

guitui crashs when switching to Log tab "Too many open files; class=Os (2)" #2433

Open
@m4salah

Description

@m4salah

Describe the bug
gitui crashes when switching to the Log tab.

To Reproduce
Steps to reproduce the behavior:

  1. Open gitui
  2. Press 2 to switch to the Log tab when the Status tab still loading
  3. Crashs with
Error: git error:failed to resolve path '.': Too many open files; class=Os (2)

Caused by:
    failed to resolve path '.': Too many open files; class=Os (2)

Expected behavior
Expect to see the logs without any crashes.

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

Context (please complete the following information):

  • OS/Distro + Version: macOS 15.1.1 (24B91)
  • GitUI Version:0.26.3
  • Rust version: 1.82

Additional context
The repo is huge.
The count of logs is: 26900.

When switching to Logs after the Status stopped loading there is no crashs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions