Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file_rec causes CPU hog / gVim hang #987

Closed
pmcRTR opened this issue Aug 20, 2015 · 3 comments
Closed

file_rec causes CPU hog / gVim hang #987

pmcRTR opened this issue Aug 20, 2015 · 3 comments

Comments

@pmcRTR
Copy link

pmcRTR commented Aug 20, 2015

  • Problems summary
    file_rec causes gVim to hog CPU at 100% for several seconds causing gVim to hang - system reports application unresponsive before eventually recovering
  • Expected
    no CPU hog / hang
  • Environment Information
    • OS: Ubuntu Linux 15.04 64bit
    • Vim version: 7.4.488 Huge version with GTK2-GNOME GUI
  • Minimal vimrc less than 50 lines
" Your vimrc
" * stripped out version for testing Unite file_rec issue *
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'Shougo/unite.vim'
call vundle#end()
filetype plugin indent on
set t_ut=
set encoding=utf-8
syntax on
set nocompatible
set nobackup
set nowritebackup
set noswapfile
set history=100
set ruler
set showcmd
set incsearch
set hlsearch
set smartcase
set ignorecase
set hidden
set nowrap
set backspace=indent,eol,start
set expandtab
set tabstop=2
set shiftwidth=2
set softtabstop=2
set number
set list listchars=tab:»\ ,precedes:…,extends:…,nbsp:~,eol:¬,trail:·
set timeout timeoutlen=1000 ttimeoutlen=100
set laststatus=2
set statusline=%f\ %=L:%l/%L\ %c\ (%p%%)
set autoread
set clipboard+=unnamed
set shortmess+=I
set splitbelow
set splitright
set cursorline
set visualbell
set wildmenu
set lazyredraw
set showmatch
let g:netrw_liststyle=3
set noshowmode
set nrformats=
set foldcolumn=3
set diffopt=filler,context:0
set background=dark
set colorcolumn=80
nnoremap <silent> <leader>rfe :<C-u>Unite -buffer-name=files file_rec<cr>
  • Reproducable ways from Vim starting

    0.startup vim.
    1.type leader rfe (ie. run Unite file_rec)
    2.Open a file
    3.Watch gVim process go to 100% in top command output and see gVim hang

@crazymaster
Copy link
Contributor

Is it fixed in Vim 7.4.615?
#701

@pmcRTR
Copy link
Author

pmcRTR commented Aug 20, 2015

Yes, confirmed as vim bug - issue not present using version 7.4.683. Apologies, my bad.

@Shougo
Copy link
Owner

Shougo commented Aug 20, 2015

Yes, it is already fixed.

@Shougo Shougo closed this as completed Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants