Hi.
There is a bug to try to release a variable on stack area.
[repro steps]
test.vim:
----
let s:handle = ch_open('localhost:8765')
call ch_sendexpr(s:handle, 'hello!')
----
1. run server "python runtime/tools/demoserver.py"
2. vim -Nu NONE -S test.vim
3. input '["call", "function", ["tr"], -1]' to demoserver stdin.
then vim aborts.
----
Vim: Caught deadly signal ABRT
Vim: Finished.
----
[detail]
when "tv = &res_tv;",
https://github.com/vim/vim/blob/d77f9d5/src/channel.c#L2161
free_tv(tv) tries to release "res_tv", so vim aborts.
https://github.com/vim/vim/blob/d77f9d5/src/channel.c#L2177
[patch]
https://gist.github.com/ichizok/e69e1745cece199b0608523998c9a0b7
Thank you.
- Ozaki Kiichi
--
--
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.