[Top][All Lists]

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

Segmentation fault (C version htags )

From: Hideki IWAMOTO
Subject: Segmentation fault (C version htags )
Date: Tue, 03 Aug 2004 20:02:06 +0900

If htags is executed on the source tree of GLOBAL after build, Segmentation 
fault will occur.

version of GLOBAL : current CVS
OS : RedHat Linux 9
version of GCC : 3.4.1 (build from source)
version of glibc : 2.3.2-27.9 (RPM package)

>htags     <============= without -g, problem does not occur.

>htags -g
Segmentation fault (core dumped)
>gdb htags core.20497 
GNU gdb 6.1.1
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 `htags -g'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x4565629c in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0  0x4565629c in _int_malloc () from /lib/tls/libc.so.6
#1  0x4565560b in malloc () from /lib/tls/libc.so.6
#2  0x08050989 in open_file_queue (path=0x45714320 "") at fileindex.c:77
#3  0x08052ea0 in makefileindex (file=0xbfff4be0 
"/home/iwamoto/work/global/HTML/I/57.ghtml", files=0x808e348) at fileindex.c:887
#4  0x0804d919 in main (argc=0, argv=0x808d028) at htags.c:1744

Hideki IWAMOTO  address@hidden

reply via email to

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