GNU bug report logs - #17168
24.3.50; Segfault at mark_object

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Wed, 2 Apr 2014 07:45:05 UTC

Severity: important

Tags: moreinfo

Merged with 15583, 15688, 15719, 15972, 16278, 16521, 17167, 17184

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: dmantipov <at> yandex.ru, 17168 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#17168: 24.3.50; Segfault at mark_object
Date: Sun, 06 Apr 2014 14:00:00 -0400
[[[ 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. ]]]

Thanks for writing a fix.  I think it can be simpler.

You accumulate a list of uninterned symbols whose names are pure.  Why
make this into a hash table and then a vector?  A list should suffice.

Or maybe some (or even all) uninterned symbols with pure string names
should be freed like all other symbols when not pointed to.  That
would be even simpler.

Is there really a need to avoid collecting some of them?

    As an optimization, when we build the final
    vector form of Fpure_reachable, we see whether each item is a symbol
    interned in the initial obarray. If it is, then instead of adding it to
    the vector, we mark the symbol as un-uninternable,

Or unintern could check whether the name is pure.

-- 
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.





This bug report was last modified 11 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.