unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org
Subject: Re: Crash on invalid cons_free_list
Date: Wed, 14 Sep 2005 10:06:36 -0400	[thread overview]
Message-ID: <E1EFXuG-0004rE-5h@fencepost.gnu.org> (raw)
In-Reply-To: <m34q8p3zba.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

    It seems that most of the crashes triggered by VM are somehow related
    to mapcar -- and in this case a mapcar called inside mapatoms.

The crash happens when cons encounters invalid data in the free list.
However, the bug occurred earlier, when the data became invalid.

There is no evidence that it is directly related to this mapcar, or to
this mapatoms.  But if we look at which part of VM does this mapatoms,
then depending on how often it is done, it might offer some sort of
clue.  If VM does this mapatoms very often, perhaps all we can deduce
is that most of VM's consing is there, so if the bug happens in VM, it
would tend to show up there.  That doesn't really help.

However, if only a particular VM command does this mapatoms, and most
of VM's consing is done elsewhere, maybe it means the bug is in
something done by that command.  (Not necessarily WITHIN the
mapatoms--it could be earlier in the same command.)  That could narrow
things down to the point where it would be worth rechecking the C code
for any unusual thing done by that command.

  parent reply	other threads:[~2005-09-14 14:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13 14:23 Crash on invalid cons_free_list Chong Yidong
2005-09-13 12:52 ` Kim F. Storm
2005-09-13 18:03   ` Kevin Rodgers
2005-09-14 14:06   ` Richard M. Stallman [this message]
2005-09-14 15:07     ` David Kastrup
2005-09-15 12:59       ` Richard M. Stallman
2005-09-15 22:02       ` Juri Linkov

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=E1EFXuG-0004rE-5h@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=cyd@stupidchicken.com \
    --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 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).