Sunday, November 28, 2010

cscope errors: E262: error reading cscope connection 0

Hi all,
I use vim as my main editor for programming and I'm enjoying it to no end. For tags, I use ctags (Exuberant Ctags 5.8) and cscope (version 15.7a).
My problem is that occassionally when I do a cscope search using "cs find" I get the cscope error: E262: error reading cscope connection 0
Resetting cscope temporary solves this until it happens again.

Further information:
I configure vim to always have 3 open cscope databases: For the Linux kernel, for glibc, and For my project.
vim is configured to have the same corresponding ctags databases for the same projects.
vim version:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov  8 2010 14:11:20)
Included patches: 1-50
Compiled by eran.borovik@eranb-lx
Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path
+find_in_path +float +folding -footer +fork() +gettext -hangul_input -iconv
+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
-mouse_dec +mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse
+mouse_xterm -multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
+path_extra -perl +persistent_undo +postscript +printer -profile +python
-python3 +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
 -xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation:
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -Wl,--as-needed -o vim       -lm -lncurses -lelf -lnsl  -lselinux  -lacl -lattr -lgpm     -L/usr/lib/python2.4/config -lpython2.4 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic

OS Centos 5.4:
Linux  2.6.18-164.9.1.el5 #1 SMP Tue Dec 29 11:06:53 IST 2009 x86_64 x86_64 x86_64 GNU/Linux

Any help with that will be much appreciated.
Thanks,
Eran.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: