From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1" Date: Thu, 18 Jan 2024 08:13:30 +0200 Message-ID: <837ck7b245.fsf@gnu.org> References: <87mst3bjet.fsf@no.lan> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3806"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68557@debbugs.gnu.org To: Gregor Zattler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 18 07:14:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rQLfU-0000mE-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jan 2024 07:14:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQLf8-0003h0-Tv; Thu, 18 Jan 2024 01:14:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQLf7-0003gm-1x for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2024 01:14:01 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQLf6-0007lk-PZ for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2024 01:14:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQLf7-0003Ce-N9 for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2024 01:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jan 2024 06:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68557 X-GNU-PR-Package: emacs Original-Received: via spool by 68557-submit@debbugs.gnu.org id=B68557.170555842612284 (code B ref 68557); Thu, 18 Jan 2024 06:14:01 +0000 Original-Received: (at 68557) by debbugs.gnu.org; 18 Jan 2024 06:13:46 +0000 Original-Received: from localhost ([127.0.0.1]:54162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQLer-0003C3-MO for submit@debbugs.gnu.org; Thu, 18 Jan 2024 01:13:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQLep-0003Br-F1 for 68557@debbugs.gnu.org; Thu, 18 Jan 2024 01:13:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQLei-0007k6-JJ; Thu, 18 Jan 2024 01:13:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=h5MV5We1nEmaGSY2gGrYavH7sRGeu0MKrld4VZBfPlU=; b=bZozHmWsewBa pe3cRVVtbUyjreP6Rbu/lQuzep7eFkqO9uSj+PaW5sLaXxjQe+KmmdOcOfmmK1lZmqMFwRrO9BfDg 5TSrkMleCeaOi67WGP7Ib2lujMKq8LSR+oqp3QljHqPEYV8chSTilVh18b/j9c7KJtfD5rh5TvrKE ygXrchR4QDm73B+CTrtZY+ytmLcfg3T0R98MmZhnoe8LmaKuFIJf3z8SGBLBM3/2pwVBUc7udMZ/I kQ+Do/yCg1+1SwJxmABPELE/Q+xvbXQz22o80YQx9KCKTeYVouWJTQpKaCMpJqUKhjdJ3Z49kEe2B 453lFNtFaJZm9YU3TkryIw==; In-Reply-To: <87mst3bjet.fsf@no.lan> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278420 Archived-At: > Date: Thu, 18 Jan 2024 00:59:54 +0100 > From: Gregor Zattler via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > 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. 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, and when Emacs aborts and GDB kicks in, please type at the GDB prompt: (gdb) thread apply all bt and post here everything GDB outputs as result. (Let me know if you need more detailed instructions for how to "run the same command under GDB".)