Skip to content

Remote SSH - Zed and LXC crashing - error reading target of symlink - canonicalizing #32663

Open
@t40mas

Description

@t40mas

Summary

When I currently connect to an unprivileged LXC container in Proxmox to the root directory "/", the following error occurs. Additionally, Zed crashes, and the LXC container is at 100% CPU usage.

2025-06-13T08:11:34+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/task/13825/cwd/sbin/ipaddr": canonicalizing "/proc/13772/task/13825/cwd/sbin/ipaddr": No such file or directory (os error 2)

When I connect to a defined directory (i.e. /root), it works as expected.

It seems to be a symlink issue, as the paths from the log file do not exist.

Description

Steps to trigger the problem:

  1. Connect New Server
  2. ssh test-server (unprivileged LXC container)

Actual Behavior: ZED and the lxc container crashes
Expected Behavior: Opening folder ("/")

Zed Version and System Specs

Zed 0.190.5
901b052

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/terminfo/v/vt200": canonicalizing "/proc/13772/root/etc/terminfo/v/vt200": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/11-lcdfilter-default.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/11-lcdfilter-default.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/50-user.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/50-user.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/20-unhint-small-vera.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/20-unhint-small-vera.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/45-generic.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/45-generic.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/65-nonlatin.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/65-nonlatin.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/10-scale-bitmap-fonts.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/10-scale-bitmap-fonts.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/10-sub-pixel-none.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/10-sub-pixel-none.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/69-unifont.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/69-unifont.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/60-latin.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/60-latin.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/60-generic.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/60-generic.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/45-latin.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/45-latin.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/10-hinting-slight.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/10-hinting-slight.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/45-dejavu.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/45-dejavu.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/30-metric-aliases.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/30-metric-aliases.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/40-nonlatin.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/40-nonlatin.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/65-fonts-persian.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/65-fonts-persian.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/51-local.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/51-local.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/10-yes-antialias.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/10-yes-antialias.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/80-delicious.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/80-delicious.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/90-synthetic.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/90-synthetic.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/48-spacing.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/48-spacing.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/49-sansserif.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/49-sansserif.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/etc/fonts/conf.d/90-tt-dejavu.conf": canonicalizing "/proc/13772/root/etc/fonts/conf.d/90-tt-dejavu.conf": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/usr/lib/sasl2/libsasldb.so": canonicalizing "/proc/13772/root/usr/lib/sasl2/libsasldb.so": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/usr/lib/sasl2/libanonymous.so.3": canonicalizing "/proc/13772/root/usr/lib/sasl2/libanonymous.so.3": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/usr/lib/sasl2/libplain.so": canonicalizing "/proc/13772/root/usr/lib/sasl2/libplain.so": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/usr/lib/sasl2/libplain.so.3": canonicalizing "/proc/13772/root/usr/lib/sasl2/libplain.so.3": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/usr/lib/sasl2/libanonymous.so": canonicalizing "/proc/13772/root/usr/lib/sasl2/libanonymous.so": No such file or directory (os error 2) 2025-06-13T08:11:36+02:00 ERROR [worktree] (remote server) error reading target of symlink "/proc/13772/root/usr/lib/sasl2/libsasldb.so.3": canonicalizing "/proc/13772/root/usr/lib/sasl2/libsasldb.so.3": No such file or directory (os error 2) 2025-06-13T08:11:40+02:00 ERROR [worktree] (remote server) error reading target of symlink "/sys/class/nvme-subsystem/nvme-subsys0/nvme0/hwmon0/subsystem/hwmon2": canonicalizing "/sys/class/nvme-subsystem/nvme-subsys0/nvme0/hwmon0/subsystem/hwmon2": No such file or directory (os error 2) 2025-06-13T08:11:40+02:00 ERROR [worktree] (remote server) error reading target of symlink "/sys/class/nvme-generic/ng0n1/device/hwmon0/subsystem/hwmon2": canonicalizing "/sys/class/nvme-generic/ng0n1/device/hwmon0/subsystem/hwmon2": No such file or directory (os error 2) 2025-06-13T08:11:44+02:00 ERROR [worktree] (remote server) error reading target of symlink "/sys/class/block/nvme0n1/device/hwmon0/subsystem/hwmon2": canonicalizing "/sys/class/block/nvme0n1/device/hwmon0/subsystem/hwmon2": No such file or directory (os error 2) 2025-06-13T08:12:26+02:00 INFO [zed] ========== starting zed ========== 2025-06-13T08:12:26+02:00 INFO [db] Opening main db 2025-06-13T08:12:26+02:00 INFO [db] Opening main db 2025-06-13T08:12:26+02:00 INFO [zed] Using git binary path: Some("/Applications/Zed.app/Contents/MacOS/git") 2025-06-13T08:12:26+02:00 INFO [assistant_tools::terminal_tool] agent selected bash for terminal tool 2025-06-13T08:12:26+02:00 INFO [prompt_store::prompts] No prompt template overrides directory found at /Users/thomas/.config/zed/prompt_overrides. Using built-in prompts. 2025-06-13T08:12:26+02:00 INFO [extension_host] extensions updated. loading 22, reloading 0, unloading 0 2025-06-13T08:12:26+02:00 INFO [db] Opening main db 2025-06-13T08:12:26+02:00 INFO [client] set status on client 0: Authenticating 2025-06-13T08:12:26+02:00 INFO [db] Opening main db 2025-06-13T08:12:26+02:00 INFO [client] set status on client 100630: Connecting 2025-06-13T08:12:26+02:00 INFO [db] Opening main db 2025-06-13T08:12:26+02:00 INFO [db] Opening main db 2025-06-13T08:12:26+02:00 ERROR [agent] No such file or directory (os error 2) 2025-06-13T08:12:26+02:00 INFO [client] connected to rpc endpoint https://collab.zed.dev/rpc 2025-06-13T08:12:27+02:00 INFO [rpc::peer] add_connection; 2025-06-13T08:12:27+02:00 INFO [client] set status on client 100630: Connected { peer_id: PeerId { owner_id: 860, id: 647159 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2025-06-13T08:12:28+02:00 INFO [util] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/libpq/bin:/Users/thomas/Documents/Programming/Tools/JetbrainsShellScripts:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/thomas/.sdkman/candidates/tomcat/current/bin:/Users/thomas/.sdkman/candidates/maven/current/bin:/Users/thomas/.sdkman/candidates/java/current/bin:/Users/thomas/.sdkman/candidates/gradle/current/bin:/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:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/opt/macadam/bin:/opt/podman/bin:/opt/homebrew/opt/libpq/bin:/Users/thomas/Documents/Programming/Tools/JetbrainsShellScripts:/Users/thomas/Library/Application Support/JetBrains/Toolbox/scripts 2025-06-13T08:13:13+02:00 INFO [zed] ========== starting zed ========== 2025-06-13T08:13:13+02:00 INFO [db] Opening main db 2025-06-13T08:13:13+02:00 INFO [db] Opening main db 2025-06-13T08:13:13+02:00 INFO [zed] Using git binary path: Some("/Applications/Zed.app/Contents/MacOS/git") 2025-06-13T08:13:13+02:00 INFO [prompt_store::prompts] No prompt template overrides directory found at /Users/thomas/.config/zed/prompt_overrides. Using built-in prompts. 2025-06-13T08:13:13+02:00 INFO [assistant_tools::terminal_tool] agent selected bash for terminal tool 2025-06-13T08:13:13+02:00 INFO [extension_host] extensions updated. loading 22, reloading 0, unloading 0 2025-06-13T08:13:13+02:00 INFO [db] Opening main db 2025-06-13T08:13:14+02:00 INFO [client] set status on client 0: Authenticating 2025-06-13T08:13:14+02:00 INFO [client] set status on client 100630: Connecting 2025-06-13T08:13:14+02:00 INFO [db] Opening main db 2025-06-13T08:13:14+02:00 INFO [db] Opening main db

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions