macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.52k stars 683 forks source link

Crash when using :rewind #1057

Open hoehenunterschied opened 4 years ago

hoehenunterschied commented 4 years ago

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.

ychin commented 4 years ago

Thanks for reporting. Initial repro on my side couldn't reproduce the issue. I may ask you more info if I can't repro this or I don't see any mention of this from upstream (it seems more like a Vim issue but hard to be sure).

eirnym commented 4 years ago

can't reproduce due to #1059

ychin commented 4 years ago

@hoehenunterschied Do you have more information? Can you pull latest and build again, and see if it still crashes? If it does, can you show me the output the mvim --version?