- 论坛徽章:
- 0
|
hi !
我的cscope_map.vim是放在~/.vim/plugin/下的,里面有句话是:
if has("cscope")
set cscopetag
set csto=0
if filereadable("cscope.out")
cs add cscope.out
endif
(省略)
然后我在有cscope.out这个文件的路径下输入vim命令后,就有如下错误
$ vim
3 [main] gvim 5536 exception::handle: Exception: STATUS_ACCESS_VIOLATION
1164 [main] gvim 5536 open_stackdumpfile: Dumping stack trace to gvim.exe.stackdump
3 [main] gvim 5980 exception::handle: Exception: STATUS_ACCESS_VIOLATION
875 [main] gvim 5980 open_stackdumpfile: Dumping stack trace to gvim.exe.stackdump
3 [main] gvim 4364 exception::handle: Exception: STATUS_ACCESS_VIOLATION
1079 [main] gvim 4364 open_stackdumpfile: Dumping stack trace to gvim.exe.stackdump
4 [main] gvim 3424 exception::handle: Exception: STATUS_ACCESS_VIOLATION
1278 [main] gvim 3424 open_stackdumpfile: Dumping stack trace to gvim.exe.stackdump
3 [main] gvim 2340 exception::handle: Exception: STATUS_ACCESS_VIOLATION
1040 [main] gvim 2340 open_stackdumpfile: Dumping stack trace to gvim.exe.stackdump
2 [main] gvim 5696 exception::handle: Exception: STATUS_ACCESS_VIOLATION
856 [main] gvim 5696 open_stackdumpfile: Dumping stack trace to gvim.exe.stackdump
3 [main] vim 5432 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x600, errno 11
Error detected while processing /home/dachuan/.vim/plugin/cscope_maps.vim:
line 42:
E622: Could not fork for cscope
Press ENTER or type command to continue
按照这个错误的意思,是cscope_maps.vim文件的42行(也就是cs add cscoput.out那一行)有了错误。
但是我若是把cscope_maps.vim这一行去掉,在vim正常进入之后敲击:cs add cscope.out就没有错误了。
怎么回事啊。求助。我的环境是cygwin,vim72
谢谢。 |
|