Bug#580961: vim: killing vim results in a segfault

Bernd Zeimetz bzed at debian.org
Mon May 10 08:40:06 UTC 2010


Package: vim
Version: 2:7.2.330-1
Severity: normal

Although this does not happen when I run vim with -u NONE -U NONE,
I think it is still worth to report this segfault as the vim code should
be robust enough to handle even broken configs without segfaulting while
receiving a sigterm.
I have various plugins activated in my config, but everything should be
from the Debian packages:

1 bzed at think ~% find .vim
.vim
.vim/ftplugin
.vim/ftplugin/po.vim
.vim/ftplugin/git.vim
.vim/colors
.vim/colors/nightshade_print.vim
.vim/colors/nightshade.vim
.vim/indent
.vim/indent/python.vim
.vim/autoload
.vim/autoload/deb.vim
.vim/plugin
.vim/plugin/vcssvn.vim
.vim/plugin/vcssvk.vim
.vim/plugin/gnupg.vim
.vim/plugin/debPlugin.vim
.vim/plugin/vcscvs.vim
.vim/plugin/securemodelines.vim
.vim/plugin/vcscommand.vim
.vim/plugin/vcsgit.vim
.vim/doc
.vim/doc/tags
.vim/doc/vcscommand.txt
.vim/.netrwhist
.vim/syntax
.vim/syntax/deb.vim
.vim/syntax/vcscommit.vim
.vim/syntax/python.vim
.vim/syntax/CVSAnnotate.vim
.vim/syntax/SVKAnnotate.vim
.vim/syntax/mkd.vim
.vim/syntax/SVNAnnotate.vim


bzed at think ~% cat .vimrc 
set noai
syn on
filetype plugin indent on

augroup filetypedetect
au BufRead * if getline(1) == '#!/usr/bin/python' | setlocal
filetype=python | endif
au BufRead * if getline(1) == '#!/usr/bin/python2.5' | setlocal
filetype=python | endif
au BufRead * if getline(1) == '#!/usr/bin/python2.6' | setlocal
filetype=python | endif
au FileType * if expand("<amatch>") == "python" | call PySettings() |
endif
au FileType * if expand("<amatch>") == "lua" | call PySettings() | endif
augroup END


function! PySettings()
    set smartindent
        set cinwords=if,elif,else,for,while,try,except,finally,def,class
	    syntax enable
	        setl tabstop=4
		    setl softtabstop=4
		        setl shiftwidth=4
			    setl expandtab
			    endfunction

			    if &term!="linux"
			      set t_Co=256
			        colorscheme nightshade
				endif


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33.3-think (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim depends on:
ii  libacl1                   2.2.49-2       Access control list shared library
ii  libc6                     2.10.2-7       Embedded GNU C Library: Shared lib
ii  libgpm2                   1.20.4-3.3     General Purpose Mouse - shared lib
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand
ii  libselinux1               2.0.94-1       SELinux runtime shared libraries
ii  vim-common                2:7.2.330-1    Vi IMproved - Common files
ii  vim-runtime               2:7.2.330-1    Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags                         <none>     (no description available)
pn  vim-doc                       <none>     (no description available)
ii  vim-scripts                   20091011   plugins for vim, adding bells and 

-- no debconf information





More information about the pkg-vim-maintainers mailing list