[BUG] Having workspaces, dashboard, and unicode modules enabled causes client to segfault
まだ誰も着手していません。
評価
- 難易度
- 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時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
`Time.at(t, in: nil)` returns UTC instead of the local time (or the time zone of `t`), unlike CRubyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug implicit-state
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PecanProject/sipnet#435 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100