unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: GC bug investigation
Date: Mon, 24 Mar 2014 11:01:03 -0400	[thread overview]
Message-ID: <E1WS6N5-0000mN-Eg@fencepost.gnu.org> (raw)
In-Reply-To: <87zjkhx7x7.fsf@fencepost.gnu.org> (message from David Kastrup on Sun, 23 Mar 2014 16:15:48 +0100)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

    >      That
    >     we're reaching B at all indicates that it shouldn't be dead.
    >
    > I guess so.  This is the mysterious part.

    I may be missing something here, but I thought that Emacs was using a
    _conservative_ garbage collector by default.  That means that arbitrary
    garbage may mistakenly be considered as being in-use because some
    integer on the stack is misinterpreted as a pointer to it.

That is true, but it's a different question.

    > It is being marked through a spurious pointer randomly hanging around
    > in a stack slot for something else.  We don't know that there is any
    > real pointer to it.

    If that is the case, then any code supposed to work in conjunction with
    a conservative garbage collector has to able to deal with it.

Right.

The point is, if that symbol was never collected, how did 
the vector in its function cell get collected?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.




  reply	other threads:[~2014-03-24 15:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-22  1:47 Changes that should go into version 24.4 Richard Stallman
2014-03-22  1:57 ` Daniel Colascione
2014-03-22  8:44   ` Eli Zaretskii
2014-03-22  8:50     ` Daniel Colascione
2014-03-22  9:24       ` Eli Zaretskii
2014-03-22  9:08   ` Eli Zaretskii
2014-03-22  9:15     ` Daniel Colascione
2014-03-22 23:57   ` Richard Stallman
2014-03-23  1:58     ` GC bug investigation Daniel Colascione
2014-03-23  2:13       ` Daniel Colascione
2014-03-23 14:56         ` Richard Stallman
2014-03-23 14:57       ` Richard Stallman
2014-03-23 15:15         ` David Kastrup
2014-03-24 15:01           ` Richard Stallman [this message]
2014-03-23 15:22         ` Daniel Colascione
2014-03-23 16:14           ` Andreas Schwab
2014-03-24 15:01           ` Richard Stallman
2014-03-23 16:20         ` Eli Zaretskii
2014-03-23  3:57     ` Changes that should go into version 24.4 Eli Zaretskii

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=E1WS6N5-0000mN-Eg@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=dak@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).