Skip to content

[Linux] Copilot CLI crashes on editing big diffs #3288

@pscabot

Description

@pscabot

Describe the bug

In versions 1.0.43 through 1.0.46 (maybe also in earlier versions - didn't check), Copilot CLI crashes in src/runtime/diff/src/lib.rs:69:44 when trying to edit a large file with big diffs.
The file has 14950 lines with 8 pending hunks with 850 inserts and 3 delitions.
I can't say what was the additional edit which caused the crash,

Affected version

1.043

Steps to reproduce the behavior

No response

Expected behavior

Don't crash - ever :-)

Additional context

  • OS: Ubunto 24.04
  • Arch: x86_64
  • Shell: bash under zellij

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platform-linuxLinux-specific: Wayland, X11, Ubuntu, Fedora, Alpine, ARM, terminal emulatorsarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions