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 08:59:55 -0700 Message-ID: <534179FB.4090301@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> <838uri8pkf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9aVx5lEsvD49FudTnlEvVH0CcuLaco25J" X-Trace: ger.gmane.org 1396800027 25217 80.91.229.3 (6 Apr 2014 16:00:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2014 16:00:27 +0000 (UTC) Cc: dmantipov@yandex.ru, 17168@debbugs.gnu.org To: Eli Zaretskii , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 06 18:00:21 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 1WWpUZ-0005es-58 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Apr 2014 18:00:19 +0200 Original-Received: from localhost ([::1]:58486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWpUY-0008Qm-Hs for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Apr 2014 12:00:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWpUO-0008BJ-TR for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 12:00:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWpUK-0007Sg-J2 for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 12:00:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWpUK-0007RJ-EB for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 12:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WWpUJ-0002nu-LD for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 12:00:03 -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 16:00:03 +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.139680000110735 (code B ref 17168); Sun, 06 Apr 2014 16:00:03 +0000 Original-Received: (at 17168) by debbugs.gnu.org; 6 Apr 2014 16:00:01 +0000 Original-Received: from localhost ([127.0.0.1]:38238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWpUG-0002n2-Fb for submit@debbugs.gnu.org; Sun, 06 Apr 2014 12:00:00 -0400 Original-Received: from dancol.org ([96.126.100.184]:45025) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWpUD-0002ms-SP for 17168@debbugs.gnu.org; Sun, 06 Apr 2014 11:59:58 -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=e0Y/iSjJ3VPNLKYfUBIONDWihh/xiL8UKAT1emVkXK4=; b=jgTSIRfGBqyGClNQWVvEpRc8MiRsgdH4D7z1Zs5siO3qStUUl77VQe40Pqx+yh0sFNb3ucypcffBr6PUFHO4FUsofucTOd82xlvWSceL649pkwYU+z8l2Ir4Qw2QuFSttfZCq12PyiEp0tVzilI5kweymD+NuOTwo1fcrji5YZ9Zu5qcaDnyiDH9djda5kAgM09gZEyz+x0P+6R8vVAEODADVJwWPeeH+Hlrx6M56L4NonZhnfOdMixBQT7XaDy7kcKQh5XknrSfsvqpUZjtQREIgD4AxfMEo9+rs0GwjcFf5xa4latqXY5u9yF8W8Tb21FlZYgqJpMz1IrD6HU2/A==; 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 1WWpUC-0005Lb-61; Sun, 06 Apr 2014 08:59:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <838uri8pkf.fsf@gnu.org> 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:87806 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9aVx5lEsvD49FudTnlEvVH0CcuLaco25J Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/06/2014 08:06 AM, Eli Zaretskii wrote: >> From: Stefan Monnier >> Date: Sun, 06 Apr 2014 08:36:02 -0400 >> Cc: Dmitry Antipov , 17168@debbugs.gnu.org >> >>> This scheme works and passes Dmitry's test, but the resulting >>> Vpure_reachable vector has over 8,000 items. Most of these items are >>> ordinary interned symbols. >> >> What objects are there besides symbols in Vpure_reachable? >> If we can reduce Vpure_reachable to only contain symbols, then we can >> replace it with a `pinned' bit in the Lisp_Symbol struct and then walk= >> the list of symbols during mark, marking all those symbols with the >> `pinned' bit. >=20 > As an alternative, would it make sense to try to understand why the > problems started when they did? IOW, how come we never saw this until > now? Who knows? The problem arises we happen to form a pointer on the stack to an undead symbol, and *any* code change could be responsible for our doing that more frequently. I don't see you can blame it on 114156. > In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15583#23, Richard > provided the last good revno (113938) and the first bad one (114268); > I looked at that range of revisions, and 114156 looks relevant. How > about if we revert it and see if the problems go away? The bug would still be there, and we'd have no way to tell whether your proposed change actually reduced its occurrence to a tolerable level. Why would you want to do that instead of just fixing the bug? --9aVx5lEsvD49FudTnlEvVH0CcuLaco25J 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/ iQIcBAEBAgAGBQJTQXn7AAoJEMAaIROpHW7IY4AP+gLBjmLYLxhaSOlVErEbL1EJ 1Qbsp6UGJ81Nvqd7fWiE5POYRSnw5kB9IBfHted0Qz/kIk5pnwo8VXyJjAZkNz60 tV4jlakyPHV/sobE0ybvwbESFu6A3CSPWIaooBt64ZKt/UMbdfKJJjgwEYBEQU2n 6QxfTQDacXN1VNnK44jSV9p0VL7qQWsdR30g/bQ3G3mnXyc1OfhVIAoGiYlsrLb4 1vcFkbVEsWWzPj4g8xOjZ26V2bCIWpsJshzQiMGhcFXhSmJleT5zqIbPuY4eHx5O j0/ocf2cNcRG72fQQJ8/chWbtntzwhgefxUMiPLV6OcTLk9P57peotQOwvshs4AC jvBSLmRtBj6jX6QXFtPUMp0wvjsIyzRFojyJlPN3/3nZInJqAvbmOvEeHUitPqOs hpKkwUvpjKevJ3txFKswEvowjJnTXDS6Vxh/gf0EEPOtjFyRmTVRg+XfBHaWdnPW va8g3oGH5+3tIR6NO94DJnHQA0ylAXvgbj5ZeSpYhpRuiwNUz2zm7TRHMg4t408J xfn9LN2ZdT5+d5lWXBSn12tBPY1LzNHLQxQjxkisXQFbek3hbWt9jXgDCLM0mYvh Wc+80PM8c3/zW9hJvVIxOm1H3rhMqNc3Y5fGi0o7OdePZGrBzgADjlPkWAuLPTkE V2wBmDvo2PtbflVM+/KM =7o8d -----END PGP SIGNATURE----- --9aVx5lEsvD49FudTnlEvVH0CcuLaco25J--