[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: |
Thu, 04 Apr 2019 22:29:43 +0300 |
> Date: Thu, 04 Apr 2019 11:57:02 -0700
> From: Keith David Bershatsky <address@hidden>
> Cc: address@hidden,Stefan Monnier <address@hidden>,Andreas Schwab
> <address@hidden>,Alan Mackenzie <address@hidden>,Daniel Colascione
> <address@hidden>
>
> Increasing the eassert value in field_relpos, and increasing the value of
> MAX_PER_BUFFER_VARS, are sufficient to build and use Emacs for the NS and X11
> ports.
>
> The w32 port of Emacs, however, crashes when adding one too many
> local-variables in buffer.c/h that breaks the camel's back:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x01189584 in vector_marked_p (v=0xbaadf008) at alloc.c:3980
^^^^^^^^^^^^
This 0xbaadf008 is a clear sign of using uninitialized memory.