[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 |
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 <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
- segfault with latest gtags, Aneesh Kumar, 2010/02/11
- Re: segfault with latest gtags, Hideki IWAMOTO, 2010/02/11
- Re: segfault with latest gtags, Aneesh Kumar, 2010/02/12
- Re: segfault with latest gtags, Hideki IWAMOTO, 2010/02/13
- Re: segfault with latest gtags, Aneesh Kumar, 2010/02/15
- Re: segfault with latest gtags, Hideki IWAMOTO, 2010/02/17
- Message not available
- Fwd: segfault with latest gtags, Aneesh Kumar, 2010/02/17
- Re: Fwd: segfault with latest gtags,
Shigio YAMAGUCHI <=
- Re: Fwd: segfault with latest gtags, Aneesh Kumar, 2010/02/18
- Re: Fwd: segfault with latest gtags, Hideki IWAMOTO, 2010/02/18
- Re: Fwd: segfault with latest gtags, Hideki IWAMOTO, 2010/02/18
- Re: Fwd: segfault with latest gtags, Aneesh Kumar, 2010/02/18