Skip to content

Zed has started crashing since v1.4.4 #58343

@jasonwilliams

Description

@jasonwilliams

Reproduction steps

  1. Start Zed
  2. Try to paste into a window (I can't reproduce it consistently)
  3. Crash happens

Current vs. Expected behavior

Current behaviour: When pasting shortly after startup, Zed freezes and eventually closes. The zed logs show this

2026-06-02T15:47:37+01:00 ERROR [crashes] thread 'main' panicked at crates\editor\src\selections_collection.rs:841:74:
offset 1548 is greater than the snapshot.len() 1547...
2026-06-02T15:47:37+01:00 ERROR [crashes] triggering a crash to generate a minidump...
2026-06-02T15:47:37+01:00 ERROR [crashes] thread 'main' panicked at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library\core\src\panicking.rs:225:5:
panic in a function that cannot unwind...
2026-06-02T15:47:37+01:00 ERROR [crashes] triggering a crash to generate a minidump...

Zed version and system specs

Zed 1.4.4
Commit: 1d0b482
Version: 1.4.4+stable.297.1d0b482638588e5507184d91631e30596339ee1b

Attach Zed log file

Zed.log
2026-06-02T15:47:37+01:00 ERROR [crashes] thread 'main' panicked at crates\editor\src\selections_collection.rs:841:74:
offset 1548 is greater than the snapshot.len() 1547...
2026-06-02T15:47:37+01:00 ERROR [crashes] triggering a crash to generate a minidump...
2026-06-02T15:47:37+01:00 ERROR [crashes] thread 'main' panicked at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library\core\src\panicking.rs:225:5:
panic in a function that cannot unwind...
2026-06-02T15:47:37+01:00 ERROR [crashes] triggering a crash to generate a minidump...

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

Labels

state:needs infoIssue needs more information from the user before we can do something with it

Type

No fields configured for Crash.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions