Dragging-and-dropping the below image into Zed caused it to crash immediately. Further attempts to open Zed resulted in a crash. Mitigation steps are detailed below, but if you try to open the same image in Zed again it will continue crashing.
Other image viewers successfully show the file, so a bug in the responsible parsing library is probably the root cause — however, I would still expect Zed to handle the error and show a failure state rather than crashing outright.
Mitigation steps
Surely similar mitigations will work (such as opening Zed via the `zed` CLI, but this was my workaround.
- Control-click Zed in the Dock
- Click "Show Recents"
- Select another recently opened project
- Reopen the affected directory in Zed
_This works because Zed will not attempt to load the most recently opened file this time._
I am able to open the image without crashing on Zed 0.149.0.
Can you update Zed and confirm this is still happening?
(We did improve image support in the past few weeks)
Check for existing issues
Describe the bug / provide steps to reproduce it
Dragging-and-dropping the below image into Zed caused it to crash immediately. Further attempts to open Zed resulted in a crash. Mitigation steps are detailed below, but if you try to open the same image in Zed again it will continue crashing.
View image on GitHub (for reproduction and analysis)
Other image viewers successfully show the file, so a bug in the responsible parsing library is probably the root cause — however, I would still expect Zed to handle the error and show a failure state rather than crashing outright.
Mitigation steps
Surely similar mitigations will work (such as opening Zed via the `zed` CLI, but this was my workaround. - Control-click Zed in the Dock - Click "Show Recents" - Select another recently opened project - Reopen the affected directory in Zed _This works because Zed will not attempt to load the most recently opened file this time._Environment
Zed: v0.144.4 (Zed) OS: macOS 15.0.0 (Sequoia public beta 1) Memory: 8 GiB Architecture: aarch64
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
macOS crash report via pastes.sh