On 2011-04-25, Bram Moolenaar wrote:
> ZyX wrote:
> 
> > Attached script produces a bunch of E315 errors (total six) with
> > vim-7.3.135 (USE=(X acl bash-completion cscope gpm nls perl python
> > ruby vim-pager -debug - minimal)) from gentoo repos and with
> > vim-7.3.162 from mercurial repository compiled with huge features.
> > Note that it may require more then one launch to actually get the
> > error: it sometimes works normally (race condition anywhere?).
> 
> I can't reproduce it.  I also have no idea what race condition there
> could be.

I had a problem with vimdiff a few weeks ago that appeared to be due
to a race condition between the FilterWritePre event and the
TermResponse event.  I used the -V option to capture logs of "good"
runs vs. "bad" runs and the logs did seem to point to variations in
the time of arrival of the term response.  It appeared that the
arrival of the term response was causing some other activity to
terminate prematurely so that the FilterWritePre event was not being
executed at all.

I have not reported the problem because my default setup is
complicated and it would have taken more time than I had at the time
to refine the reproduction instructions to something small enough to
submit in a bug report.  A bug report without those instructions
would have been pointless.  I was also able to work around the
problem by moving a command from being executed by a FilterWritePre
event to being executed as part of the MyDiff() function.  (I use
MyDiff() for Unix as well as Windows so that I can use the diff
program's -d flag.)

I'm sorry I can't be of any more help at the moment.

Regards,
Gary

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui