From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: buffer.c 1.407 badness Date: Mon, 09 Dec 2002 15:22:24 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039483788 12842 80.91.224.249 (10 Dec 2002 01:29:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 01:29:48 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LZDV-0003Kj-00 for ; Tue, 10 Dec 2002 02:29:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LZNq-0002Vc-00 for ; Tue, 10 Dec 2002 02:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LV0l-0004y7-08 for emacs-devel@quimby.gnus.org; Mon, 09 Dec 2002 16:00:19 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LV0R-0004xZ-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 15:59:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LV0P-0004wY-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 15:59:59 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LUQ8-0007Kv-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 15:22:28 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18LUQ4-0008IA-00; Mon, 09 Dec 2002 15:22:24 -0500 Original-To: halley@play-bow.org In-reply-to: (message from Bob Halley on 07 Dec 2002 14:10:40 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10022 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10022 Does the patch below fix it? It fixes an obvious error. If it still fails, please examine the data in these frames: #5 0x0811c278 in mark_buffer (buf=0) at alloc.c:4816 #6 0x0811c334 in mark_buffer (buf=0) at alloc.c:4876 *** buffer.c.~1.407.~ Tue Dec 3 10:40:31 2002 --- buffer.c Sun Dec 8 22:55:47 2002 *************** *** 411,416 **** --- 411,420 ---- reset_buffer (b); reset_buffer_local_variables (b, 1); + b->mark = Fmake_marker (); + BUF_MARKERS (b) = Qnil; + b->name = name; + /* Put this in the alist of all live buffers. */ XSETBUFFER (buf, b); Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil)); *************** *** 421,429 **** /* buff is on buffer-alist, so no gcpro */ call1 (Qucs_set_table_for_input, buf); - b->mark = Fmake_marker (); - BUF_MARKERS (b) = Qnil; - b->name = name; return buf; } --- 425,430 ----