GNU bug report logs - #28108
25.2; Infinite loop due to circular marker list?

Previous Next

Package: emacs;

Reported by: Adam Porter <adam <at> alphapapa.net>

Date: Wed, 16 Aug 2017 06:51:01 UTC

Severity: normal

Found in version 25.2

Done: Adam Porter <adam <at> alphapapa.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 28108 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: adam <at> alphapapa.net
Cc: 28108 <at> debbugs.gnu.org
Subject: Re: bug#28108: 25.2; Infinite loop due to circular marker list?
Date: Thu, 17 Aug 2017 21:31:02 +0300
> Date: Thu, 17 Aug 2017 18:09:01 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 28108 <at> debbugs.gnu.org
> 
> Can you try typing the following command definition, and then running
> the command?  When you run it, does GDB also hang indefinitely?
> 
>   (gdb) define count-markers
>    > set $count = 0
>    > set $markers = BUF_MARKERS(b)
>    > while $markers != 0
>     > set $count = $count + 1
>     > print $count
>     > set $markers = $markers->next
>     > end
>    > end
>   (gdb) count-markers

I just realized that it might be good to say a few more words.

This command will print a long list of increasing numbers, as it walks
the linked list of buffer markers and counts them.  If it never ends,
you should be able to interrupt it with Ctrl-C, but please do let it
some serious time to run before you give up.  In any case, please tell
the last number it prints.

Thanks.




This bug report was last modified 7 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.