From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Fix to long-standing crashes in GC Date: 19 May 2004 18:50:42 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <40A3BC23.8060000@math.ku.dk> <200405180013.i4I0Ddl15818@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085008380 31220 80.91.224.253 (19 May 2004 23:13:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 23:13:00 +0000 (UTC) Cc: Luc Teirlinck , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 20 01:12:51 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQaF1-0006YR-00 for ; Thu, 20 May 2004 01:12:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQaF1-0003db-00 for ; Thu, 20 May 2004 01:12:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQZuH-0000MS-58 for emacs-devel@quimby.gnus.org; Wed, 19 May 2004 18:51:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQZuA-0000Lb-Mw for emacs-devel@gnu.org; Wed, 19 May 2004 18:51:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQZtd-0000Ef-3i for emacs-devel@gnu.org; Wed, 19 May 2004 18:51:17 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQZtc-0000EP-Sq; Wed, 19 May 2004 18:50:45 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id BFCB62115A; Wed, 19 May 2004 18:50:42 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id A988F8CA23; Wed, 19 May 2004 18:50:42 -0400 (EDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, autolearn=not spam, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23745 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23745 > Yesterday, I did a partial test where I wrote a fun to check all > Lisp_Misc blocks for invalid misc types (except Lisp_Misc_Free) for > every call to Fcons -- and no such problems occurred, i.e. the bad > misc cells pointed to from some cons cells were NOT in the marker > block chain... Hmm... was this run before, after, or during GC ? [ I assume it was before. ] Can you use the mem_find to try and figure out whether it's pointing at a GC-managed block or not? Can you also disable the block-release code (the one that calls xfree on blocks of cnos cells and lisp_misc objects) to see if it is maybe pointing to blocks that have been reclaimed? Stefan