App crashes (main process trap int3) when dragging or pasting files from Nautilus on Linux X11
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
调研方向
Start by tracing Electron's clipboard and drag-and-drop handling for Nautilus file data, especially text/uri-list and x-special/gnome-copied-files, then reproduce on Linux X11 with the steps in the issue. The crash appears in the Electron main process, but the payload names no source files or tests. Done when dragging and pasting a file path inserts it or is safely ignored without crashing Wave.
由索引模型根据 Issue 内容生成。
描述
Description
Wave crashes completely (the window disappears) when I drag a file from the file manager (Nautilus) into a Wave terminal block. Copying the file in Nautilus (Ctrl+C) and pasting it into Wave (Ctrl+V) crashes the same way.
The crash happens about 1 second after the Wave window gets focus back from Nautilus. It is repeatable: both crashes stopped at the same instruction offset.
Steps to reproduce
- Open Wave with a terminal block (in my case it was running Claude Code).
- In Nautilus, select a document file.
- Either drag it onto the terminal block, or press Ctrl+C in Nautilus, switch to Wave and press Ctrl+V.
- Wave crashes.
Expected: the file path is inserted into the terminal (or the drop/paste is ignored).
Actual: the whole Electron app exits.
Environment
- Wave: 0.14.5 (202604161535), snap, revision 204,
latest/stable, classic confinement - Electron: 41.1.0
- OS: Zorin OS 18.1 (Ubuntu 24.04 base), kernel 7.0.0-42-generic
- Desktop: GNOME on X11 (not Wayland)
- File manager: Nautilus 46.4
Evidence
Kernel log, one line per crash. Both show the same offset (59c0810) inside the waveterm binary, which looks like a Chromium/Electron CHECK/NOTREACHED failure in the browser (main) process:
kernel: traps: waveterm[9089] trap int3 ip:631fa0506810 sp:7ffd6d34fde0 error:0 in waveterm[59c0810,631f9d1d5000+9705000]
kernel: traps: waveterm[1601014] trap int3 ip:55da10da3810 sp:7ffe3a3140c0 error:0 in waveterm[59c0810,55da0da72000+9705000]
waveapp.log shows nothing at the moment of the crash. The last entries before the second crash are a window focus, then the app restarting:
20:26:21.027 focus win e7cfa4ad-...
20:26:21.032 [service] client.FocusWindow | 5ms
(crash at 20:26:22 per kernel log)
20:26:28.321 waveterm-app starting, ... electron=41.1.0
wavesrv itself did not report any error. Only the Electron process died. No Crashpad dump was written.
Other log noise at startup, probably unrelated:
ERROR:media/gpu/vaapi/vaapi_wrapper.cc:1640] vaInitialize failed: unknown libva error
Notes
- When copied from Nautilus, the clipboard/drag data carries files (
text/uri-list/x-special/gnome-copied-files), not plain text. My guess is that handling this file data is what crashes. Normal terminal use is otherwise stable: there were no other crashes in the last 30 days. - Workaround: type the file path instead of dragging or pasting the file.
- 主要语言
- Go
- 星标
- 22.7k
- 派生
- 1.2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wavetermdev/waveterm 的其他 Issue
-
bug triage
难度 2/5 1-3 小时 新手友好度 66/100
wavetermdev/waveterm#3587 ·
维护者通常 1 天内回复
-
bug triage
难度 2/5 1-3 小时 新手友好度 75/100
wavetermdev/waveterm#3568 ·
维护者通常 1 天内回复
-
pwsh: encodeEnvVarsForPowerShell rejects Windows-standard env var names like ProgramFiles(x86), breaking wsh token on every pwsh block可能已有人在做 @vortsghost2025 于 63 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
wavetermdev/waveterm#3481 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
wavetermdev/waveterm#3435 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
wavetermdev/waveterm#3432 ·
维护者通常 1 天内回复
查看 wavetermdev/waveterm 的全部 Issue
相似的 Issue
-
area/installation kind/bug
难度 2/5 1-3 小时 新手友好度 78/100
vllm-project/aibrix#3456 · 1 条评论 ·
维护者通常 1 天内回复
-
go good first issue help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 84/100
andrewsiah/agentswarm-data-tasks#236 ·
维护者通常 1 天内回复
-
kind/bug
难度 2/5 1-3 小时 新手友好度 65/100
cadence-workflow/cadence#8745 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
charmbracelet/crush#4271 ·
维护者通常 1 天内回复
-
bug in-progress needs-triage P1 tier:2-standard
难度 2/5 1-3 小时 新手友好度 78/100
krakenhavoc/cmd_and_ctrl#5693 ·
维护者通常 1 天内回复