unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: Emacs crashes
Date: Wed, 15 Mar 2006 15:21:07 -0500	[thread overview]
Message-ID: <E1FJcUV-0002fw-0b@fencepost.gnu.org> (raw)
In-Reply-To: <17431.11106.207260.301400@kahikatea.snap.net.nz> (message from Nick Roberts on Wed, 15 Mar 2006 09:45:22 +1300)

     > The fact that there are thousands of recursive calls to mark_object is
     > not in itself a sign of a problem.  It is normal for the mark phase to
     > be deeply recursive.

    OK, I didn't know that.  Perhaps I should look at the bottom of the backtrace
    (i.e low frame nos) instead of the top.

That would be useful if you want to see what Emacs was doing when it
garbage collected, so as to see what recent previous activity might
have been responsible for the clobberage.

However, for finding out what data was clobbered, you need to look at
the innermost frames.  Finding out what data was clobbered is often useful
because often the clobberage is not entirely random.  It may, for instance,
be an overrun problem affecting the data immediately before in memory.

    $5 = (struct Lisp_Cons *) 0xa0024e8
    {
      car = 0x4, 
      u = {
	cdr = 0xffffffff, 
	chain = 0xffffffff
      }
    }

    These last addresses looks suspect I don't know what to do next.

It seems definitely invalid.

So we know that the code that clobbers can store -1.  That may be useful.
Is it always -1?

However, it seems clear that all the other data near this one are cons
cells too.  And cons cell slots are only used as cons cells.  An
overrun on a nearby cons cell seems rather implausible as a source of
error.

  parent reply	other threads:[~2006-03-15 20:21 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13 20:23 Emacs crashes Nick Roberts
2006-03-13 20:47 ` Chong Yidong
2006-03-13 22:06 ` Kim F. Storm
2006-03-14  0:39   ` Kenichi Handa
2006-03-14 16:09     ` Richard Stallman
2006-03-15  3:24       ` Giorgos Keramidas
2006-03-15 20:23         ` Richard Stallman
2006-03-14  1:02   ` Juanma Barranquero
2006-03-14  9:36     ` David Kastrup
2006-03-14 11:59       ` Juanma Barranquero
2006-03-14 17:45         ` Richard Stallman
2006-03-15  8:58           ` Juanma Barranquero
2006-03-17 16:32             ` Richard Stallman
2006-03-17 16:41               ` Juanma Barranquero
2006-03-14  1:37   ` Nick Roberts
2006-03-14 16:07   ` Chong Yidong
2006-03-14 16:15     ` Kim F. Storm
2006-03-14 16:09   ` Richard Stallman
2006-03-14 20:47     ` Kim F. Storm
2006-03-14 21:35       ` Chong Yidong
2006-03-15 20:21         ` Richard Stallman
2006-03-14 22:38       ` Kim F. Storm
2006-03-15  9:22         ` Nick Roberts
2006-03-15  9:28           ` David Kastrup
2006-03-15 11:35           ` Jan D.
2006-03-15  3:21       ` Giorgos Keramidas
2006-03-15 20:21       ` Richard Stallman
2006-03-15 15:41     ` Kim F. Storm
2006-03-15 17:05       ` Luc Teirlinck
2006-03-15 17:21       ` Chong Yidong
2006-03-15 19:03       ` Kim F. Storm
2006-03-15 21:40         ` Nick Roberts
2006-03-14  4:33 ` Eli Zaretskii
2006-03-14 20:45   ` Nick Roberts
2006-03-15  4:43     ` Eli Zaretskii
2006-03-15  7:49       ` Nick Roberts
2006-03-15 19:49         ` Eli Zaretskii
2006-03-15 21:40           ` Nick Roberts
2006-03-16 20:18             ` Richard Stallman
2006-03-16 21:25               ` Nick Roberts
2006-03-18 14:31                 ` Eli Zaretskii
2006-03-15 20:21     ` Richard Stallman [this message]
2006-03-16 20:18       ` Richard 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

  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=E1FJcUV-0002fw-0b@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=eliz@gnu.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 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).