[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: segfault with latest gtags

From: Shigio YAMAGUCHI
Subject: Re: Fwd: segfault with latest gtags
Date: Thu, 18 Feb 2010 10:42:06 +0900

> 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 
(change some c files)
$ gdb /home/opensource/sources/global/gtags/gtags 
(gdb) b die                             <= to break at die("primary key size == 
(gdb) r -c -i -f gtags.files            <= incremental updating
(gdb) bt                                <= backtrace at the first error

Thank you in advance.
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]