all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Len Trigg <lenbok@gmail.com>
To: rms@gnu.org
Cc: 122@emacsbugs.donarmstrong.com, cyd@stupidchicken.com,
	bug-gnu-emacs@gnu.org
Subject: bug#122: 23.0.60; Slowdown in directory scanning over time.
Date: Thu, 11 Sep 2008 15:29:24 +1200	[thread overview]
Message-ID: <hb3ak7qs17.wl%len@netvalue.net.nz> (raw)
In-Reply-To: <E1KaKOI-0004ZP-7w@fencepost.gnu.org>

Richard M. Stallman wrote:
> The way to investigate this is to run Emacs with X, under GDB, and try
> stopping it during this operation by typing C-c at the GDB window
> occasionally and making a backtrace.  Then continue and stop it again,
> and make another backtrace, etc.  After several backtraces you may
> start to see a pattern that shows where it is spending the time.

OK, I started a new emacs a couple of days ago under gdb.  I ran the
lisp snippet scanning /usr/bin and it reported 0 seconds.  One day
later it gave 3 seconds (so already some slowdown).  I repeated it and
did some gdb backtraces while it was running.  Today the lisp snippet
took 7 seconds to run.  Again, I repeated the call and took several
backtraces.

The calls seem to be in a fairly even balance of mixture of
Fget_buffer and Fgarbage_collect.  Why creating a list of files in a
directory should be calling get_buffer is beyond me. list-buffers
shows about 40 buffers, and when I try switch-to-buffer with a leading
space, there are about 200 buffers listed (about 170 of which are
named like *code-conversion-work*<nnn>)

Cheers,
Len.

--- Day One Backtraces ---
(gdb) where
#0  Fget_buffer (name=196878843) at buffer.c:261
#1  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#2  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#3  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=195343227, from=0, from_byte=0, to=6, to_byte=6,
    dst_object=137820409) at coding.c:7201
#4  0x080b886e in code_convert_string (string=195343227, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#5  0x080b89e8 in code_convert_string_norecord (string=195343227, coding_system=138040193, encodep=0) at coding.c:8525
#6  0x08148e6d in directory_files_internal (directory=196579291, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#7  0x0814917a in Fdirectory_files (directory=196579291, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#8  0x0817b194 in Feval (form=189817397) at eval.c:2383

(gdb) where
#0  0x081845bc in Fstring_equal (s1=184620323, s2=193968227) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=193968227) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=193516003, from=0, from_byte=0, to=12, to_byte=12,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=193516003, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=193516003, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=196579291, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=196579291, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=189817397) at eval.c:2383

(gdb) where
[many pages omitted]
#12423 0x0816393e in mark_object (arg=137972241) at alloc.c:5545
#12424 0x08163a1f in mark_object (arg=179302621) at alloc.c:5655
#12425 0x0816393e in mark_object (arg=138015521) at alloc.c:5545
#12426 0x08163a1f in mark_object (arg=186491733) at alloc.c:5655
#12427 0x0816393e in mark_object (arg=137820361) at alloc.c:5545
#12428 0x0816393e in mark_object (arg=137820385) at alloc.c:5545
#12429 0x08163928 in mark_object (arg=191577785) at alloc.c:5543
#12430 0x08163def in mark_vectorlike (ptr=0x836fce0) at alloc.c:5365
#12431 0x08166dff in Fgarbage_collect () at alloc.c:5078
#12432 0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#12433 0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#12434 0x081355d5 in Fkill_buffer (buffer=197675196) at buffer.c:1445
#12435 0x080b901f in code_conversion_restore (arg=188523421) at coding.c:7005
#12436 0x08179b1d in unbind_to (count=160, value=197674755) at eval.c:3397
#12437 0x080b886e in code_convert_string (string=197725859, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#12438 0x080b89e8 in code_convert_string_norecord (string=197725859, coding_system=138040193, encodep=0) at coding.c:8525
#12439 0x08148e6d in directory_files_internal (directory=196579291, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#12440 0x0814917a in Fdirectory_files (directory=196579291, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#12441 0x0817b194 in Feval (form=189817397) at eval.c:2383

