From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Crash calling md5 for a list of buffers
Date: Tue, 20 Jan 2004 10:11:57 -0700 [thread overview]
Message-ID: <400D615D.4060304@yahoo.com> (raw)
In-Reply-To: mailman.991.1074595908.928.bug-gnu-emacs@gnu.org
Dmitry Antipov wrote:
> Calling 'md5' can cause the crash with 'Fatal error (6).Aborted (core
> dumped)'.
> To reproduce, do:
> 1. Run emacs with a lot of buffers (for example, go to the source directory
> of some project and do 'emacs *.c'.
> 2. Eval one of:
> - (mapcar 'md5 (buffer-list)) or
> - (mapcar '(lambda (b) (md5 b nil nil 'raw-text)) (buffer-list))
...
> ---
> This bug is founded on Emacs 21.3 (GNU Emacs 21.3.1 (i686-pc-linux-gnu,
> X toolkit, Xaw3d scroll bars))
> on custom RedHat 9.0-based system (kernel version 2.4.24, gcc version
> 3.2.2, libc version 2.3.2-27.9.7 (comes
> from RedHat package)). Compilation flags are default '-g -O2'.
> I've also got exactly the same results with CVS shapshot (2004-01-20).
I cannot reproduce that on GNU Emacs 21.3.1 (i386-pc-solaris2.7, X
toolkit) of 2003-04-24 on briard. If I go to the emacs-21.3/src
directory, start Emacs as `./emacs-21.3.1 -q --no-site-file *.c',
then type `M-: (mapcar 'md5 (buffer-list)) RET', I get the following
*Backtrace*:
Debugger entered--Lisp error: (args-out-of-range 1 459097)
find-coding-systems-region-internal(1 459097)
find-coding-systems-region(1 459097)
select-safe-coding-system(1 459097 undecided-unix)
md5(#<buffer xdisp.c>)
mapcar(md5 (#<buffer xterm.c> #<buffer *Minibuf-1*> #<buffer xselect.c>
#<buffer xrdb.c> #<buffer xmenu.c> #<buffer xfns.c> #<buffer xfaces.c> #<buffer
xdisp.c> #<buffer window.c> #<buffer widget.c> #<buffer w32xfns.c> #<buffer
w32term.c> #<buffer w32select.c> #<buffer w32reg.c> #<buffer w32proc.c> #<buffer
w32menu.c> #<buffer w32inevt.c> #<buffer w32heap.c> #<buffer w32fns.c> #<buffer
w32console.c> #<buffer w32bdf.c> #<buffer w32.c> #<buffer w16select.c> #<buffer
vm-limit.c> #<buffer unexw32.c> #<buffer unexsunos4.c> #<buffer unexsni.c>
#<buffer unexnext.c> #<buffer unexmips.c> #<buffer unexhp9k800.c> #<buffer
unexenix.c> #<buffer unexelf.c> #<buffer unexec.c> #<buffer unexconvex.c>
#<buffer unexapollo.c> #<buffer unexalpha.c> #<buffer unexaix.c> #<buffer
undo.c> #<buffer tparam.c> #<buffer textprop.c> #<buffer terminfo.c> #<buffer
termcap.c> #<buffer term.c> #<buffer sysdep.c> #<buffer syntax.c> #<buffer
sunfns.c> #<buffer strftime.c> #<buffer sound.c> #<buffer search.c> #<buffer
scroll.c> ...))
eval((mapcar (quote md5) (buffer-list)))
eval-expression((mapcar (quote md5) (buffer-list)) nil)
* call-interactively(eval-expression)
--
Kevin Rodgers
next parent reply other threads:[~2004-01-20 17:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.991.1074595908.928.bug-gnu-emacs@gnu.org>
2004-01-20 17:11 ` Kevin Rodgers [this message]
[not found] ` <mailman.1021.1074618759.928.bug-gnu-emacs@gnu.org>
2004-01-20 18:57 ` Crash calling md5 for a list of buffers Kevin Rodgers
[not found] <mailman.1088.1074672016.928.bug-gnu-emacs@gnu.org>
2004-01-21 17:20 ` Kevin Rodgers
2004-01-21 8:56 Dmitry Antipov
-- strict thread matches above, loose matches on Subject: below --
2004-01-20 11:41 Dmitry Antipov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=400D615D.4060304@yahoo.com \
--to=ihs_4664@yahoo.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).