Peter Odding wrote:
> Hi all. I wrote a Vim plug-in* that automatically keeps my global tags
> file up-to-date by executing Exuberant Ctags from a CursorHold autocmd.
> I've been happily using the plug-in for months now and today it started
> throwing the following error which I've never seen before:
>
> easytags.vim: Vim(let):E685: Internal error: hash_add() (at function
> easytags#autoload..easytags#highlight_cmd, line 4)
>
> When I looked up :help E685 I found the following:
>
> This is an internal error. If you can reproduce it, please send in a
> bug report.
>
> The good news is that reproducing the E685 error is a matter of calling
> taglist('.') using my tags file but the bad news is that the relevant
> tags file contains 5810 lines (649K) of personal information (e.g.
> extracts from several LaTeX documents) and I've never debugged Vim (nor
> any other binary for that matter). I don't really mind providing the
> tags file to someone who's willing to analyze this problem but I'm not
> happy with posting the file on a public mailing list either :-)
>
> Does anyone have suggestions?
Well, first save that tags file, generating it again may get rid of the
problem and we won't be able to reproduce it.
It's trange, hash tables are used a lot, it's unlikely that hash_add()
itself is wrong. Perhaps memory got corrupted somehow?
Can you reproduce the problem without loading scripts, just calling
taglist('.') before doing anything else?
I'm afraid that anonymyzing your tags file may make the problem go
away... Perhaps you can try ":%s/[a-zA-Z]/x/g" on it? Make a copy
first.
Ah! when I do this on the Vim source tags file I can actually reproduce
it! I'll put this in the todo list.
--
If Microsoft would build a car...
... You'd have to press the "Start" button to turn the engine off.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.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