I don't know if this is related to the crash bug I reported a while ago because ch_open() didn't return its own variable type at that time. Nevertheless, it was difficult to find the specific sequence that would reliably cause a crash without extraneous VimL code confusing things.

This is a Perl script and a Vim script. Place them both in the same directory and source channelcrash.vim and Vim should crash entirely--at least it does for me under Windows.

It appears that the culprit is an unlet on the variable storing the descriptor returned by ch_open(), within a message handling callback.

- Christian

--
          Any IC protected by a fast acting fuse protects the fuse.
Christian J. Robinson <[email protected]>      http://christianrobinson.name/

Attachment: channelcrash.pl
Description: Binary data

Attachment: channelcrash.vim
Description: Binary data

Raspunde prin e-mail lui