(gdb) where
[many pages omitted]
#12143 0x08163933 in mark_object (arg=147731373) at alloc.c:5544
#12144 0x0816393e in mark_object (arg=137972241) at alloc.c:5545
#12145 0x08163a1f in mark_object (arg=179302621) at alloc.c:5655
#12146 0x0816393e in mark_object (arg=138015521) at alloc.c:5545
#12147 0x08163a1f in mark_object (arg=186491733) at alloc.c:5655
#12148 0x0816393e in mark_object (arg=137820361) at alloc.c:5545
#12149 0x0816393e in mark_object (arg=137820385) at alloc.c:5545
#12150 0x08163928 in mark_object (arg=191577785) at alloc.c:5543
#12151 0x08163def in mark_vectorlike (ptr=0x836fce0) at alloc.c:5365
#12152 0x08166dff in Fgarbage_collect () at alloc.c:5078
#12153 0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#12154 0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#12155 0x081355d5 in Fkill_buffer (buffer=195696876) at buffer.c:1445
#12156 0x080b901f in code_conversion_restore (arg=189705981) at coding.c:7005
#12157 0x08179b1d in unbind_to (count=160, value=197035867) at eval.c:3397
#12158 0x080b886e in code_convert_string (string=197033387, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#12159 0x080b89e8 in code_convert_string_norecord (string=197033387, coding_system=138040193, encodep=0) at coding.c:8525
#12160 0x08148e6d in directory_files_internal (directory=195167243, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#12161 0x0814917a in Fdirectory_files (directory=195167243, full=137820361, match=137820361, nosort=137820361) at dired.c:347

(gdb) where
#0  Fgarbage_collect () at alloc.c:5856
#1  0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#2  0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#3  0x081355d5 in Fkill_buffer (buffer=197100188) at buffer.c:1445
#4  0x080b901f in code_conversion_restore (arg=188059837) at coding.c:7005
#5  0x08179b1d in unbind_to (count=160, value=197100003) at eval.c:3397
#6  0x080b886e in code_convert_string (string=197088803, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#7  0x080b89e8 in code_convert_string_norecord (string=197088803, coding_system=138040193, encodep=0) at coding.c:8525
#8  0x08148e6d in directory_files_internal (directory=195167243, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#9  0x0814917a in Fdirectory_files (directory=195167243, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#10 0x0817b194 in Feval (form=194228701) at eval.c:2383



--- Day Two Backtraces ---
(gdb) where -50
#0  0x08184629 in Fstring_equal (s1=196065283, s2=208078795) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=208078795) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=208096283, from=0, from_byte=0, to=10, to_byte=10,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=208096283, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=208096283, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=216322659, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=216322659, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=193837069) at eval.c:2383
#

(gdb) where -50
#0  0x081845bc in Fstring_equal (s1=190322379, s2=221887595) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=221887595) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=202026699, from=0, from_byte=0, to=7, to_byte=7,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=202026699, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=202026699, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=216322659, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=216322659, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#

(gdb) where -50
#0  0x08163918 in mark_object (arg=137820361) at alloc.c:5540
#1  0x08163def in mark_vectorlike (ptr=0xb064218) at alloc.c:5365
#2  0x08163def in mark_vectorlike (ptr=0xb046658) at alloc.c:5365
#3  0x08163def in mark_vectorlike (ptr=0xb041f90) at alloc.c:5365
#4  0x08163def in mark_vectorlike (ptr=0xb041e70) at alloc.c:5365
#5  0x08163def in mark_vectorlike (ptr=0x8408178) at alloc.c:5365
#6  0x08163def in mark_vectorlike (ptr=0x83def70) at alloc.c:5365
#7  0x08166dff in Fgarbage_collect () at alloc.c:5078
#8  0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#9  0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#10 0x081355d5 in Fkill_buffer (buffer=222457108) at buffer.c:1445
#11 0x080b901f in code_conversion_restore (arg=194838373) at coding.c:7005
#12 0x08179b1d in unbind_to (count=160, value=198800851) at eval.c:3397
#13 0x080b886e in code_convert_string (string=198853539, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#14 0x080b89e8 in code_convert_string_norecord (string=198853539, coding_system=138040193, encodep=0) at coding.c:8525
#15 0x08148e6d in directory_files_internal (directory=216322659, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#16 0x0814917a in Fdirectory_files (directory=216322659, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#17 0x0817b194 in Feval (form=193837069) at eval.c:2383
#

