bug-global
[Top][All Lists]
Advanced

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

Re: Segmentation fault (C version htags )


From: Hideki IWAMOTO
Subject: Re: Segmentation fault (C version htags )
Date: Wed, 04 Aug 2004 21:45:27 +0900

On Tue, 03 Aug 2004 20:02:06 +0900, Hideki IWAMOTO wrote...
> If htags is executed on the source tree of GLOBAL after build, Segmentation 
> fault will occur.

This does not occur on current CVS version.
However, while converting source of the GNU make version 3.80, segmentation 
fault occurs.

>tar xfj ~/download/make/make-3.80.tar.bz2 
>cd make-3.80
>htags -g
Segmentation fault (core dumped)
>gdb htags core.25338 
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  0x456563fb in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0  0x456563fb in _int_malloc () from /lib/tls/libc.so.6
#1  0x4565560b in malloc () from /lib/tls/libc.so.6
#2  0x4560b3ef in qsort () from /lib/tls/libc.so.6
#3  0x080560fd in anchor_load (file=0x80e847a "getopt.h") at anchor.c:159
#4  0x08055b8b in src2html (src=0x80e847a "getopt.h", html=0xbfff7d70 "gzip -c 
>/home/iwamoto/tmp/make-3.80/HTML/S/9.ghtml", 
    notsource=0) at src2html.c:554
#5  0x0804de8f in main (argc=0, argv=0x808d028) at htags.c:691
>rm -fr HTML
>htags
Segmentation fault (core dumped)
>gdb htags core.26419
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'.
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  0x456563fb in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0  0x456563fb in _int_malloc () from /lib/tls/libc.so.6
#1  0x4565560b in malloc () from /lib/tls/libc.so.6
#2  0x4560b3ef in qsort () from /lib/tls/libc.so.6
#3  0x080560fd in anchor_load (file=0x80e847a "dep.h") at anchor.c:159
#4  0x08055b8b in src2html (src=0x80e847a "dep.h", html=0xbfff7670 "gzip -c 
>/home/iwamoto/tmp/make-3.80/HTML/S/2.ghtml", 
    notsource=0) at src2html.c:554
#5  0x0804de8f in main (argc=0, argv=0x808d024) at htags.c:691

----
Hideki IWAMOTO  address@hidden





reply via email to

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