emacs-devel
[Top][All Lists]
Advanced

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

Re: "make tags" segfaults


From: Kai Großjohann
Subject: Re: "make tags" segfaults
Date: Tue, 03 Sep 2002 13:57:58 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Francesco Potorti` <address@hidden> writes:

> I cannot reproduce the bug, and none of my tests fail.  Moreover, I
> cannot easily deduce where the memory corruption happens.  When
> developing, I usually instrument etags with a small checkmalloc library.
> If you can use a malloc checking library yourself, please try to do so
> and report the results to me.

I tried electric fence and got the following results:

/----
| [New Thread 1024 (LWP 15303)]
| 
|   Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens.
| 
| ElectricFence Aborting: free(40172ffc): address not from malloc().
| 
| Program received signal SIGILL, Illegal instruction.
| [Switching to Thread 1024 (LWP 15303)]
| 0x4004c781 in kill () from /lib/libc.so.6
| (gdb) where
| #0  0x4004c781 in kill () from /lib/libc.so.6
| #1  0x40020eb6 in EF_Abort () from /usr/lib/libefence.so.0
| #2  0x400207c4 in free () from /usr/lib/libefence.so.0
| #3  0x0804a4b0 in free_tree (np=0x4018afd8)
|     at /home-local/grossjoh/work/gnu/emacs/lib-src/etags.c:1931
| #4  0x08049f26 in process_file (fh=0x40176e94, 
|     fn=0x40174fd0 "/home-local/grossjoh/work/gnu/emacs/src/xdisp.c", lang=0x0)
|     at /home-local/grossjoh/work/gnu/emacs/lib-src/etags.c:1619
| #5  0x08049d72 in process_file_name (
|     file=0xbfffc8c5 "/home-local/grossjoh/work/gnu/emacs/src/xdisp.c", 
|     lang=0x0) at /home-local/grossjoh/work/gnu/emacs/lib-src/etags.c:1539
| #6  0x080497f1 in main (argc=180, argv=0xbfffc374)
|     at /home-local/grossjoh/work/gnu/emacs/lib-src/etags.c:1222
| (gdb) 
\----

However, I don't know what I'm doing, so maybe the above is totally
misleading or wrong...

Is anyone else getting the same problem, or is it just me?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)




reply via email to

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