(gdb) where -50
#0  0x08184629 in Fstring_equal (s1=189869411, s2=196249035) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=196249035) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=220991979, from=0, from_byte=0, to=8, to_byte=8,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=220991979, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=220991979, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=216322659, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=216322659, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=193837069) at eval.c:2383
#

(gdb) where -50
#0  0x081845be in Fstring_equal (s1=190912227, s2=217450235) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=217450235) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=217882579, from=0, from_byte=0, to=10, to_byte=10,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=217882579, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=217882579, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=214603771, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=214603771, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=191831085) at eval.c:2383
#

(gdb) where -50
#0  0x081845bc in Fstring_equal (s1=191578811, s2=195676059) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=195676059) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=195551091, from=0, from_byte=0, to=17, to_byte=17,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=195551091, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=195551091, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=214603771, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=214603771, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=191831085) at eval.c:2383
#

(gdb) where -50
#0  0x0816390f in mark_object (arg=142625740) at alloc.c:5678
#1  0x08163def in mark_vectorlike (ptr=0x8800410) at alloc.c:5365
#2  0x08163def in mark_vectorlike (ptr=0x8760d60) at alloc.c:5365
#3  0x08163def in mark_vectorlike (ptr=0x838a740) at alloc.c:5365
#4  0x08166dff in Fgarbage_collect () at alloc.c:5078
#5  0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#6  0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#7  0x081355d5 in Fkill_buffer (buffer=222055956) at buffer.c:1445
#8  0x080b901f in code_conversion_restore (arg=192601293) at coding.c:7005
#9  0x08179b1d in unbind_to (count=160, value=222055579) at eval.c:3397
#10 0x080b886e in code_convert_string (string=222243771, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#11 0x080b89e8 in code_convert_string_norecord (string=222243771, coding_system=138040193, encodep=0) at coding.c:8525
#12 0x08148e6d in directory_files_internal (directory=213694619, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#13 0x0814917a in Fdirectory_files (directory=213694619, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#14 0x0817b194 in Feval (form=194208933) at eval.c:2383
#


#603 0x0816393e in mark_object (arg=137820361) at alloc.c:5545
#604 0x0816393e in mark_object (arg=137820385) at alloc.c:5545
#605 0x08163928 in mark_object (arg=191577785) at alloc.c:5543
#606 0x08163def in mark_vectorlike (ptr=0x836fce0) at alloc.c:5365
#607 0x08166dff in Fgarbage_collect () at alloc.c:5078
#608 0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#609 0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#610 0x081355d5 in Fkill_buffer (buffer=194289132) at buffer.c:1445
#611 0x080b901f in code_conversion_restore (arg=194202789) at coding.c:7005
#612 0x08179b1d in unbind_to (count=160, value=198722819) at eval.c:3397
#613 0x080b886e in code_convert_string (string=221890867, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#614 0x080b89e8 in code_convert_string_norecord (string=221890867, coding_system=138040193, encodep=0) at coding.c:8525
#615 0x08148e6d in directory_files_internal (directory=213694619, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#616 0x0814917a in Fdirectory_files (directory=213694619, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#617 0x0817b194 in Feval (form=194208933) at eval.c:2383
#

