Ken Takata wrote:

> 2016/2/4 Thu 9:38:19 UTC+9 Ken Takata wrote:
> > Hmm, I tried with 7.4.1256 and the problem #1 was not reproduced...
> > I don't know there was a related patch in the last 10 patches,
> > but my patch to vim.h doesn't seem to be needed now.
> 
> It seems that this was fixed with 7.4.1249.
> 
> 
> > (The problem #2 still occurs.)
> 
> The problem with Win32 GUI seems to be fixed by the attached patch.
> (Moving "!defined(FEAT_GUI_W32)" from vim.h to channel.c is optional.)

Thanks.  It looks like this doesn't use a timeout, more changes needed
later?

> However, with or without my patch, using callback causes a crash both on
> Windows and Linux (7.4.1256):
> 
>       let handle = ch_open('localhost:8765', 'json')
>       func MyHandler(handle, msg)
>         echo "from the handler: " . a:msg
>       endfunc
>       call ch_sendexpr(handle, 'hello!', "MyHandler")
> 
> Wait about 10 sec, then vim crashes.
> It seems that 7.4.1246 caused the regression.

I can reproduce it sometimes...

-- 
hundred-and-one symptoms of being an internet addict:
140. You'd rather catch a score on the web than watch the game as
     it is being played on tv.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui