The tag database is line oriented; after the heading (line (s) starting with !_TAG_FILE_... ), each line corresponds to a tag.
Using binary search, you can quickly find breaking lines: Save a copy of the tag file, delete one half of the test. If you still get the error, repeat (until you go down to one line). Otherwise, take the other half and repeat.
This is a general troubleshooting method; for example, it is also useful to find problems in Vim plugins (by disabling one half of them).
Ingo karkat
source share