boysetsfrog / vimpc

Official repository for vimpc a vi/vim inspired client for the Music Player Daemon (mpd). Pull requests are welcome.
GNU General Public License v3.0
269 stars 34 forks source link

terminate called after throwing instance of 'std::out_of_range' #89

Closed Danacus closed 1 year ago

Danacus commented 5 years ago

Hello

I have noticed that vimpc crashes in a very specific situation with the following error:

terminate called after throwing instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 6) >= this->size() (which is 1)

Steps to reproduce:

Perhaps the value of that variable doesn't get updated correctly in this situation?

I am currently using vimpc 0.09.1 [f768eaa4c62c0c8763be3691b84a5b5e812d6b22].

connermcd commented 5 years ago

Reproducible