Hi,
> No it always segfault in the third attempt.
> a) create tags files
> b) switch to a different branch/version (in other words change some c files=
> )
> c) run gtags -c -i -f gtags.file . it will throw an error primary key size =
> =3D 0
> d) run gtags -c -i -f gtags.file it will segfault
What Hideki says is "The tag files might already corrupted before the d)",
I think. It is not significant to test on broken tag files. Only the first
error, that is, the c) is significant.
So, we need the backtrace at the c).
$ /home/opensource/sources/global/gtags/gtags -c -f gtags.file <= create tag
files
(change some c files)
$ gdb /home/opensource/sources/global/gtags/gtags
(gdb) b die <= to break at die("primary key size ==
0.");
(gdb) r -c -i -f gtags.files <= incremental updating
(gdb) bt <= backtrace at the first error
Thank you in advance.
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global