Marc Weber wrote:
> How would you try to track this error down?
> Causing vimscript code:
>
> echo "tag_text is"
> echo tag_text
> echo "if"
> echo len(tag_text)
> if len(tag_text)>0
> echo "in if"
>
> output:
>
> tag_text is
> []
> if
> 0
>
> Then vim either hangs, crashes and occasionally shows some internal error..
> the shell shows this ugly string:
> *** glibc detected *** free(): invalid pointer: 0x084b1f0f ***
>
> This might be caused anywhere, right?
> Would a calling stack trace or output of gvim -Vfile help?
Assuming you do:
:let tag_text = []
Before this, I just get an error about a missing "endif".
We'll need more context to reproduce this problem.
--
Spam seems to be something useful to novices. Later you realize that
it's a bunch of indigestable junk that only clogs your system.
Applies to both the food and the e-mail!
/// 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 ///