Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with VIM on Ubuntu 10.4. It appears after I install gvim and do some configuring. When I type the command Vim, the message below appears:

Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault

I've surfed around, but I can't find solution to fix it. Please help me out if you have seen this.

share|improve this question

migrated from Feb 8 '11 at 22:59

This question came from our site for professional and enthusiast programmers.

Vim is also the tool for development – pang Feb 7 '11 at 10:01
Try to launch gvim -u none -U none from the command line, it will start gvim without using your config files. If it works it is an issue with one of your config option. – Xavier T. Feb 7 '11 at 10:15
@Xavier T: No command script should ever cause vim to crash with segfault. – Jan Hudec Feb 7 '11 at 10:24
@Jan Hudec : you are probably right but since it seems problems happened after some configuring, it would not harm to try at least once... – Xavier T. Feb 7 '11 at 10:27
Did you check the requirements of your plugins? Maybe an interpreter (ruby, python…) is lacking. – romainl Feb 7 '11 at 12:53

I suggest you just file a bug report.

share|improve this answer

Try doing an:

sudo apt-get purge vim

then delete your ~/.vim directory and ~/.vimrc (make backups first!)

This essentially will wipe your machine of vim.

Then, you can go about reinstalling vim (sudo apt-get install vim). However, this time before sure as you make modifications and add plugins, you restart vim after every added plugin or modification. If you run across the modification that causes your crash, file a bug report as Jan Hudec suggested.

This process will allow you to isolate what addon is causing your crash so that you can leave it out of your setup.

share|improve this answer
apt-get purge does not wipe files in users' home folders. – Sparhawk Feb 9 '15 at 5:39
That is why I suggest deleting your ~/.vim directory and ~/.vimrc immediately after the sudo apt-get purge vim. – sleepynate Feb 11 '15 at 14:52
Oops, sorry. I totally misread your answer. I thought "then" said "this will". – Sparhawk Feb 11 '15 at 20:33
Unfortunately I can't remove my downvote until the answer is edited. :( – Sparhawk Feb 11 '15 at 21:58
It's ok, I'm not worried about points, just helping people. – sleepynate Feb 11 '15 at 22:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.