neovim0.2.2で `pointer being freed was not allocated`
dein周りの設定をいじっていたら, mallocのerrorが出てきて困ったのでその時の対処のメモ。 根本的な原因はわかっていない 😢 後ほどわかれば追記
バージョン情報
macOS 10.13.3 neovim 0.2.2 vim 8.0
error内容
$ vi a [dein] Invalid toml format: /path/to/.config/nvim/dein.toml [dein] Text.TOML: No such file `/path/to/.config/nvim/dein.toml'.nvim(72526,0x7fffb059b340) malloc: *** error for object 0x7fba90702470: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug zsh: abort /usr/local/bin/nvim a $ type -a vi vi is an alias for /usr/local/bin/nvim vi is /usr/bin/vi
どうやらdein関係のキャッシュが問題?
対処
dein の各種リポジトリが入ってる削除を一旦対比させて, 素のvim経由でdein.toml読んでplugin入れ直したら直った
ググって確認したissueはこの辺とか https://github.com/Shougo/dein.vim/issues/270 https://github.com/NixOS/nixpkgs/issues/18466
こういうことかも, neovim側のバグ?
kiooss commented 10 days ago @ZackC I think the "the latest version of neovim" from Shougo is the latest unstable version of neovim, but not the latest stable version^^