From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Seibel Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Ediff frequently crashes emacs. Date: Mon, 27 Dec 2004 13:21:06 -0800 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104182497 22987 80.91.229.6 (27 Dec 2004 21:21:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 21:21:37 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon Dec 27 22:21:29 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cj2Iy-0000vK-00 for ; Mon, 27 Dec 2004 22:21:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cj2Tn-0000Bv-An for gebp-emacs-pretest-bug@gmane.org; Mon, 27 Dec 2004 16:32:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cj2Td-00008c-Jm for emacs-pretest-bug@gnu.org; Mon, 27 Dec 2004 16:32:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cj2Tb-0008WA-7r for emacs-pretest-bug@gnu.org; Mon, 27 Dec 2004 16:32:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cj2Ta-0008Vr-3U for emacs-pretest-bug@gnu.org; Mon, 27 Dec 2004 16:32:26 -0500 Original-Received: from [66.163.170.80] (helo=smtp810.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Cj2Ig-0001yH-JS for emacs-pretest-bug@gnu.org; Mon, 27 Dec 2004 16:21:10 -0500 Original-Received: from unknown (HELO xeon) (pseibel@pacbell.net@67.126.20.139 with login) by smtp810.mail.sc5.yahoo.com with SMTP; 27 Dec 2004 21:21:08 -0000 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Mon, 27 Dec 2004 13:06:13 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: emacs-pretest-bug.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.pretest.bugs:5174 gmane.emacs.devel:31477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31477 Richard Stallman writes: > Could you try enabling these definitions in lisp.h and recompiling, > and see if it helps you find the bug? Yes. Running as I write. I'll let you know the next time it crashes. This is progress however: a couple weeks ago I couldn't even build with these checks turned on. -Peter > > (If it crashes for any other reason, we want to debug that too.) > > > #if 0 > /* Define this temporarily to hunt a bug. If defined, the size of > strings is redundantly recorded in sdata structures so that it can > be compared to the sizes recorded in Lisp strings. */ > > #define GC_CHECK_STRING_BYTES 1 > > /* Define this to check for short string overrun. */ > > #define GC_CHECK_STRING_OVERRUN 1 > > /* Define this to check the string free list. */ > > #define GC_CHECK_STRING_FREE_LIST 1 > > /* Define this to check for malloc buffer overrun. */ > > #define XMALLOC_OVERRUN_CHECK 1 > > /* Define this to check for errors in cons list. */ > /* #define GC_CHECK_CONS_LIST 1 */ > > #endif /* 0 */ > -- Peter Seibel peter@javamonkey.com Lisp is the red pill. -- John Fraser, comp.lang.lisp