Subject: bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"

From: Eli Zaretskii <[email-masked]>
Date: Sun, 21 Jan 2024 07:08:36 +0200

> From: Gregor Zattler <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 20 Jan 2024 21:18:05 +0100
> 
> Hi Eli, Emacs developers,
> * Gregor Zattler <[email-masked]> [2024-01-18; 09:52 +01]:
> > * Eli Zaretskii <[email-masked]> [2024-01-18; 08:13 +02]:
> >> Thanks.  Please say "make V=1" (but without -jN option that runs
> >> several Make commands in parallel), and wait for the first command
> >> that fails due to the above fatal error.  Then run the same command
> >> under GDB,
> >
> > the last lines wihtout -j are:
> >
> > TZ=UTC0 touch -t 197001010000 emacs-lisp/byte-opt.elc
> > '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp  \
> > -l comp -f batch-byte-compile emacs-lisp/bytecomp.el
> > TZ=UTC0 touch -t 197001010000 emacs-lisp/bytecomp.elc
> > '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp  \
> > -l comp -f batch-byte-compile emacs-lisp/comp.el
> >
> > alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1
> > make[3]: *** [Makefile:325: emacs-lisp/comp.elc] Aborted
> 
> 
> In case that helps, I bisected this issue and got the
> following result:
> 
> d3cefd3e98354929d96c9396e5920e8a123784dc is the first bad commit                                                                                                                               commit d3cefd3e98354929d96c9396e5920e8a123784dc
> Author: Mattias Engdegård <[email-masked]>
> Date:   Sat Nov 4 16:34:09 2023 +0100
> 
>     Leaner hash table dumping and thawing

Are you saying that the current HEAD of the master branch still shows
this failure?