A bug about memory leak whiling search a char Colon(:)
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.2k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
# environment
- vim: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 7 2020 22:53:41)
- grepper.commit: 'dde6a66'
- OS:arch linux x86_64
- Mem: 8GB
- grepper configuration in vimrc:
Plug 'mhinz/vim-grepper' , { 'on': ['Grepper',
\ '(GrepperOperator)'] }
- other plugin:

# actual behavior
```bash
$ cd ~/.vim && vim vimrc
:GrepperAg :
```
# expected behavior
I want search all colon(:) in vimrc.
# bug
The terrible consequence of the above behavior is to cause a serious memory leak in just a few seconds, and finally the entire system must be reboot violently.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Vim 8.2 with the reported vimrc setup by running :GrepperAg : and searching for colons in vimrc. Trace the GrepperAg entry point and the configured search backend, then verify that searching for : completes without runaway memory use and returns the expected matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- search, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100