Skip to content

Previewing successive images causes crash #46755

@natrimmer

Description

@natrimmer

Reproduction steps

  1. Start zed with at least 3 images
  2. Preview an image file
  3. Preview a different image file
  4. Preview a third.
  5. Zed crash 💥

Zed version and system specs

Zed: v0.218.7+stable.118.41bab92dac34777ae4256e5041f7b7236fd16cdd (Zed)
OS: macOS 15.7.3
Memory: 16 GiB
Architecture: aarch64

Attach Zed log file

Screen.Recording.2026-01-13.at.4.25.55.PM.mov
Zed.log
2026-01-13T16:17:47-08:00 ERROR [crashes] thread 'main' panicked at crates/gpui/src/platform/mac/metal_atlas.rs:185:46:
called `Option::unwrap()` on a `None` value...

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:preview/imagesFeedback for image preview, zoom, manipulation, etcarea:replrepl, jupyter, notebooks, etcfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagemeta:easy repro stepsSteps to reproduce are easypriority:P1Security holes w/o exploit, crash, install/update, sign-in, badly broken common featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No fields configured for Crash.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions