Crash (SIGTRAP) on Linux when enabling native window title bar in 2.0.2

オープン
#1,485 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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

  1. Start Logseq 2.0.2 on Linux (Arch, Hyprland/Wayland, AppImage via the AUR logseq-appimage package).
  2. Go to Settings and enable "Enable the native window title bar on Windows and Linux".
  3. Confirm the prompt.
  4. 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.log for 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's search/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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

logseq/db-test のほかの issue

logseq/db-test の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。