From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: GC and stack marking Date: Tue, 20 May 2014 13:54:16 -0400 Message-ID: References: <83a9add91p.fsf@gnu.org> <8338g4bd7m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1400608490 18738 80.91.229.3 (20 May 2014 17:54:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2014 17:54:50 +0000 (UTC) Cc: fabrice.popineau@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 20 19:54:42 2014 Return-path: Envelope-to: ged-emacs-devel@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 1WmoFM-00019A-KZ for ged-emacs-devel@m.gmane.org; Tue, 20 May 2014 19:54:40 +0200 Original-Received: from localhost ([::1]:54802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmoFM-0002sS-5z for ged-emacs-devel@m.gmane.org; Tue, 20 May 2014 13:54:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmoFC-0002rs-Gd for emacs-devel@gnu.org; Tue, 20 May 2014 13:54:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmoF2-00077v-CJ for emacs-devel@gnu.org; Tue, 20 May 2014 13:54:30 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmoF2-00077L-84; Tue, 20 May 2014 13:54:20 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s4KHsGL3021115; Tue, 20 May 2014 13:54:17 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AD20D60126; Tue, 20 May 2014 13:54:16 -0400 (EDT) In-Reply-To: <8338g4bd7m.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 20 May 2014 19:57:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4948=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4948> : inlines <901> : streams <1188548> : uri <1762397> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171962 Archived-At: >> But it shouldn't cause any trouble (other than extra memory use). > It does, due to all kinds of subtleties. The result is that the > large_vectors linked list gets dumped with a pointer to a non-existent > memory, and the dumped Emacs then crashes on the first GC when it > tries to traverse that linked list. We should fix that. > I think this is hopeless: I see this problem on a single system; two > others don't have it. It's just some semi-random garbage somehwre on > the stack. Of course, but if you can find where it comes from, we can fix that one case. After all, we don't know of any other anyway. Stefan