[BUG] Having workspaces, dashboard, and unicode modules enabled causes client to segfault
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- emacs-lisp
- 领域
- backend
调研方向
The report narrows the crash to enabling the workspaces, unicode, and dashboard modules in init.el and launching emacsclient -c; it links info.txt for system details. Start by reproducing with those modules and compare which combination triggers the crash. Done means identifying and fixing the module interaction so the daemon survives client frame creation.
由索引模型根据 Issue 内容生成。
描述
Describe your issue
When I call emacsclient -c (this does not happen with just emacs or emacsclient -nw), the emacs daemon crashes. With emacs --fg-daemon open in a terminal, I can see the following output:
stack trace (long output)
Due to a limitation in GTK 3, Emacs built with PGTK will simply exit when a display connection is closed. The problem is especially difficult to fix, such that Emacs on Wayland with multiple displays is unlikely ever to be able to survive disconnects. Starting Emacs daemon. Doom loaded 21 packages across 6 modules in 0.068s Gdk-Message: 11:24:36.346: Unable to load sb_v_double_arrow from the cursor theme Gdk-Message: 11:24:36.346: Unable to load sb_h_double_arrow from the cursor theme Gdk-Message: 11:24:36.365: Unable to load hand2 from the cursor theme Gdk-Message: 11:24:36.365: Unable to load sb_h_double_arrow from the cursor theme Gdk-Message: 11:24:36.365: Unable to load sb_v_double_arrow from the cursor theme Fatal error 11: Segmentation fault Backtrace: emacs(+0x183616) [0x5a6e6a101616] emacs(+0x4f7ca) [0x5a6e69fcd7ca] emacs(+0x4fddd) [0x5a6e69fcdddd] emacs(+0x4fde4) [0x5a6e69fcdde4] emacs(+0x1812f1) [0x5a6e6a0ff2f1] /nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57/lib/libc.so.6(+0x429f0) [0x7ebddde429f0] emacs(+0x2b165f) [0x5a6e6a22f65f] emacs(+0x24e6ed) [0x5a6e6a1cc6ed] emacs(+0x1fdd9e) [0x5a6e6a17bd9e] emacs(+0x1fe3d9) [0x5a6e6a17c3d9] emacs(+0x1fe3d9) [0x5a6e6a17c3d9] /nix/store/yxmbl6xs6vz1ly49h8x8rd2s9f7lck46-emacs-pgtk-31.1/lib/emacs/31.1/native-lisp/31.1-e6359f46/cl-seq-f464c4e2-2e568bb4.eln(F636c2d72656d6f7665_cl_remove_0+0xaa3) [0x7ebdd3e88313] emacs(+0x1fe3d9) [0x5a6e6a17c3d9] emacs(+0x1fe967) [0x5a6e6a17c967] /nix/store/yxmbl6xs6vz1ly49h8x8rd2s9f7lck46-emacs-pgtk-31.1/lib/emacs/31.1/native-lisp/31.1-e6359f46/cl-seq-f464c4e2-2e568bb4.eln(F636c2d72656d6f76652d69662d6e6f74_cl_remove_if_not_0+0x7f) [0x7ebdd3e88e1f] emacs(+0x24e6ed) [0x5a6e6a1cc6ed] emacs(+0x1fdd9e) [0x5a6e6a17bd9e] emacs(+0x1fff4b) [0x5a6e6a17df4b] emacs(+0x1fd222) [0x5a6e6a17b222] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x2008e2) [0x5a6e6a17e8e2] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x2008e2) [0x5a6e6a17e8e2] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x2008e2) [0x5a6e6a17e8e2] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x200079) [0x5a6e6a17e079] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x2008e2) [0x5a6e6a17e8e2] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fd739) [0x5a6e6a17b739] emacs(+0x1fdac0) [0x5a6e6a17bac0] emacs(+0x1fdeed) [0x5a6e6a17beed] emacs(+0x1fff4b) [0x5a6e6a17df4b] ... zsh: segmentation fault (core dumped) emacs --fg-daemon
Steps to reproduce
I was able to find that this can be reproduced with just workspaces, unicode, and dashboard present in init.el and no other files present in ~/.config/doom/.
init.el
;;; init.el -*- lexical-binding: t; -*-
(doom! :input
:ui
dashboard ; a nifty splash screen for Emacs
unicode ; extended unicode support for various languages
workspaces) ; tab emulation, persistence & separate workspaces
Removing any of these allows the client to launch perfectly fine, though I suspect the problem is more around unicode, and having the dashboard & workspaces modules enabled just allows that bug to pop up on frame creation.
System information
Disclosures
- This issue was written with/by AI.
- 主要语言
- Emacs Lisp
- 星标
- 69
- 派生
- 47
- 平均合并
- 8 天 9 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
doomemacs/modules 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 88/100
-
:lang rust +tree-sitter: rustic-beginning-of-function fails with void-function rust-in-str-or-cmnt未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
:email mu4e AI
难度 2/5 1-3 小时 新手友好度 78/100
查看 doomemacs/modules 的全部 Issue
相似的 Issue
-
complexity: high external-contributors test
难度 2/5 1-3 小时 新手友好度 84/100
Meet-hybrid/soroban-forge#583 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
Vakore/ZappierGames#285 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider impact:ux-release-blocker issue-rating: 🦞 diamond lobster no-stale P0
难度 2/5 1-3 小时 新手友好度 78/100
openclaw/openclaw#195576 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
agent-self
难度 2/5 1-3 小时 新手友好度 78/100
yologdev/yoyo-evolve#1160 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
eliasstravik/herdr-projects#845 ·