macvim-dev / macvim-dev/macvim

MacVim hangs for minutes with hundreds of threads

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

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

主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

Describe the bug
I'm a daily user of MacVim and my work depends on it. MacVim occasionally hangs for minutes with hundreds of threads (500 or more) when editing some specific large file(s). I had this happen several times, but only once a day at the most. It could be a syntax highlighting problem perhaps. It's difficult to reproduce exactly.

To Reproduce
Detailed steps to reproduce the behavior:

  1. Run open -a MacVim Forth500.s
  2. Edit Forth500.s and perhaps some other files in other windows (but don't think that matters)
  3. Change Syntax to Assembly/Turbo then navigate, search, type, etc.
  4. Eventually the problem occurs, but I can't tell when and why. It may happen after a while, so it's not frequent, fortunately for me.

Expected behavior
No hot laptop!

Screenshots
N/A

Environment (please complete the following information):

  • MacVim version: Custom Version 8.2.2681 (171)
  • OS: MacOS 10.15.7
  • Terminal: N/A

Additional context
The Forth500.s file is here: https://github.com/Robert-van-Engelen/Forth500/blob/main/Forth500.s

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず open -a MacVim Forth500.s でハングを再現し、Assembly/Turbo 構文を使用して移動、検索、または入力を行いながら Forth500.s を編集します。提供された Forth500.s ファイルおよび報告された MacVim 8.2.2681 環境と動作を比較します。信頼できる原因を特定し、数分間続くハングとスレッド数の増加が発生しなくなったことを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop-dev, performance
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

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

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