[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with large buffers
From: |
Juri Linkov |
Subject: |
Re: Problem with large buffers |
Date: |
Fri, 22 Jul 2005 21:12:40 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> 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/