GNU bug report logs -
#68557
30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
Previous Next
Reported by: Gregor Zattler <grfz <at> gmx.de>
Date: Thu, 18 Jan 2024 00:01:02 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 68557 <at> debbugs.gnu.org.
--
68557: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68557
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> From: Gregor Zattler <grfz <at> gmx.de>
> Cc: 68557 <at> debbugs.gnu.org
> Date: Sun, 21 Jan 2024 10:14:52 +0100
>
> > Are you saying that the current HEAD of the master branch still shows
> > this failure?
>
> sorry that I did not check that first.
>
> I confirm master at
> commit 0a07603ae8db41f69e83b1bfec6e28a92f737852 does
> build even with --enable-checking=yes,glyphs
>
> Thanks to who ever fixed this bug.
That was Mattias.
Thanks, I'm therefore closing this bug.
[Message part 3 (message/rfc822, inline)]
Dear Emacs developers, building the Emacs master branch
as of commit 5f5faad249747ce5bd4b7f2968f737206c136265
on an up-to-date debian bookworm system fails if
configured with --enable-checking=yes,glyphs
The build works, if configured without --enable-checking=yes,glyphs.
The build was done with a fresh checkout, and debian default CFLAGS etc, like so:
eval $(dpkg-buildflags --export=sh); CFLAGS="$CFLAGS -Wall"; git clean -fdx; rm -rf * ; git co -f ; ./autogen.sh && ./configure --infodir=/usr/share/info/emacs --with-json --with-file-notification=yes --with-libsystemd --with-cairo --with-x=yes --with-x-toolkit=no --without-toolkit-scroll-bars --without-gsettings --enable-check-lisp-object-type --enable-checking=yes,glyphs --with-native-compilation ; nice -n 20 ionice -c 3 eatmydata make V=1 NATIVE_FULL_AOT=0
This are the last lines of output of a failed build:
TZ=UTC0 touch -t 197001010000 emacs-lisp/macroexp.elc
'../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp \
-l comp -f batch-byte-compile emacs-lisp/cconv.el
TZ=UTC0 touch -t 197001010000 emacs-lisp/cconv.elc
'../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp \
-l comp -f batch-byte-compile emacs-lisp/byte-opt.el
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
make[3]: Leaving directory '/home/grfz/src/my-next-emacs/lisp'
make[2]: *** [Makefile:1017: bootstrap-emacs.pdmp] Error 2
make[2]: Leaving directory '/home/grfz/src/my-next-emacs/src'
make[1]: *** [Makefile:554: src] Error 2
make[1]: Leaving directory '/home/grfz/src/my-next-emacs'
make[1]: Entering directory '/home/grfz/src/my-next-emacs'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
***
make[1]: *** [Makefile:418: advice-on-failure] Error 2
make[1]: Leaving directory '/home/grfz/src/my-next-emacs'
make: *** [Makefile:374: all] Error 2
I'm happy to answer questions, but as I do not know
much about building in general, they should be specific
and detailed.
HTH, Gregor
This bug report was last modified 1 year and 123 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.