(gdb) where -50
#0  0x0816719b in Fgarbage_collect () at alloc.c:2218
#1  0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#2  0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#3  0x081355d5 in Fkill_buffer (buffer=212512388) at buffer.c:1445
#4  0x080b901f in code_conversion_restore (arg=194835013) at coding.c:7005
#5  0x08179b1d in unbind_to (count=160, value=196608707) at eval.c:3397
#6  0x080b886e in code_convert_string (string=198721867, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#7  0x080b89e8 in code_convert_string_norecord (string=198721867, coding_system=138040193, encodep=0) at coding.c:8525
#8  0x08148e6d in directory_files_internal (directory=213694619, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#9  0x0814917a in Fdirectory_files (directory=213694619, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#10 0x0817b194 in Feval (form=194208933) at eval.c:2383
#

#770 0x08163928 in mark_object (arg=191577785) at alloc.c:5543
#771 0x08163def in mark_vectorlike (ptr=0x836fce0) at alloc.c:5365
#772 0x08166dff in Fgarbage_collect () at alloc.c:5078
#773 0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#774 0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#775 0x081355d5 in Fkill_buffer (buffer=198416924) at buffer.c:1445
#776 0x080b901f in code_conversion_restore (arg=192601365) at coding.c:7005
#777 0x08179b1d in unbind_to (count=160, value=198227619) at eval.c:3397
#778 0x080b886e in code_convert_string (string=196609195, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#779 0x080b89e8 in code_convert_string_norecord (string=196609195, coding_system=138040193, encodep=0) at coding.c:8525
#780 0x08148e6d in directory_files_internal (directory=216744507, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#781 0x0814917a in Fdirectory_files (directory=216744507, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#782 0x0817b194 in Feval (form=209294021) at eval.c:2383
#

#598 0x0816393e in mark_object (arg=137820361) at alloc.c:5545
#599 0x0816393e in mark_object (arg=137820385) at alloc.c:5545
#600 0x08163928 in mark_object (arg=191577785) at alloc.c:5543
#601 0x08163def in mark_vectorlike (ptr=0x836fce0) at alloc.c:5365
#602 0x08166dff in Fgarbage_collect () at alloc.c:5078
#603 0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#604 0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#605 0x081355d5 in Fkill_buffer (buffer=198216204) at buffer.c:1445
#606 0x080b901f in code_conversion_restore (arg=194202981) at coding.c:7005
#607 0x08179b1d in unbind_to (count=160, value=222454971) at eval.c:3397
#608 0x080b886e in code_convert_string (string=198213795, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#609 0x080b89e8 in code_convert_string_norecord (string=198213795, coding_system=138040193, encodep=0) at coding.c:8525
#610 0x08148e6d in directory_files_internal (directory=216744507, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#611 0x0814917a in Fdirectory_files (directory=216744507, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#612 0x0817b194 in Feval (form=209294021) at eval.c:2383
#

#601 0x0816393e in mark_object (arg=137820385) at alloc.c:5545
#602 0x08163928 in mark_object (arg=191577785) at alloc.c:5543
#603 0x08163def in mark_vectorlike (ptr=0x836fce0) at alloc.c:5365
#604 0x08166dff in Fgarbage_collect () at alloc.c:5078
#605 0x0817b9cc in Ffuncall (nargs=1, args=0xbfaa3d58) at eval.c:2976
#606 0x0817d0d1 in run_hook_with_args (nargs=1, args=0xbfaa3d58, cond=until_failure) at eval.c:2701
#607 0x081355d5 in Fkill_buffer (buffer=202062812) at buffer.c:1445
#608 0x080b901f in code_conversion_restore (arg=194834997) at coding.c:7005
#609 0x08179b1d in unbind_to (count=160, value=221136507) at eval.c:3397
#610 0x080b886e in code_convert_string (string=222456051, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#611 0x080b89e8 in code_convert_string_norecord (string=222456051, coding_system=138040193, encodep=0) at coding.c:8525
#612 0x08148e6d in directory_files_internal (directory=216744507, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#613 0x0814917a in Fdirectory_files (directory=216744507, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#614 0x0817b194 in Feval (form=209294021) at eval.c:2383
#

