bug-global
[Top][All Lists]
Advanced

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

gtags -i caused segfault


From: Hideki IWAMOTO
Subject: gtags -i caused segfault
Date: Wed, 22 Jun 2005 21:30:07 +0900

It seems that some problems are in operation of deletion.
  OS : Redhat Linux 9
  environment: GTAGSCACHE=100000000
  ~/.globalrc: format=standard

>tar xfj ~/download/linux/linux-2.0.40.tar.bz2 
>cd linux-2.0.40
>gtags
>gtags -i
>global -P | xargs touch
>gtags -i
Segmentation fault (core dumped)
>gdb gtags core.28598 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

Core was generated by `gtags -i'.
Program terminated with signal 11, Segmentation fault.
#0  0x0807a973 in memmove ()
(gdb) bt
#0  0x0807a973 in memmove ()
#1  0x0805573c in __bt_dleaf (t=0x80d46a8, key=0x0, h=0x881709c, index=0) at 
bt_delete.c:507
#2  0x08056106 in __bt_delete (dbp=0x88190f4, key=0xbfff9aac, flags=1) at 
bt_delete.c:114
#3  0x08050de4 in dbop_delete (dbop=0x80d6d20, path=0x0) at dbop.c:208
#4  0x0804d602 in gtags_delete (gtop=0x80d1260, path=0x81146f7 "ne.h") at 
gtagsop.c:555
#5  0x08048395 in updatetags (dbpath=0xbfffbca6 
"/home/iwamoto/tmp/linux-2.0.40", root=0xbfffaca5 
"/home/iwamoto/tmp/linux-2.0.40", path=
0x81146f7 "ne.h", type=0) at gtags.c:859
#6  0x080491ff in incremental (dbpath=0xbfffbca6 
"/home/iwamoto/tmp/linux-2.0.40", root=0xbfffaca5 
"/home/iwamoto/tmp/linux-2.0.40") at 
gtags.c:742
#7  0x0804a79a in main (argc=Variable "argc" is not available.
) at gtags.c:590


----
Hideki IWAMOTO  address@hidden




reply via email to

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