Dear developers

I observe the following strange behaviour of gvim 7.0 on Windows XP
built with HUGE features by my own:

I open gvim.exe, work with it or leave it without touching it for
half an hour. Then, within gvim.exe, I type ":q" or ":wq". gvim
saves the text, remove the .swp file and closes its window -- all as
expected. But if I invoke the Taskmanager by pressing
Ctrl-Alt_Delete, then I observe a gvim zombie hanging around within
the task list.

I have tried all to make this phenomena more reproducible, but
nothing helps: You may open and close gvim hundred times, or may
open and close with gvim a hundred files, you may do heavy work with
it or can leave it alone, all that does not matter. The only thing
that matters is the time you keep gvim open: On my (old) machine,
gvim closes properly if I quit it after five minutes, but if I quit
it only after 30 minutes, it keeps hanging around in the task list.

There is a second parameter that matters: The features you include
into your built of gvim. Alas, I could not yet found clearly, which
features this strange behaviour depends on.

Has anybody similar effects? Or do I do something wrong? See below
how I built my version of gvim.

Thanks very much for any help, hints, proposals or anything that
could help to trace down this effect.

With kind regards

Mathias

-- 
How I built my version of gvim:

I used the sources I found under

ftp://ftp.vim.org/pub/vim/pc/vim70src.zip
ftp://ftp.vim.org/pub/vim/pc/vim70rt.zip
ftp://ftp.vim.org/pub/vim/pc/vim70lang.zip

and used also if_sniff.c from

ftp://ftp.vim.org/pub/vim/extra/vim-7.0-extra.tar.gz

I applied all 17 patches I've grabbed from

ftp://ftp.vim.org/pub/vim/patches/7.0

and also applied my own patches I sent to this list:

http://groups.yahoo.com/group/vimdev/message/43765
http://groups.yahoo.com/group/vimdev/message/43821
http://groups.yahoo.com/group/vimdev/message/43825
http://groups.yahoo.com/group/vimdev/message/43850

To build gvim.exe, I used Microsoft Visual Studio 2005 Express
Edition (VSEE) and issued the commands

call "%VC8_DIR%\bin\vcvars32.bat"
call "%SDK_DIR%\setenv" /XP32 /RETAIL
nmake -f Make_mvc.mak FEATURES=HUGE GUI=yes OLE=yes \
  MBYTE=yes IME=yes GIME=yes SNIFF=yes CSCOPE=yes \
  ICONV=yes GETTEXT=yes POSTSCRIPT=no CPUNR=i686 \
  WINVER=0x0500 PERL="%ProgramFiles%\ActivePerl" \
  DYNAMIC_PERL=yes PERL_VER=58

Then I installed gvim by copying the .exe and .dlls as well as the
runtime files to %ProgramFiles%\Vim\vim70 and by running
install.exe. All worked great!

Reply via email to