macvim-dev / macvim-dev/macvim

Crash when using :rewind

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

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

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

説明

I noticed this in the latest builds:
Starting the editor with multiple files (e.g. vim *.txt or gvim *.txt), using :rew after I have switched files with :n at least once results in a crash. The output is:

Vim(32023,0x119aefdc0) malloc: *** error for object 0x100000000: pointer being freed was not allocated
Vim(32023,0x119aefdc0) malloc: *** set a breakpoint in malloc_error_break to debug
Vim: Caught deadly signal ABRT
Vim: Finished.

I build vim/gvim from source after pulling the latest changes via git, the latest version I observed the behaviour with is 8.2.1045.

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

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

はじめの一歩

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

調査の方向性

vim *.txt または gvim *.txt で複数のファイルを開き、:n で切り替えた後、:rew を使用してクラッシュを再現します。ナビゲーションが行われた後の :rew の処理を追跡します。報告された malloc エラーや中断なしにコマンドが完了すれば完了です。

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

評価

技術スタック
vim
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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