Reproduction steps
- Start Zed
- Try to paste into a window (I can't reproduce it consistently)
- 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
Reproduction steps
Current vs. Expected behavior
Current behaviour: When pasting shortly after startup, Zed freezes and eventually closes. The zed logs show this
Zed version and system specs
Zed 1.4.4
Commit: 1d0b482
Version: 1.4.4+stable.297.1d0b482638588e5507184d91631e30596339ee1b
Attach Zed log file
Zed.log
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