all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Problem with large buffers
Date: Fri, 22 Jul 2005 21:12:40 +0300	[thread overview]
Message-ID: <874qam20vj.fsf@jurta.org> (raw)
In-Reply-To: <m3pstbm505.fsf@loki.cmears.id.au> (Chris Mears's message of "Fri, 22 Jul 2005 21:53:14 +1000")

>> I have encountered a problem with large buffers in CVS Emacs.  When some
>> commands are run on large-ish buffers Emacs seems to overflow some
>> internal limit.

I can easily reproduce this problem with just M-x gnus RET, so I get
an infinite loop and can't use Gnus with the freshest CVS.

Due to the large size of .newsrc-dribble in older Emacs version I get a
question:

  Buffer .newsrc-dribble undo info is 4823773 bytes long; discard it? (y or n)

but the latest CVS Emacs goes into an infinite loop:

(gdb) bt
#0  0x0813413f in truncate_undo_list (b=0xb4d6160) at undo.c:365
#1  0x08137b62 in Fgarbage_collect () at alloc.c:4712
#2  0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc8b10) at eval.c:2797
#3  0x0814d480 in call1 (fn=138217929, arg1=38590184) at eval.c:2651
#4  0x08133ff8 in truncate_undo_list (b=0x9288be8) at undo.c:384
#5  0x08137b62 in Fgarbage_collect () at alloc.c:4712
#6  0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc8c70) at eval.c:2797
#7  0x0814d480 in call1 (fn=138217929, arg1=38590184) at eval.c:2651
#8  0x08133ff8 in truncate_undo_list (b=0x9288be8) at undo.c:384
#9  0x08137b62 in Fgarbage_collect () at alloc.c:4712
#10 0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc8dd0) at eval.c:2797
#11 0x0814d480 in call1 (fn=138217929, arg1=38590184) at eval.c:2651
#12 0x08133ff8 in truncate_undo_list (b=0x9288be8) at undo.c:384
#13 0x08137b62 in Fgarbage_collect () at alloc.c:4712
#14 0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc8f30) at eval.c:2797
#15 0x0814d480 in call1 (fn=138217929, arg1=38590184) at eval.c:2651
#16 0x08133ff8 in truncate_undo_list (b=0x9288be8) at undo.c:384
#17 0x08137b62 in Fgarbage_collect () at alloc.c:4712
#18 0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc9090) at eval.c:2797
#19 0x0814d480 in call1 (fn=138217929, arg1=38590184) at eval.c:2651
#20 0x08133ff8 in truncate_undo_list (b=0x9288be8) at undo.c:384
#21 0x08137b62 in Fgarbage_collect () at alloc.c:4712
#22 0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc91f0) at eval.c:2797
#23 0x0814d480 in call1 (fn=138217929, arg1=38590184) at eval.c:2651
...
(gdb) fr 2
#2  0x0814d9a7 in Ffuncall (nargs=2, args=0xbffc8b10) at eval.c:2797
2797      if (consing_since_gc > gc_cons_combined_threshold)
(gdb) p consing_since_gc
$1 = 12021988
(gdb) p gc_cons_combined_threshold
$2 = 7484150
(gdb) p args[0]
$3 = 138217929
(gdb) xty
Lisp_Symbol
(gdb) xsy
$4 = (struct Lisp_Symbol *) 0x83d09c8
"undo-outer-limit-truncate"

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2005-07-22 18:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-22  4:56 Problem with large buffers Chris Mears
2005-07-22 11:13 ` Mathias Dahl
2005-07-22 11:53 ` Chris Mears
2005-07-22 18:12   ` Juri Linkov [this message]
2005-07-22 22:51 ` Richard M. Stallman
2005-07-23  0:05   ` Chris Mears
2005-07-24  0:00     ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874qam20vj.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.