Hey guys, I (may have) found a bug. I need someone to duplicate it for me. Basically, I can make Vim crash in a ruby script while adding a string method. It only happens on *some* auto-completion though - not all. For example:
If I were to try step 2 in this verification, Vim would behave as expected: https://github.com/vim-ruby/vim-ruby/wiki/VimRubySupport#verifying-installation What steps will reproduce the problem? 1. Use my .vimrc setup 2. Attempt to add an 11th line like the 10th (test_fail.rb; entered; not Yp) 3. CTRL-C will not get you out of it. The terminal session must be closed. What is the expected output? What do you see instead? The expected result: vim should not hang/crash. CTRL+C will not save me at this point. They terminal session (tab) must be closed manually. What version of the product are you using? On what operating system? Mac OS X (10.9); vim called within Terminal.app $ vim --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 26 2014 14:31:09) ... Please provide any additional information below. The Background: I have a fairly customized vim configuration that's been working without error for years on both Linux and OS X (10.8/9). This problem is occurring on the Mac; I've attempted the same test on Linux (Fedora 20 with the latest updates); Vim behaves as expected. I use the latest version of Vim from Homebrew and I only use it from within Terminal.app. $ brew install vim --override-system-vim --with-features=huge --disable-nls --enable-interp=lua,ruby,perl,python The problem: I'm learning Ruby. At some point I copy/paste some code into the test_fail.rb script and :wq - no worries. Follow the steps above to reproduce the problem. Again, Vim behaves as expected with test_pass.rb. I've isolated this down to AutoComplPop; I should include that I've used it for years without error. Since I've tripped over this problem I've also attempted with YouCompleteMe: I get the same failing result with both. I've included some (attachment) files in Google Drive: https://drive.google.com/open?id=0BwQ-8Qa4wxXNekM1SmRSVUZNS2M&authuser=0 bugreport.txt test_pass.rb (vim behaves well with ruby) test_fail.rb (vim does not behave well with ruby) my vim setup: .vimrc and .vim/ I suspect this has something to do with the compiler provided with the Mac OS but I'm not sure how to verify that. Thanks in advance, TT -- -- 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.
