Description
In a project which is part of internal deployment running 1.12.12, some users noticed a strange thing: for a C file (fem.c
), the definitions in the file (as reported by the Navigate pane - clicking on these definitions lead to various lines in the file; this is also visible when searching) clearly come from a different file. The other file that should have these definitions (devfs_vnops.c
) has no definitions listed in the Navigate pane. It seems as if the ctags definitions got mixed up and broken during indexing. The initial indexing was done using OpenGrok 1.12.x and Universal Ctags 6.0.0(20c45ce9).
It would be worthwhile to add a check for this at the end of indexing (i.e. for each document in the index take its definitions and see if they are actually present in the corresponding file) and then run heavily parallelized indexing for the project multiple times to see if the issue can be reproduced.