Sunday, June 17, 2012

Error starting gvim and using diff

I'm encountering the following error attempting to start gvim that is
packaged with cygwin. How would I determine if it is a vim or cygwin
problem?

Error from starting gvim:
-------------------------
$gvim -d /usr/share/vim/vimrc usr/share/vim/vimrc
2 files to edit
0 [main] gvim 6092 child_info_fork::abort: C:\cygwin\bin
\cygncursesw-10.dll: Loaded to different address: parent(0x5D0000) !=
child(0x380000)
E851: Failed to create a new process for the GUI
Press ENTER or type command to continue


Error from diffupdate :
------------------------
1 [main] gvim 2704 child_info_fork::abort: C:\cygwin\bin
\cygncursesw-10.dll: Loaded to different address: parent(0x5D0000) !=
child(0x380000)

Cannot fork
0 [main] gvim 3688 child_info_fork::abort: C:\cygwin\bin
\cyggobject-2.0-0.dll: Loaded to different address: parent(0x320000) !
= child(0x3B0000)

Cannot fork
E810: Cannot read or write temp files
E97: Cannot create diffs


Error from diffupdate using vim rather than gvim:
-------------------------------------------------
1 [main] gvim 5632 child_info_fork::abort: C:\cygwin\bin
\cyggobject-2.0-0.dll: Loaded to different address: parent(0x320000) !
= child(0x3B0000)

Cannot fork
E810: Cannot read or write temp files
E97: Cannot create diffs
Cannot fork
0 [main] gvim 1376 child_info_fork::abort: C:\cygwin\bin
\cygncursesw-10.dll: Loaded to different address: parent(0x380000) !=
child(0x5D0000)

Cannot fork
E98: Cannot read diff output


Output of "ver":
----------------
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 21 2012 17:12:21)
Included patches: 1-447
Compiled by Cygwin Ports <cygwin-xfree@cygwin.com>
Huge version with GTK2 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_gui
+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 +mouse_urxvt +multi_byte +multi_lang -
mzscheme
+netbeans_intg +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_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -g -O2 -pipe -fno-strength-reduce -I/usr/include/
ncursesw -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -D_REENTRANT -
I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/
atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/
include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/
freetype2 -I/usr/include/libpng14 -g -O2 -pipe
Linking: gcc -g -O2 -pipe -fno-strength-reduce -I/usr/include/
ncursesw -L/usr/bin -L/usr/lib/ncursesw -o vim.exe -L/usr/bin -
lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -
lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -
lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lxcb-shm -
lxcb-render -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng14 -lpango-1.0 -
lm -lbz2 -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lffi -
lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lSM -lICE -
lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lelf -liconv -
lintl

--
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: