bug-global
[Top][All Lists]
Advanced

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

Re: Infinite loop when running gtags in Emacs


From: Shigio YAMAGUCHI
Subject: Re: Infinite loop when running gtags in Emacs
Date: Tue, 16 Sep 2014 10:11:43 +0900

Where did the infinite loop occur?
Although you said that 'The for loop on line 426 of mpool.c',
the line 426 is only a function call.

[libdb/mpool.c]
426:            (mp->pgout)(mp->pgcookie, bp->pgno, bp->page);

You mean that it occurred in __bt_pgout()? Otherwise, do I have
a misunderstanding something?

Shigio

2014-09-15 7:09 GMT+09:00 Matthew Leach <address@hidden>:
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

_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global



--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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