bug-global
[Top][All Lists]
Advanced

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

Re: segfault with latest gtags


From: Hideki IWAMOTO
Subject: Re: segfault with latest gtags
Date: Fri, 12 Feb 2010 01:21:49 +0900

Hi.

> I have enabled builtin parser and i am getting the below segfault with
> incremental gtags

> #4  0x0804b8f1 in main (argc=<value optimized out>, argv=<value
> optimized out>) at gtags.c:436

Which version of GLOBAL are you using?
It seems that you are using version 5.7.6 that doesn't support built-in parser.

5.8
  435                 /*
  436                  * Version check. If existing tag files are old enough
  437                  * gtagsopen() abort with error message.

5.7.7
  435                  * removed by mistake.
  436                  */
  437                 if (!test("f", makepath(dbpath, dbname(GPATH), NULL)))

5.7.6
  435                         die("Old version tag file found. Please remake 
it.");
  436                 (void)incremental(dbpath, cwd);
  437                 exit(0);

5.7.5
  435                         strbuf_puts(sb, " 1>&2");
  436                 } else {
  437                         strbuf_puts(sb, " >/dev/null");

On Thu, 11 Feb 2010 10:04:13 +0530, Aneesh Kumar wrote...
> Hi,
> 
> I have enabled builtin parser and i am getting the below segfault with
> incremental gtags
> 
> -aneesh
> 
> Core was generated by `/home/opensource/build/global/gtags/gtags -c -i
> -f gtags.files'.
> Program terminated with signal 11, Segmentation fault.
> #0  dbop_next (dbop=0x8835850) at dbop.c:365
> 365                             else if (ismeta(dat.data))
> (gdb) where
> #0  dbop_next (dbop=0x8835850) at dbop.c:365
> #1  0x080501f5 in gtags_delete (gtop=0x8831198, deleteset=0x8830700)
> at gtagsop.c:465
> #2  0x0804a017 in updatetags (dbpath=0xbfdaa5f3
> "/home/opensource/sources/linux-2.6",
>     root=0xbfda95f2 "/home/opensource/sources/linux-2.6",
> deleteset=0x8830700, addlist=0x88306e0, db=2) at gtags.c:766
> #3  0x0804a1f5 in incremental (dbpath=0xbfdaa5f3
> "/home/opensource/sources/linux-2.6",
>     root=0xbfda95f2 "/home/opensource/sources/linux-2.6") at gtags.c:659
> #4  0x0804b8f1 in main (argc=<value optimized out>, argv=<value
> optimized out>) at gtags.c:436
> (gdb)
> 
> 
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-global

----
Hideki IWAMOTO  address@hidden




reply via email to

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