[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer.c/buffer.h: How to add new buffer-local variables?
From: |
Eli Zaretskii |
Subject: |
Re: buffer.c/buffer.h: How to add new buffer-local variables? |
Date: |
Sun, 31 Mar 2019 06:49:57 +0300 |
User-agent: |
K-9 Mail for Android |
On March 31, 2019 5:37:14 AM GMT+03:00, Eli Zaretskii <address@hidden> wrote:
> > Date: Sat, 30 Mar 2019 16:19:50 -0700
> > From: Keith David Bershatsky <address@hidden>
> >
> > 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.c/buffer.h by changing the value of MAX_PER_BUFFER_VARS from 50
> to 60. That approach does not permit me to build a current version of
> the Emacs master branch, which fails with the following error:
> >
> > Dumping under the name bootstrap-emacs.pdmp
> > dumping fingerprint:
> 50894efcc2cdb17747a4536c9f53c4d093895712c3604daa88d068c383ea4780
> >
> > pdumper.c:1786: Emacs fatal error: assertion failed: relpos <
> 1024
> > Fatal error 6: Abort trapmake[1]: *** [bootstrap-emacs.pdmp]
> Abort trap
> > make[1]: *** Deleting file `bootstrap-emacs.pdmp'
> > make: *** [src] Error 2
> >
> > Compilation exited abnormally with code 2 at Sat Mar 30 15:53:18
>
> You need to update the dumping code to the new variables you added.
> See the comments in pdumper.c.
Could it be you are overflowing MAX_PER_BUFFER_VARS?