Skip to content

Crash when closing a tab on macOS Tahoe #46435

@Gioppix

Description

@Gioppix

Reproduction steps

  • start Zed
  • Drag a terminal panel to the right, creating a split view in the main area
  • Open an image while that right panel is focused
  • Try to close the image

See video:
https://github.com/user-attachments/assets/0831cf47-b148-4eb1-b2a3-6b4eb76a7bf5

Zed version and system specs

Zed: v0.218.6+stable.114.e8b0ac131bc2bf80056f3769317ef57ebf32d0d1 (Zed)
OS: macOS 26.1
Memory: 24 GiB
Architecture: aarch64

Attach Zed log file

Zed.log
2026-01-09T12:04:33+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:34+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:34+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:34+01:00 ERROR [crashes] thread 'main' panicked at crates/gpui/src/platform/mac/metal_atlas.rs:185:46:
called `Option::unwrap()` on a `None` value...
2026-01-09T12:04:34+01:00 ERROR [crashes] triggering a crash to generate a minidump...
2026-01-09T12:04:36+01:00 INFO  [zed] ========== starting zed version 0.218.6+stable.114.e8b0ac131bc2bf80056f3769317ef57ebf32d0d1, sha e8b0ac1 ==========
2026-01-09T12:04:36+01:00 INFO  [crashes] spawning crash handler process
2026-01-09T12:04:36+01:00 INFO  [zed] Using git binary path: "/Applications/Zed.app/Contents/MacOS/git"
2026-01-09T12:04:36+01:00 INFO  [crashes] connected to crash handler process after 100ms
2026-01-09T12:04:36+01:00 INFO  [crashes] crash handler registered
2026-01-09T12:04:36+01:00 INFO  [extension_host] extensions updated. loading 26, reloading 0, unloading 0
2026-01-09T12:04:36+01:00 INFO  [auto_update] Auto Update: checking for updates
2026-01-09T12:04:36+01:00 INFO  [client] set status on client 0: Authenticating
2026-01-09T12:04:36+01:00 INFO  [workspace] Rendered first frame
2026-01-09T12:04:37+01:00 WARN  [language] unrecognized capture name 'function_name' in Python injections TreeSitter query (suppress this warning by prefixing with '_')
2026-01-09T12:04:37+01:00 WARN  [language] unrecognized capture name 'comment' in Python injections TreeSitter query (suppress this warning by prefixing with '_')
2026-01-09T12:04:37+01:00 INFO  [util] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/libpq/bin:/Users/boss/.bun/bin:/Users/boss/.nvm/versions/node/v24.4.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/Users/boss/.cargo/bin:/Users/boss/.local/bin:/Users/boss/go/bin:/Users/boss/.local/bin
2026-01-09T12:04:37+01:00 INFO  [client] set status on client 138950: Authenticated
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:37+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
...
2026-01-09T12:04:44+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:44+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:44+01:00 ERROR [crashes] thread 'main' panicked at crates/gpui/src/platform/mac/metal_atlas.rs:185:46:
called `Option::unwrap()` on a `None` value...
2026-01-09T12:04:44+01:00 ERROR [crashes] triggering a crash to generate a minidump...
2026-01-09T12:04:47+01:00 INFO  [zed] ========== starting zed version 0.218.6+stable.114.e8b0ac131bc2bf80056f3769317ef57ebf32d0d1, sha e8b0ac1 ==========
2026-01-09T12:04:47+01:00 INFO  [crashes] spawning crash handler process
2026-01-09T12:04:47+01:00 INFO  [zed] Using git binary path: "/Applications/Zed.app/Contents/MacOS/git"
2026-01-09T12:04:47+01:00 INFO  [crashes] connected to crash handler process after 100ms
2026-01-09T12:04:47+01:00 INFO  [crashes] crash handler registered
2026-01-09T12:04:47+01:00 INFO  [extension_host] extensions updated. loading 26, reloading 0, unloading 0
2026-01-09T12:04:47+01:00 INFO  [auto_update] Auto Update: checking for updates
2026-01-09T12:04:47+01:00 INFO  [client] set status on client 0: Authenticating
2026-01-09T12:04:47+01:00 INFO  [workspace] Rendered first frame
2026-01-09T12:04:47+01:00 WARN  [language] unrecognized capture name 'function_name' in Python injections TreeSitter query (suppress this warning by prefixing with '_')
2026-01-09T12:04:47+01:00 WARN  [language] unrecognized capture name 'comment' in Python injections TreeSitter query (suppress this warning by prefixing with '_')
2026-01-09T12:04:47+01:00 INFO  [project::prettier_store] Initializing default prettier with plugins {"prettier-plugin-java"}
2026-01-09T12:04:47+01:00 INFO  [util] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/libpq/bin:/Users/boss/.bun/bin:/Users/boss/.nvm/versions/node/v24.4.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/Users/boss/.cargo/bin:/Users/boss/.local/bin:/Users/boss/go/bin:/Users/boss/.local/bin
2026-01-09T12:04:48+01:00 INFO  [node_runtime] using Node.js found on PATH: SystemNodeRuntime { node: "/Users/boss/.nvm/versions/node/v24.4.1/bin/node", npm: "/Users/boss/.nvm/versions/node/v24.4.1/bin/npm", global_node_modules: "/Users/boss/.nvm/versions/node/v24.4.1/lib/node_modules\n", scratch_dir: "/Users/boss/Library/Application Support/Zed/node" }
2026-01-09T12:04:48+01:00 INFO  [client] set status on client 138950: Authenticated
2026-01-09T12:04:48+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:48+01:00 INFO  [project::prettier_store] Installing default prettier and plugins: [("prettier-plugin-java", "2.8.1"), ("prettier", "3.7.4")]
2026-01-09T12:04:48+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:48+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
2026-01-09T12:04:48+01:00 ERROR [crates/workspace/src/dock.rs:990] can't render a panel button without an icon tooltip
...

Metadata

Metadata

Assignees

Labels

area:preview/imagesFeedback for image preview, zoom, manipulation, etcarea:workspaceFeedback for workspace management, layout, interactions, etcfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority: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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions