When I replaced my .vimrc and .gvimrc with more complex ones, I could use gvim (mvim) as usual, but when I opened the file with vim, it occurred:
$ vim filename.cpp
Vim: Caught deadly signal ILL
Illegal instruction: 4
I examined the instructions in .vimrc, but found nothing abnormal. Finally, I found a easy solution:
Delete .viminfo in home directory.
$ rm ~/.viminfo
The vim works well now.