emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building the igc branch on MS-Windows


From: Gerd Möllmann
Subject: Re: Building the igc branch on MS-Windows
Date: Wed, 24 Apr 2024 18:48:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> I linked with -lmps-debug, and I got this assertion instead:
>
>   Loading d:/gnu/git/emacs/feature/lisp/faces.el (source)...
>
>   nailboard.c:205: Emacs fatal error: assertion failed: i <
>   nailboardLevelBits(nailboardNails(board), level)

I think what they call a nailboard has something to do with pinning
objects, i.e. preventing objects from moving in memory. Not that that
info is immediately useful...

> Does this give more information about a possible reason?  The relevant
> code in MPS is this:
>
>   static Index nailboardIndex(Nailboard board, Index level, Addr addr)
>   {
>     Index i = AddrOffset(RangeBase(&board->range), addr)
>       >> (board->alignShift + level * LEVEL_SHIFT);
>     AVER_CRITICAL(i < nailboardLevelBits(nailboardNails(board), level));
>     return i;
>   }
>
> and LEVEL_SHIFT is
>
>   /* Log2 of scale factor between levels. <design/nailboard#.impl.scale>. */
>   #define LEVEL_SHIFT MPS_WORD_SHIFT
>
> and MPS_WORD_SHIFT is 5 for this platform (as for all the other 32-bit
> platforms defined in mpstd.h).

Doesn't tell me anything. I've not yet tried to understand the internals
of MPS.

Could you please walk up the stack frames? Is something from us there?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]