bug-global
[Top][All Lists]
Advanced

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

Infinite loop when running gtags in Emacs


From: Matthew Leach
Subject: Infinite loop when running gtags in Emacs
Date: Sun, 14 Sep 2014 22:09:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hello,

I'm trying to run 'gtags' in the src/ directory of the latest Emacs
development version. However, I seem to be running into an infinite
loop. Running gtags through gdb, there seems to be a problem with
mpool_look().

The for loop on line 426 of mpool.c is where it seems to be getting
stuck. Below is a dump of some gdb commands that will hopefully show why
we are stuck:

(gdb) p bp
$1 = (BKT *) 0x54f70
(gdb) p bp->pgno 
$2 = 1
(gdb) p pgno
$3 = 129
(gdb) p bp->hq.cqe_next
$4 = (struct _bkt *) 0x54f70
(gdb) p head
$5 = (struct _hqh *) 0x52b28

The BKT* at 0x54f70 is self-referential. Any ideas how we could have
ended up in this state? If it helps, I'm running this on a armv7l
system.

Thanks,
--
Matt



reply via email to

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