From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#17168: 24.3.50; Segfault at mark_object Date: Sun, 06 Apr 2014 14:37:44 -0700 Message-ID: <5341C928.6040308@dancol.org> References: <87y4zop44m.fsf@yahoo.fr> <533C3AF5.6070502@yandex.ru> <533C6905.9060309@dancol.org> <83bnwjbh8v.fsf@gnu.org> <533C75A6.60900@dancol.org> <533D06E6.2060001@yandex.ru> <533D07EF.1040502@yandex.ru> <533D13E2.3060300@dancol.org> <533D251E.3030108@dancol.org> <533D6A19.8050504@yandex.ru> <533D9099.3000104@dancol.org> <533D9F2C.7030500@yandex.ru> <533D9FBB.2050803@dancol.org> <533DB4F0.20706@dancol.org> <534085B1.9070307@dancol.org> <534176F3.9090205@dancol.org> <5341B573.1010605@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HISDWBu1CwJFPPogbjUxsk3lJVwSmJJKL" X-Trace: ger.gmane.org 1396820305 16962 80.91.229.3 (6 Apr 2014 21:38:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2014 21:38:25 +0000 (UTC) Cc: Dmitry Antipov , 17168@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 06 23:38:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WWuld-0007ku-1f for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Apr 2014 23:38:17 +0200 Original-Received: from localhost ([::1]:59328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWulc-0002o3-Hz for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Apr 2014 17:38:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWulU-0002mt-DN for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 17:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWulP-0005DN-5F for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 17:38:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWulO-0005Ct-SS for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 17:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WWulO-0006m2-88 for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 17:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Apr 2014 21:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17168-submit@debbugs.gnu.org id=B17168.139682027426021 (code B ref 17168); Sun, 06 Apr 2014 21:38:02 +0000 Original-Received: (at 17168) by debbugs.gnu.org; 6 Apr 2014 21:37:54 +0000 Original-Received: from localhost ([127.0.0.1]:38454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWulG-0006lc-0s for submit@debbugs.gnu.org; Sun, 06 Apr 2014 17:37:54 -0400 Original-Received: from dancol.org ([96.126.100.184]:46587) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWulC-0006lS-BQ for 17168@debbugs.gnu.org; Sun, 06 Apr 2014 17:37:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=S1d3LPewh+8FcGZE0/lG0hJO6UTXdxyzyU0Lt+6fIxs=; b=IC+WzvnAJlX+tjrSWMWAzApaOziqxBobBbDnyx3CXyj/re6ggVzPh94N3bohLvNAJyR727+M0/tvVsNSvaByv5LRAXkyz/q5mznGfcuSqOt045NLRFOyibOX8j2LjhiYWEbw6AL+rXDZ9CjTSlVrEGGtOEEpFR3QpD1T/jIn2YAW5pfZDN3VrSQipim/dQ6ReeEsSp21SNEU9QFgA5KF1YLnwoRS0pQ+IIX/8nV7vHk0z7sgSuqf+95QntJFak6+UfmgM5y0l/myrFbEbkWczctVqqkTIZxVAUxSfArcuAGeVrWQPiY69oytv0yLbglzSRm7ZPrI5mbiTnQS9Nh+Vg==; Original-Received: from [2601:8:b200:551::2b1] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1WWul9-0006hY-1C; Sun, 06 Apr 2014 14:37:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: X-Enigmail-Version: 1.6 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87833 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HISDWBu1CwJFPPogbjUxsk3lJVwSmJJKL Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/06/2014 02:08 PM, Stefan Monnier wrote: >> Sure. But why would you ever want to unintern a symbol that pure stor= age >> references? >=20 > That's a good question. But it cuts both ways: if we don't know why > it's done, it's hard to judge if it can be disallowed. > I must say I don't very much like this idea of special-casing the > obarray and the symbols interned therein. I really can't think of any good reason why anyone would unintern a core symbol --- all the uses I can think of would be better served by either using advice or let-binding `obarray'. I sometimes use mass-uninterning to get rid of stale function names when I'm developing an elisp package, but this technique isn't useful for symbols referenced from pure storage, and a good alternative is just resetting value and symbol slots. (In fact, I shouldn't use unintern at all for this hack.) Since it's neither safe nor useful to unintern core symbols, I don't think it's worry about whether it's okay to forbid it. Besides: we already special-case the initial obarray for keywordp. Anyway, I'd like to get a fix into emacs-24 soon so we can make sure we've fixed the GC bug. Are you vetoing the general approach used in this patch? If so, I can look at alternatives. --HISDWBu1CwJFPPogbjUxsk3lJVwSmJJKL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTQckoAAoJEMAaIROpHW7IyjAP/A2mfW14WJO07omNRMGSkN6+ wJ/ovm2INGD8MA2KHW8dgKuWofYjUWq0UHwU0KlhcqVW3ThsvE/R4odwqB0eQ1MX rHZL7HsCEpkbqQsjKNhLg/k0hTEXh9mMsJfVWLJoICnGpoaU0k9aer40goPWlMFn VblCFy6Mta8kLLGjnItw5xHRSyGQddN21BFGi68lpWbmCttWCLdgjGcyPx9qKK8L hcuL2xZ1b/BzGr6yN72PCEXRAyieNwI9iCGej5GeP8NsYQ3i57epMQIW+B4Iu/Nh bXJa1mEl9LJz251eMC1vQfCrk7qejIa99uurLMsm9cEFdO3Ki7TZisht0sCpcX0M ifPXjx4Y8aZkOoy676tXN0SeATpbEuIJSlAyqgD5mJDhFM+RLfn+zcpwbXKQMlGL vVwaK9hlxabJA8SH/WujDX8e+OlW4HGkbBtY2J1kHfIj6tfQpMoCBS2eebe3sLtv yssF5uuIslgoEE4JkKxmemx9XSKZbjZaBisJzqgSipUb2RsdsU/Dqpzub5Wdbm/g EquEJ/xrBlX6oEOiSZ9b1ldNHwS14/PEfCOyKHyr3afpIXUbVgaSz83ZDA5YqENG ajWKRbUPG+dgST9wLZAq2eHI23a+Emmc4hvy/H68JTMm4M1eT9NmhVnxCj/3Qj3L GNC1BnJR3eiobRQ8NXga =eqxv -----END PGP SIGNATURE----- --HISDWBu1CwJFPPogbjUxsk3lJVwSmJJKL--