Benjamin Fritz wrote:
> The attached test_vimrc.vim sets up a command that (on Windows)
> generates a tags file asynchronously and then calls back into Vim using
> --remote-expr to add that tags file to the 'tags' option.
>
> The test_vimrc.vim also sets the 'cscopetag' option to enable selecting
> between multiple tag matches.
>
> After sourcing this test file, I can reliably make Vim crash as follows
> (edit the "let ctags_exec" line to match your own exuberant ctags path):
>
> 1. cd to a project top-level directory with at least one large code
> subdirectory following C/C++ coding practices of having function
> declarations separate from function definitions.
> 2. Execute the :Ctags command and wait for it to finish
> 3. cd into the large code subdirectory and edit a code file
> 4. Go to a function call within the code file
> 5. Execute the :Ctags command again, but don't wait for it to finish
> 6. Before the tags processing completes, use CTRL-] to select the tag
> for the function your cursor is on (presumably, you will have 2
> matches, one for the function prototype and one for the function
> definition)
> 7. Wait for the :Ctags command to finish
> 8. Try entering a number to select the tag to jump to
> 9. Vim crashes
>
> I'm using gvim 7.4.629 64-bit on Windows 7. I do have a couple custom
> patches applied but nothing affecting tags processing.
Are you able to get a stack trace of the crash? Or even better, have it
crash in a debugger?
--
A poem: read aloud:
<> !*''# Waka waka bang splat tick tick hash,
^"`$$- Caret quote back-tick dollar dollar dash,
!*=@$_ Bang splat equal at dollar under-score,
%*<> ~#4 Percent splat waka waka tilde number four,
&[]../ Ampersand bracket bracket dot dot slash,
|{,,SYSTEM HALTED Vertical-bar curly-bracket comma comma CRASH.
Fred Bremmer and Steve Kroese (Calvin College & Seminary of Grand Rapids, MI.)
/// 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.