(gdb) where -50
#0  0x0818459c in Fstring_equal (s1=194183139, s2=211406875) at fns.c:230
#1  0x08133cbd in Fget_buffer (name=211406875) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=211990507, from=0, from_byte=0, to=11, to_byte=11,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=211990507, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=211990507, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=216744507, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=216744507, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=209294021) at eval.c:2383
#

(gdb) where -50
#0  Fstring_equal (s1=192511995, s2=195140291) at fns.c:236
#1  0x08133cbd in Fget_buffer (name=195140291) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=195140227, from=0, from_byte=0, to=9, to_byte=9,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=195140227, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=195140227, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=217102067, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=217102067, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=196791149) at eval.c:2383
#

(gdb) where -50
#0  Fstring_equal (s1=192565003, s2=190438459) at fns.c:230
#1  0x08133cbd in Fget_buffer (name=190438459) at buffer.c:261
#2  0x08133fc7 in Fgenerate_new_buffer_name (name=137883971, ignore=137820361) at buffer.c:867
#3  0x080b78ac in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6970
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=190433283, from=0, from_byte=0, to=26, to_byte=26,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=190433283, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=190433283, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=217102067, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=217102067, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=196791149) at eval.c:2383
#

(gdb) where -50
#0  0x08184629 in Fstring_equal (s1=190379323, s2=200546291) at fns.c:233
#1  0x08133cbd in Fget_buffer (name=200546291) at buffer.c:261
#2  0x08134644 in Fget_buffer_create (name=200546291) at buffer.c:347
#3  0x080b78b4 in code_conversion_save (with_work_buf=1, multibyte=1) at coding.c:6971
#4  0x080b83da in decode_coding_object (coding=0xbfaa3dec, src_object=202101795, from=0, from_byte=0, to=23, to_byte=23,
    dst_object=137820409) at coding.c:7201
#5  0x080b886e in code_convert_string (string=202101795, coding_system=138040193, dst_object=137820409, encodep=0, nocopy=0,
    norecord=1) at coding.c:8504
#6  0x080b89e8 in code_convert_string_norecord (string=202101795, coding_system=138040193, encodep=0) at coding.c:8525
#7  0x08148e6d in directory_files_internal (directory=217102067, full=137820361, match=137820361, nosort=137820361, attrs=0,
    id_format=137820361) at dired.c:237
#8  0x0814917a in Fdirectory_files (directory=217102067, full=137820361, match=137820361, nosort=137820361) at dired.c:347
#9  0x0817b194 in Feval (form=196791149) at eval.c:2383
#







  reply	other threads:[~2008-09-11  3:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26 22:29 bug#122: 23.0.60; Slowdown in directory scanning over time Chong Yidong
2008-08-27  3:02 ` Len Trigg
2008-08-31 21:57 ` Len Trigg
2008-09-02  1:09   ` Richard M. Stallman
2008-09-11  3:29     ` Len Trigg [this message]
2008-09-11  4:18       ` Chong Yidong
     [not found]       ` <E1KdpeJ-0004Sb-Oj@fencepost.gnu.org>
2008-09-11 22:35         ` Len Trigg
2008-09-12  0:42           ` Chong Yidong
2008-09-12  4:00             ` Len Trigg
2008-09-14 21:24               ` Len Trigg
2008-09-15  1:04         ` Kenichi Handa
2008-09-15  2:42           ` Len Trigg
2008-09-15 18:26           ` Richard M. Stallman
2008-09-16  1:09             ` Kenichi Handa
2008-09-16 16:18               ` Richard M. Stallman
2008-09-15 18:26           ` Richard M. Stallman
2008-09-16  1:27             ` Kenichi Handa
2008-09-16 13:25               ` Stefan Monnier
2008-09-17  2:19                 ` Kenichi Handa
2008-09-17 16:02                   ` Stefan Monnier

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=hb3ak7qs17.wl%len@netvalue.net.nz \
    --to=lenbok@gmail.com \
    --cc=122@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=rms@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.