Crash (SIGTRAP) on Linux when enabling native window title bar in 2.0.2
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- electron, linux
- 領域
- desktop
調査の方向性
Start by reproducing the crash on Logseq 2.0.2 on Linux with the native title bar option enabled, then trace the setting change and window recreation path in the Electron app. The report provides no source files or tests to start from, so first locate that path and inspect the crash around window teardown. Done means confirming the cause and ensuring the window restarts with the native title bar or the app requests a restart.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Logseq 2.0.2 crashes (SIGTRAP) when enabling the "native window title bar" option on Linux and confirming the dialog.
To reproduce
- Start Logseq 2.0.2 on Linux (Arch, Hyprland/Wayland, AppImage via the AUR
logseq-appimagepackage). - Go to Settings and enable "Enable the native window title bar on Windows and Linux".
- Confirm the prompt.
- The app dies instead of restarting its window.
Expected behavior
The window is recreated with the native title bar (or the app asks for a restart).
Actual behavior
The main process aborts. The setting is saved (configs.edn contains {:window/native-titlebar? true}, written in the same second as the crash), and the next launch works with the native title bar.
Crash details
- Signal: SIGTRAP,
si_code: SI_KERNEL, main thread (single-threaded core) - Kernel log:
traps: logseq[...] trap int3 ip:55d0b7525fbb sp:7ffe078e2ee0 error:0 in logseq[74d7fbb,55d0b26cc000+9a69000] - Offset in binary:
logseq + 0x74d8fbb, called from+0x327a246,+0x327860c,+0x3278a59,+0x2ae03b1 - This looks like a deliberate abort (int3 / fatal check) rather than a segfault. The binary is stripped, so I could not symbolize frames.
main.logfor that run has no "window-all-closed" / quit line, so it did not exit cleanly.- Same-second writes at crash time:
configs.edn,window-state.json,DIPS, and the graph'ssearch/db.sqlite, which looks like the window teardown path.
Environment
- Logseq 2.0.2 (AppImage, Electron-based)
- Arch Linux, kernel 7.2.8, Hyprland (Wayland)
- Fresh install, first run after switching from 0.10.15; graph was the Demo graph
Happy to test again or provide more details if useful.
- 主要言語
- 言語のデータがありません
- スター
- 29
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
logseq/db-test のほかの issue
-
Web build on a phone: the fold arrow of an h1/h2 block lies on its bullet, so tapping the bullet folds instead of zooming in対応中かも @tiensonqin が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
Page titles with `$$`, `$&`, `` $` `` or `$'` change when block refs are resolved対応中かも @RaphaelFakhri が 19 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
`#Asset` label is not displayed on asset nodes when `Hide from Node` is disabled対応中かも @tiensonqin が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NousResearch/hermes-agent#151711 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
abue-ammar/tinycast#1851 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信