From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: buffer.c/buffer.h:  How to add new buffer-local variables?
Date: Sun, 31 Mar 2019 06:49:57 +0300
Message-ID: <83B728B6-2120-4832-9C0E-717591260FCF@gnu.org>
References: <m2bm1sne5l.wl%esq@lawlist.com> <837ecfixb9.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="96666"; mail-complaints-to="usenet@blaine.gmane.org"
User-Agent: K-9 Mail for Android
To: emacs-devel@gnu.org,Keith David Bershatsky <esq@lawlist.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 31 05:50:10 2019
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.89)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1hARU1-000OyJ-Lg
	for ged-emacs-devel@m.gmane.org; Sun, 31 Mar 2019 05:50:09 +0200
Original-Received: from localhost ([127.0.0.1]:34657 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1hARU0-0005ug-EX
	for ged-emacs-devel@m.gmane.org; Sat, 30 Mar 2019 23:50:08 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:54594)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1hARTu-0005td-JG
	for emacs-devel@gnu.org; Sat, 30 Mar 2019 23:50:03 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50973)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1hARTu-0004tC-7H; Sat, 30 Mar 2019 23:50:02 -0400
Original-Received: from [176.13.243.16] (port=1659 helo=[10.132.229.151])
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
	(Exim 4.82) (envelope-from <eliz@gnu.org>)
	id 1hARTt-0003xT-DX; Sat, 30 Mar 2019 23:50:01 -0400
In-Reply-To: <837ecfixb9.fsf@gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:234833
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/234833>

On March 31, 2019 5:37:14 AM GMT+03:00, Eli Zaretskii <eliz@gnu=2Eorg> wrot=
e:
> > Date: Sat, 30 Mar 2019 16:19:50 -0700
> > From: Keith David Bershatsky <esq@lawlist=2Ecom>
> >=20
> > In an earlier version of the Emacs master branch from a few months
> ago, I was able to increase the number of buffer-local variables in
> buffer=2Ec/buffer=2Eh by changing the value of MAX_PER_BUFFER_VARS from =
50
> to 60=2E  That approach does not permit me to build a current version of
> the Emacs master branch, which fails with the following error:
> >=20
> >     Dumping under the name bootstrap-emacs=2Epdmp
> >     dumping fingerprint:
> 50894efcc2cdb17747a4536c9f53c4d093895712c3604daa88d068c383ea4780
> >=20
> >     pdumper=2Ec:1786: Emacs fatal error: assertion failed: relpos <
> 1024
> >     Fatal error 6: Abort trapmake[1]: *** [bootstrap-emacs=2Epdmp]
> Abort trap
> >     make[1]: *** Deleting file `bootstrap-emacs=2Epdmp'
> >     make: *** [src] Error 2
> >=20
> >     Compilation exited abnormally with code 2 at Sat Mar 30 15:53:18
>=20
> You need to update the dumping code to the new variables you added=2E
> See the comments in pdumper=2Ec=2E

Could it be you are overflowing MAX_PER_BUFFER_VARS?