unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
@ 2024-01-17 23:59 Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-18  6:13 ` Eli Zaretskii
  2024-01-18 14:49 ` J.P.
  0 siblings, 2 replies; 9+ messages in thread
From: Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-17 23:59 UTC (permalink / raw)
  To: 68557

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-17 23:59 bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1" Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-01-18  6:13 ` Eli Zaretskii
  2024-01-18  8:52   ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-18 14:49 ` J.P.
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2024-01-18  6:13 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 68557

> 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" <bug-gnu-emacs@gnu.org>
> 
> 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".)





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-18  6:13 ` Eli Zaretskii
@ 2024-01-18  8:52   ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-20 20:18     ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 9+ messages in thread
From: Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-18  8:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 68557

Hi Eli,
* Eli Zaretskii <eliz@gnu.org> [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

I therefore started it in gdb like so:

grfz@no:~/src/my-next-emacs/lisp$ gdb ../src/bootstrap-emacs -ex 'set logging file /tmp/gdb.txt' -ex 'set logging on' -ex 'set logging file /tmp/gdb.txt' -ex 'run  -batch --no-site-file --no-site-lisp -l comp -f batch-byte-compile emacs-lisp/comp.el'

> 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.

This then is the content of /tmp/gdb.txt:

Starting program: /home/grfz/src/my-next-emacs/src/bootstrap-emacs -batch --no-site-file --no-site-lisp -l comp -f batch-byte-compile emacs-lisp/comp.el
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
0x00007ffff3d4ad3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7ffff2db1380 (LWP 37429) "bootstrap-emacs"):
#0  0x00007ffff3d4ad3c in  () at /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff3cfbf32 in raise () at /lib/x86_64-linux-gnu/libc.so.6
#2  0x00005555555a99d5 in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:479
#3  0x00005555555b0f75 in die (msg=msg@entry=0x5555558dff6c "h->index_size > 1", file=file@entry=0x5555558dfc5a "alloc.c", line=line@entry=3446) at ./src/alloc.c:8052
#4  0x00005555555b19dd in cleanup_vector (vector=<optimized out>) at ./src/alloc.c:3446
#5  sweep_vectors () at ./src/alloc.c:3526
#6  0x00005555557a5ab7 in gc_sweep () at ./src/alloc.c:7848
#7  garbage_collect () at ./src/alloc.c:6663
#8  0x00005555557a6909 in maybe_garbage_collect () at ./src/alloc.c:6498
#9  0x00005555557d67c5 in maybe_gc () at ./src/lisp.h:5687
#10 eval_sub (form=..., form@entry=...) at ./src/eval.c:2429
#11 0x00005555557d6a65 in eval_sub (form=...) at ./src/eval.c:2492
#12 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#13 0x00005555557d9419 in FletX (args=...) at ./src/eval.c:972
#14 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#15 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#16 0x00005555557d730b in funcall_lambda (fun=..., nargs=5, arg_vector=0x7fffffff9f48) at ./src/eval.c:3287
#17 0x00005555557d2c90 in Ffuncall (nargs=nargs@entry=6, args=args@entry=0x7fffffff9f40) at ./src/eval.c:3022
#18 0x00005555557d3129 in Fapply (nargs=<optimized out>, args=0x7fffffffa000) at ./src/eval.c:2693
#19 0x00005555557d6ac7 in eval_sub (form=...) at ./src/eval.c:2497
#20 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#21 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#22 0x00005555557d7d13 in Fcond (args=...) at ./src/eval.c:412
#23 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#24 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#25 0x00005555557d86b4 in Flet (args=...) at ./src/eval.c:1040
#26 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#27 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#28 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#29 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#30 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#31 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#32 0x00005555557d9419 in FletX (args=...) at ./src/eval.c:972
#33 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#34 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#35 0x00005555557d7d13 in Fcond (args=...) at ./src/eval.c:412
#36 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#37 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#38 0x00005555557d730b in funcall_lambda (fun=..., nargs=2, arg_vector=0x7fffffffa960) at ./src/eval.c:3287
#39 0x00005555557d8bbe in apply_lambda (fun=..., fun@entry=..., args=..., count=..., count@entry=...) at ./src/eval.c:3157
#40 0x00005555557d6587 in eval_sub (form=...) at ./src/eval.c:2615
#41 0x00005555557d7e44 in Fsetq (args=...) at ./src/eval.c:479
#42 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#43 0x00005555557d6cfe in eval_sub (form=...) at ./src/eval.c:2513
#44 0x00005555557d6cfe in eval_sub (form=..., form@entry=...) at ./src/eval.c:2513
#45 0x00005555557d89f9 in Fwhile (args=...) at ./src/eval.c:1058
#46 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#47 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#48 0x00005555557d9419 in FletX (args=...) at ./src/eval.c:972
#49 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#50 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#51 0x00005555557d730b in funcall_lambda (fun=..., nargs=2, arg_vector=0x7fffee5ff478) at ./src/eval.c:3287
#52 0x000055555582acc6 in exec_byte_code (fun=..., args_template=37429, nargs=2, args=0x7fffee5ff478) at ./src/bytecode.c:817
#53 0x00005555557d2c90 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffb140) at ./src/eval.c:3022
#54 0x00005555557df67e in mapcar1 (leni=leni@entry=20, vals=vals@entry=0x7fffffffb1a0, fn=fn@entry=..., seq=..., seq@entry=...) at ./src/fns.c:3048
#55 0x00005555557e6a8c in Fmapcar (function=..., sequence=...) at ./src/fns.c:3168
#56 0x00005555557d533d in funcall_subr (subr=0x555555ed30a0 <Smapcar>, numargs=2, args=<optimized out>) at ./src/eval.c:3092
#57 0x000055555582bcb3 in exec_byte_code (fun=..., args_template=37429, nargs=2, args=0x7fffee5ff3e8) at ./src/lisp.h:2210
#58 0x00005555557d2c90 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffb410) at ./src/eval.c:3022
#59 0x00005555557d5529 in call0 (fn=...) at ./src/lisp.h:3300
#60 Fhandler_bind_1 (nargs=<optimized out>, args=0x7fffee5ff2c0) at ./src/eval.c:1403
#61 0x000055555582bcb3 in exec_byte_code (fun=..., args_template=37429, nargs=3, args=0x7fffee5ff2c0) at ./src/lisp.h:2210
#62 0x00005555557d2c90 in Ffuncall (nargs=1, args=0x7fffffffb530) at ./src/eval.c:3022
#63 0x00005555557d6ac7 in eval_sub (form=...) at ./src/eval.c:2497
#64 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#65 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#66 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#67 0x00005555557d7d13 in Fcond (args=...) at ./src/eval.c:412
#68 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#69 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#70 0x00005555557d9419 in FletX (args=...) at ./src/eval.c:972
#71 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#72 0x00005555557d6ffd in Fprogn (body=..., body@entry=...) at ./src/eval.c:432
#73 0x00005555557d89f1 in prog_ignore (body=...) at ./src/eval.c:443
#74 Fwhile (args=...) at ./src/eval.c:1061
#75 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#76 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#77 0x00005555557d9419 in FletX (args=...) at ./src/eval.c:972
#78 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#79 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#80 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#81 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#82 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#83 0x00005555557d86b4 in Flet (args=...) at ./src/eval.c:1040
#84 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#85 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#86 0x00005555557d86b4 in Flet (args=...) at ./src/eval.c:1040
#87 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#88 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#89 0x00005555557d730b in funcall_lambda (fun=..., nargs=1, arg_vector=0x7fffffffc170) at ./src/eval.c:3287
#90 0x00005555557d8bbe in apply_lambda (fun=..., fun@entry=..., args=..., count=..., count@entry=...) at ./src/eval.c:3157
#91 0x00005555557d6587 in eval_sub (form=...) at ./src/eval.c:2615
#92 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#93 0x00005555557d86b4 in Flet (args=...) at ./src/eval.c:1040
#94 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#95 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#96 0x00005555557d730b in funcall_lambda (fun=..., nargs=0, arg_vector=0x7fffffffc4f0) at ./src/eval.c:3287
#97 0x00005555557d8bbe in apply_lambda (fun=..., fun@entry=..., args=..., count=..., count@entry=...) at ./src/eval.c:3157
#98 0x00005555557d6587 in eval_sub (form=...) at ./src/eval.c:2615
#99 0x00005555557d962a in Funwind_protect (args=...) at ./src/eval.c:1321
#100 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#101 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#102 0x00005555557d86b4 in Flet (args=...) at ./src/eval.c:1040
#103 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#104 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#105 0x00005555557d6c42 in eval_sub (form=...) at ./src/eval.c:2476
#106 0x00005555557d6ffd in Fprogn (body=...) at ./src/eval.c:432
#107 0x00005555557d730b in funcall_lambda (fun=..., nargs=0, arg_vector=0x7fffffffca30) at ./src/eval.c:3287
#108 0x00005555557d8bbe in apply_lambda (fun=..., fun@entry=..., args=..., count=..., count@entry=...) at ./src/eval.c:3157
#109 0x00005555557d6587 in eval_sub (form=..., form@entry=...) at ./src/eval.c:2615
#110 0x00005555557d9d44 in Feval (form=..., lexical=...) at ./src/eval.c:2389
#111 0x000055555571d637 in top_level_2 () at ./src/lisp.h:1173
#112 0x00005555557d0bd7 in internal_condition_case (bfun=bfun@entry=0x55555571d5b0 <top_level_2>, handlers=..., handlers@entry=..., hfun=hfun@entry=0x555555728d20 <cmd_error>) at ./src/eval.c:1537
#113 0x000055555571d6d3 in top_level_1 (ignore=..., ignore@entry=...) at ./src/keyboard.c:1185
#114 0x00005555557d0b11 in internal_catch (tag=..., func=func@entry=0x55555571d6a0 <top_level_1>, arg=..., arg@entry=...) at ./src/eval.c:1217
#115 0x000055555571d17f in command_loop () at ./src/keyboard.c:1134
#116 0x000055555572843a in recursive_edit_1 () at ./src/keyboard.c:744
#117 0x0000555555728a94 in Frecursive_edit () at ./src/keyboard.c:827
#118 0x00005555555c5b4a in main (argc=9, argv=0x7fffffffcf18) at ./src/emacs.c:2624


HTH, Gregor





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-17 23:59 bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1" Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-18  6:13 ` Eli Zaretskii
@ 2024-01-18 14:49 ` J.P.
  1 sibling, 0 replies; 9+ messages in thread
From: J.P. @ 2024-01-18 14:49 UTC (permalink / raw)
  To: 68557; +Cc: Gregor Zattler

[-- Attachment #1: Type: text/plain, Size: 5351 bytes --]

Hi Gregor, others,

Gregor Zattler via "Bug reports for GNU Emacs" <bug-gnu-emacs@gnu.org> writes:

> 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
>
[...]
>
> 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 ran into what looks like the same error when building but could not
reliably reproduce it. However, I *am* able to reproduce something
possibly related. Because I'm not sure, I replied to your original post
rather than down thread (so as not to cause an unnecessary ruckus).

Unfortunately, to run the test shown in the attached log you need a file
that's not in the Emacs tree. It can be generated with

1. $ mkdir test/lisp/erc/resources/fill/snapshots/.graphic

2. $ ERC_TESTS_SNAPSHOT_SAVE=erc-fill-wrap--merge-action \
     make -C test \
     TEST_INTERACTIVE=yes \
     SELECTOR=erc-fill-wrap--merge-action \
     lisp/erc/erc-fill-tests.log &&
     rm test/lisp/erc/erc-fill-tests.log &&
     stat test/lisp/erc/resources/fill/snapshots/.graphic/merge-wrap-01.eld

The current directory in the logged session is ./test, and the invoking
command appears on the first line of the log.

Thanks.


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.17.6) of 2024-01-17 built on localhost
Repository revision: 5f5faad249747ce5bd4b7f2968f737206c136265
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12014000
System Description: Fedora Linux 37 (Workstation Edition)

Configured using:
 'configure --enable-check-lisp-object-type --enable-checking=yes,glyphs
 --with-native-compilation=no 'CFLAGS=-O0 -g3'
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs)

Memory information:
((conses 16 38036 9374) (symbols 48 5225 0) (strings 32 13190 2465)
 (string-bytes 1 378506) (vectors 16 9280)
 (vector-slots 8 111692 10246) (floats 8 21 16) (intervals 56 238 5)
 (buffers 976 10))


[-- Attachment #2: gdb.log --]
[-- Type: text/plain, Size: 25154 bytes --]

bash$ ERC_TESTS_GRAPHICAL=1 gdb --command ../src/.gdbinit --args ../src/emacs -Q -l ert -l lisp/erc/erc-fill-tests.el -eval '(ert (quote erc-fill-wrap--merge-action))'
GNU gdb (GDB) Fedora Linux 13.2-3.fc37
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated.
Use 'set logging enabled on'.

Warning: 'set logging off', an alias for the command 'set logging enabled', is deprecated.
Use 'set logging enabled off'.

Reading symbols from ../src/emacs...
DISPLAY = :1
TERM = tmux-256color
Breakpoint 1 at 0x5f14b0: file emacs.c, line 442.
Breakpoint 2 at 0x5a3f9f: file xterm.c, line 26964.
gdb$ run
Starting program: /home/jp/emacs/master/src/emacs -Q -l ert -l lisp/erc/erc-fill-tests.el -eval \(ert\ \(quote\ erc-fill-wrap--merge-action\)\)

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe39fe6c0 (LWP 110743)]
[New Thread 0x7fffe31fd6c0 (LWP 110744)]
[New Thread 0x7fffe29fc6c0 (LWP 110745)]
[Thread 0x7fffe29fc6c0 (LWP 110745) exited]
[New Thread 0x7fffe29fc6c0 (LWP 110746)]
[New Thread 0x7fffe21fb6c0 (LWP 110753)]
[New Thread 0x7fffe19fa6c0 (LWP 110754)]
[New Thread 0x7fffe11f96c0 (LWP 110755)]
[New Thread 0x7fffe09786c0 (LWP 110757)]
[New Thread 0x7fffc3fff6c0 (LWP 110758)]
[Thread 0x7fffe09786c0 (LWP 110757) exited]
[Thread 0x7fffc3fff6c0 (LWP 110758) exited]
[Thread 0x7fffe11f96c0 (LWP 110755) exited]
[Thread 0x7fffe21fb6c0 (LWP 110753) exited]
[Detaching after vfork from child process 110768]

alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1

Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:442
442       signal (sig, SIG_DFL);
Missing separate debuginfos, use: dnf debuginfo-install PackageKit-gtk3-module-1.2.6-2.fc37.x86_64 alsa-lib-1.2.9-1.fc37.x86_64 at-spi2-atk-2.38.0-5.fc37.x86_64 at-spi2-core-2.44.1-2.fc37.x86_64 atk-2.38.0-2.fc37.x86_64 cairo-1.17.6-2.fc37.x86_64 cairo-gobject-1.17.6-2.fc37.x86_64 dbus-libs-1.14.10-1.fc37.x86_64 dconf-0.40.0-7.fc37.x86_64 fontconfig-2.14.1-2.fc37.x86_64 freetype-2.12.1-3.fc37.x86_64 fribidi-1.0.12-2.fc37.x86_64 gdk-pixbuf2-2.42.10-1.fc37.x86_64 gdk-pixbuf2-modules-2.42.10-1.fc37.x86_64 giflib-5.2.1-17.fc37.x86_64 glib2-2.74.7-2.fc37.x86_64 glibc-2.36-18.fc37.x86_64 gmp-6.2.1-3.fc37.x86_64 gnutls-3.8.1-1.fc37.x86_64 gpm-libs-1.20.7-41.fc37.x86_64 graphite2-1.3.14-10.fc37.x86_64 gtk3-3.24.38-1.fc37.x86_64 gvfs-client-1.50.4-1.fc37.x86_64 harfbuzz-5.2.0-1.fc37.x86_64 ibus-gtk3-1.5.27-5.fc37.x86_64 ibus-libs-1.5.27-5.fc37.x86_64 jansson-2.13.1-5.fc37.x86_64 jbigkit-libs-2.1-24.fc37.x86_64 json-glib-1.6.6-3.fc37.x86_64 lcms2-2.14-1.fc37.x86_64 libICE-1.0.10-9.fc37.x86_64 libSM-1.2.3-11.fc37.x86_64 libX11-1.8.4-1.fc37.x86_64 libX11-xcb-1.8.4-1.fc37.x86_64 libXau-1.0.10-1.fc37.x86_64 libXcomposite-0.4.5-8.fc37.x86_64 libXcursor-1.2.1-2.fc37.x86_64 libXdamage-1.1.5-8.fc37.x86_64 libXext-1.3.4-9.fc37.x86_64 libXfixes-6.0.0-4.fc37.x86_64 libXi-1.8-3.fc37.x86_64 libXinerama-1.1.4-11.fc37.x86_64 libXpm-3.5.15-2.fc37.x86_64 libXrender-0.9.10-17.fc37.x86_64 libacl-2.3.1-4.fc37.x86_64 libblkid-2.38.1-1.fc37.x86_64 libbrotli-1.0.9-9.fc37.x86_64 libcanberra-0.30-29.fc37.x86_64 libcap-2.48-5.fc37.x86_64 libcloudproviders-0.3.1-6.fc37.x86_64 libepoxy-1.5.10-2.fc37.x86_64 libffi-3.4.4-1.fc37.x86_64 libjpeg-turbo-2.1.3-2.fc37.x86_64 libmount-2.38.1-1.fc37.x86_64 libogg-1.3.5-4.fc37.x86_64 libotf-0.9.13-21.fc37.x86_64 libpng-1.6.37-13.fc37.x86_64 librsvg2-2.54.6-1.fc37.x86_64 libselinux-3.5-1.fc37.x86_64 libstemmer-0-19.585svn.fc37.x86_64 libtiff-4.4.0-4.fc37.x86_64 libtracker-sparql-3.4.2-1.fc37.x86_64 libvorbis-1.3.7-6.fc37.x86_64 libwayland-client-1.21.0-1.fc37.x86_64 libwayland-cursor-1.21.0-1.fc37.x86_64 libwayland-egl-1.21.0-1.fc37.x86_64 libwebp-1.3.2-2.fc37.x86_64 libxcb-1.13.1-10.fc37.x86_64 libxkbcommon-1.4.1-2.fc37.x86_64 libxml2-2.10.4-1.fc37.x86_64 libzstd-1.5.5-1.fc37.x86_64 lz4-libs-1.9.4-1.fc37.x86_64 m17n-lib-1.8.4-1.fc37.x86_64 ncurses-libs-6.4-3.20230114.fc37.x86_64 pango-1.50.14-1.fc37.x86_64 pcre2-10.40-1.fc37.1.x86_64 pixman-0.40.0-6.fc37.x86_64 xz-libs-5.4.1-1.fc37.x86_64 zlib-1.2.12-5.fc37.x86_64
gdb$ bt
#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:442
#1  0x00000000006a7089 in die (msg=0x86a5c1 "h->index_size > 1", file=0x869e63 "alloc.c", line=3446) at alloc.c:8052
#2  0x000000000069e33a in cleanup_vector (vector=0x205c8a0) at alloc.c:3446
#3  0x000000000069e4eb in sweep_vectors () at alloc.c:3526
#4  0x00000000006a6b29 in gc_sweep () at alloc.c:7848
#5  0x00000000006a3f62 in garbage_collect () at alloc.c:6663
#6  0x00000000006a39ee in maybe_garbage_collect () at alloc.c:6498
#7  0x00000000006da8b0 in maybe_gc () at /home/jp/emacs/master/src/lisp.h:5687
#8  0x00000000006e15e6 in eval_sub (form=XIL(0x1d01aa3)) at eval.c:2429
#9  0x00000000006e1b3f in eval_sub (form=XIL(0x1d02263)) at eval.c:2492
#10 0x00000000006db921 in Fsetq (args=XIL(0x1d019f3)) at eval.c:479
#11 0x00000000006e1960 in eval_sub (form=XIL(0x1d019e3)) at eval.c:2476
#12 0x00000000006db691 in Fprogn (body=XIL(0x1d031b3)) at eval.c:432
#13 0x00000000006db6c5 in prog_ignore (body=XIL(0x1d019b3)) at eval.c:443
#14 0x00000000006e58a7 in do_one_unbind (this_binding=0x7fffffff48e0, unwinding=true, bindflag=SET_INTERNAL_UNBIND) at eval.c:3675
#15 0x00000000006e5c9f in unbind_to (count=..., value=XIL(0x30)) at eval.c:3815
#16 0x00000000006de3ec in Funwind_protect (args=XIL(0x1d019c3)) at eval.c:1322
#17 0x00000000006e1960 in eval_sub (form=XIL(0x1d019d3)) at eval.c:2476
#18 0x00000000006db3bf in Fif (args=XIL(0x1d01833)) at eval.c:384
#19 0x00000000006e1960 in eval_sub (form=XIL(0x1d01933)) at eval.c:2476
#20 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#21 0x00000000006ddaa3 in Flet (args=XIL(0x1d017b3)) at eval.c:1040
#22 0x00000000006e1960 in eval_sub (form=XIL(0x1d017a3)) at eval.c:2476
#23 0x00000000006db691 in Fprogn (body=XIL(0x1d00f83)) at eval.c:432
#24 0x00000000006ddaa3 in Flet (args=XIL(0x1d00ed3)) at eval.c:1040
#25 0x00000000006e1960 in eval_sub (form=XIL(0x1d00ec3)) at eval.c:2476
#26 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#27 0x00000000006dd59a in FletX (args=XIL(0x1d00ea3)) at eval.c:972
#28 0x00000000006e1960 in eval_sub (form=XIL(0x1d00e93)) at eval.c:2476
#29 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#30 0x00000000006ddaa3 in Flet (args=XIL(0x1d00e73)) at eval.c:1040
#31 0x00000000006e1960 in eval_sub (form=XIL(0x1d00e63)) at eval.c:2476
#32 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#33 0x00000000006db58b in Fcond (args=XIL(0x2077313)) at eval.c:412
#34 0x00000000006e1960 in eval_sub (form=XIL(0x2074643)) at eval.c:2476
#35 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#36 0x00000000006ddaa3 in Flet (args=XIL(0x2074623)) at eval.c:1040
#37 0x00000000006e1960 in eval_sub (form=XIL(0x2074613)) at eval.c:2476
#38 0x00000000006ddb69 in Fwhile (args=XIL(0x20745f3)) at eval.c:1058
#39 0x00000000006e1960 in eval_sub (form=XIL(0x2074603)) at eval.c:2476
#40 0x00000000006db691 in Fprogn (body=XIL(0x1d00bf3)) at eval.c:432
#41 0x00000000006ddaa3 in Flet (args=XIL(0x20745b3)) at eval.c:1040
#42 0x00000000006e1960 in eval_sub (form=XIL(0x20745a3)) at eval.c:2476
#43 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#44 0x00000000006e458c in funcall_lambda (fun=XIL(0x20674e3), nargs=2, arg_vector=0x0) at eval.c:3287
#45 0x00000000006e33c9 in funcall_general (fun=XIL(0x20674d3), numargs=2, args=0x7fffffff5cc8) at eval.c:2984
#46 0x00000000006e35a2 in Ffuncall (nargs=3, args=0x7fffffff5cc0) at eval.c:3022
#47 0x00000000006e1ba3 in eval_sub (form=XIL(0x2075093)) at eval.c:2497
#48 0x00000000006db691 in Fprogn (body=XIL(0x1cfcd63)) at eval.c:432
#49 0x00000000006ddaa3 in Flet (args=XIL(0x2074f33)) at eval.c:1040
#50 0x00000000006e1960 in eval_sub (form=XIL(0x2074f23)) at eval.c:2476
#51 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#52 0x00000000006db58b in Fcond (args=XIL(0x2074ef3)) at eval.c:412
#53 0x00000000006e1960 in eval_sub (form=XIL(0x2074643)) at eval.c:2476
#54 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#55 0x00000000006ddaa3 in Flet (args=XIL(0x2074623)) at eval.c:1040
#56 0x00000000006e1960 in eval_sub (form=XIL(0x2074613)) at eval.c:2476
#57 0x00000000006ddb69 in Fwhile (args=XIL(0x20745f3)) at eval.c:1058
#58 0x00000000006e1960 in eval_sub (form=XIL(0x2074603)) at eval.c:2476
#59 0x00000000006db691 in Fprogn (body=XIL(0x1d00bf3)) at eval.c:432
#60 0x00000000006ddaa3 in Flet (args=XIL(0x20745b3)) at eval.c:1040
#61 0x00000000006e1960 in eval_sub (form=XIL(0x20745a3)) at eval.c:2476
#62 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#63 0x00000000006e458c in funcall_lambda (fun=XIL(0x20674e3), nargs=2, arg_vector=0x0) at eval.c:3287
#64 0x00000000006e33c9 in funcall_general (fun=XIL(0x20674d3), numargs=2, args=0x7fffffff68c8) at eval.c:2984
#65 0x00000000006e35a2 in Ffuncall (nargs=3, args=0x7fffffff68c0) at eval.c:3022
#66 0x00000000006e1ba3 in eval_sub (form=XIL(0x2075093)) at eval.c:2497
#67 0x00000000006db691 in Fprogn (body=XIL(0x1cfcd63)) at eval.c:432
#68 0x00000000006ddaa3 in Flet (args=XIL(0x2074f33)) at eval.c:1040
#69 0x00000000006e1960 in eval_sub (form=XIL(0x2074f23)) at eval.c:2476
#70 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#71 0x00000000006db58b in Fcond (args=XIL(0x2074ef3)) at eval.c:412
#72 0x00000000006e1960 in eval_sub (form=XIL(0x2074643)) at eval.c:2476
#73 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#74 0x00000000006ddaa3 in Flet (args=XIL(0x2074623)) at eval.c:1040
#75 0x00000000006e1960 in eval_sub (form=XIL(0x2074613)) at eval.c:2476
#76 0x00000000006ddb69 in Fwhile (args=XIL(0x20745f3)) at eval.c:1058
#77 0x00000000006e1960 in eval_sub (form=XIL(0x2074603)) at eval.c:2476
#78 0x00000000006db691 in Fprogn (body=XIL(0x1d00bf3)) at eval.c:432
#79 0x00000000006ddaa3 in Flet (args=XIL(0x20745b3)) at eval.c:1040
#80 0x00000000006e1960 in eval_sub (form=XIL(0x20745a3)) at eval.c:2476
#81 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#82 0x00000000006e458c in funcall_lambda (fun=XIL(0x20674e3), nargs=2, arg_vector=0x0) at eval.c:3287
#83 0x00000000006e33c9 in funcall_general (fun=XIL(0x20674d3), numargs=2, args=0x7fffffff74c8) at eval.c:2984
#84 0x00000000006e35a2 in Ffuncall (nargs=3, args=0x7fffffff74c0) at eval.c:3022
#85 0x00000000006e1ba3 in eval_sub (form=XIL(0x2075f83)) at eval.c:2497
#86 0x00000000006db691 in Fprogn (body=XIL(0x1d07963)) at eval.c:432
#87 0x00000000006e1960 in eval_sub (form=XIL(0x2075f73)) at eval.c:2476
#88 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#89 0x00000000006ddaa3 in Flet (args=XIL(0x2075e43)) at eval.c:1040
#90 0x00000000006e1960 in eval_sub (form=XIL(0x2075e33)) at eval.c:2476
#91 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#92 0x00000000006dd59a in FletX (args=XIL(0x2075e13)) at eval.c:972
#93 0x00000000006e1960 in eval_sub (form=XIL(0x2075e03)) at eval.c:2476
#94 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#95 0x00000000006e1960 in eval_sub (form=XIL(0x2075df3)) at eval.c:2476
#96 0x00000000006db691 in Fprogn (body=XIL(0x1d07b23)) at eval.c:432
#97 0x00000000006ddaa3 in Flet (args=XIL(0x2075d33)) at eval.c:1040
#98 0x00000000006e1960 in eval_sub (form=XIL(0x2075d23)) at eval.c:2476
#99 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#100 0x00000000006db6c5 in prog_ignore (body=XIL(0x2075cf3)) at eval.c:443
#101 0x00000000006ddb5d in Fwhile (args=XIL(0x2075d03)) at eval.c:1061
#102 0x00000000006e1960 in eval_sub (form=XIL(0x2075d13)) at eval.c:2476
#103 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#104 0x00000000006ddaa3 in Flet (args=XIL(0x2075cd3)) at eval.c:1040
#105 0x00000000006e1960 in eval_sub (form=XIL(0x2075cc3)) at eval.c:2476
#106 0x00000000006db691 in Fprogn (body=XIL(0x1d04253)) at eval.c:432
#107 0x00000000006e1960 in eval_sub (form=XIL(0x2075cb3)) at eval.c:2476
#108 0x00000000006db422 in Fif (args=XIL(0x2075453)) at eval.c:387
#109 0x00000000006e1960 in eval_sub (form=XIL(0x2075463)) at eval.c:2476
#110 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#111 0x00000000006dd59a in FletX (args=XIL(0x20753c3)) at eval.c:972
#112 0x00000000006e1960 in eval_sub (form=XIL(0x20753b3)) at eval.c:2476
#113 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#114 0x00000000006db6c5 in prog_ignore (body=XIL(0x2075383)) at eval.c:443
#115 0x00000000006ddb5d in Fwhile (args=XIL(0x2075393)) at eval.c:1061
#116 0x00000000006e1960 in eval_sub (form=XIL(0x20753a3)) at eval.c:2476
#117 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#118 0x00000000006de06d in internal_catch (tag=XIL(0xbe0d00), func=0x6db5ed <Fprogn>, arg=XIL(0x2075353)) at eval.c:1217
#119 0x00000000006de000 in Fcatch (args=XIL(0x2075363)) at eval.c:1188
#120 0x00000000006e1960 in eval_sub (form=XIL(0x2075373)) at eval.c:2476
#121 0x00000000006db921 in Fsetq (args=XIL(0x2075333)) at eval.c:479
#122 0x00000000006e1960 in eval_sub (form=XIL(0x2075323)) at eval.c:2476
#123 0x00000000006db691 in Fprogn (body=XIL(0x7ffff45c6163)) at eval.c:432
#124 0x00000000006e1960 in eval_sub (form=XIL(0x2075313)) at eval.c:2476
#125 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#126 0x00000000006ddaa3 in Flet (args=XIL(0x20752c3)) at eval.c:1040
#127 0x00000000006e1960 in eval_sub (form=XIL(0x20752b3)) at eval.c:2476
#128 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#129 0x00000000006ddaa3 in Flet (args=XIL(0x2075283)) at eval.c:1040
#130 0x00000000006e1960 in eval_sub (form=XIL(0x2075273)) at eval.c:2476
#131 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#132 0x00000000006db58b in Fcond (args=XIL(0x2075213)) at eval.c:412
#133 0x00000000006e1960 in eval_sub (form=XIL(0x2074643)) at eval.c:2476
#134 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#135 0x00000000006ddaa3 in Flet (args=XIL(0x2074623)) at eval.c:1040
#136 0x00000000006e1960 in eval_sub (form=XIL(0x2074613)) at eval.c:2476
#137 0x00000000006ddb69 in Fwhile (args=XIL(0x20745f3)) at eval.c:1058
#138 0x00000000006e1960 in eval_sub (form=XIL(0x2074603)) at eval.c:2476
#139 0x00000000006db691 in Fprogn (body=XIL(0x1d00bf3)) at eval.c:432
#140 0x00000000006ddaa3 in Flet (args=XIL(0x20745b3)) at eval.c:1040
#141 0x00000000006e1960 in eval_sub (form=XIL(0x20745a3)) at eval.c:2476
#142 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#143 0x00000000006e458c in funcall_lambda (fun=XIL(0x20674e3), nargs=2, arg_vector=0x0) at eval.c:3287
#144 0x00000000006e33c9 in funcall_general (fun=XIL(0x20674d3), numargs=2, args=0x7fffffff9af8) at eval.c:2984
#145 0x00000000006e35a2 in Ffuncall (nargs=3, args=0x7fffffff9af0) at eval.c:3022
#146 0x00000000006e1ba3 in eval_sub (form=XIL(0x1cfb423)) at eval.c:2497
#147 0x00000000006db422 in Fif (args=XIL(0x1cfb3c3)) at eval.c:387
#148 0x00000000006e1960 in eval_sub (form=XIL(0x1cfb413)) at eval.c:2476
#149 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#150 0x00000000006db46d in Fif (args=XIL(0x1d0d603)) at eval.c:388
#151 0x00000000006e1960 in eval_sub (form=XIL(0x1d0d613)) at eval.c:2476
#152 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#153 0x00000000006dd59a in FletX (args=XIL(0x1cfb2e3)) at eval.c:972
#154 0x00000000006e1960 in eval_sub (form=XIL(0x1cfb2d3)) at eval.c:2476
#155 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#156 0x00000000006e458c in funcall_lambda (fun=XIL(0x1cfb1c3), nargs=4, arg_vector=0x0) at eval.c:3287
#157 0x00000000006e3de7 in apply_lambda (fun=XIL(0x1cfb1b3), args=XIL(0x1e24aa3), count=...) at eval.c:3157
#158 0x00000000006e22c4 in eval_sub (form=XIL(0x1e24a93)) at eval.c:2615
#159 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#160 0x00000000006ddaa3 in Flet (args=XIL(0x1e255f3)) at eval.c:1040
#161 0x00000000006e1960 in eval_sub (form=XIL(0x1e25603)) at eval.c:2476
#162 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#163 0x00000000006e458c in funcall_lambda (fun=XIL(0x1e256b3), nargs=1, arg_vector=0x0) at eval.c:3287
#164 0x00000000006e3de7 in apply_lambda (fun=XIL(0x1e256c3), args=XIL(0x1e06d73), count=...) at eval.c:3157
#165 0x00000000006e22c4 in eval_sub (form=XIL(0x1e06d63)) at eval.c:2615
#166 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#167 0x00000000006e458c in funcall_lambda (fun=XIL(0x1dedef3), nargs=0, arg_vector=0x0) at eval.c:3287
#168 0x00000000006e33c9 in funcall_general (fun=XIL(0x1dedf03), numargs=0, args=0x7fffffffa9c8) at eval.c:2984
#169 0x00000000006e35a2 in Ffuncall (nargs=1, args=0x7fffffffa9c0) at eval.c:3022
#170 0x00000000006e1ba3 in eval_sub (form=XIL(0x1e31533)) at eval.c:2497
#171 0x00000000006de3d5 in Funwind_protect (args=XIL(0x1e31513)) at eval.c:1321
#172 0x00000000006e1960 in eval_sub (form=XIL(0x1e31523)) at eval.c:2476
#173 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#174 0x00000000006c970c in Fsave_current_buffer (args=XIL(0x1e317d3)) at editfns.c:879
#175 0x00000000006e1960 in eval_sub (form=XIL(0x1e317e3)) at eval.c:2476
#176 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#177 0x00000000006c970c in Fsave_current_buffer (args=XIL(0x1e33073)) at editfns.c:879
#178 0x00000000006e1960 in eval_sub (form=XIL(0x1e33083)) at eval.c:2476
#179 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#180 0x00000000006e1960 in eval_sub (form=XIL(0x1e30f83)) at eval.c:2476
#181 0x00000000006de3d5 in Funwind_protect (args=XIL(0x1e30f43)) at eval.c:1321
#182 0x00000000006e1960 in eval_sub (form=XIL(0x1e30f53)) at eval.c:2476
#183 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#184 0x00000000006dd59a in FletX (args=XIL(0x1e30e93)) at eval.c:972
#185 0x00000000006e1960 in eval_sub (form=XIL(0x1e30e83)) at eval.c:2476
#186 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#187 0x00000000006ddaa3 in Flet (args=XIL(0x1e30e63)) at eval.c:1040
#188 0x00000000006e1960 in eval_sub (form=XIL(0x1e30e53)) at eval.c:2476
#189 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#190 0x00000000006e458c in funcall_lambda (fun=XIL(0x1e30c73), nargs=1, arg_vector=0x0) at eval.c:3287
#191 0x00000000006e3de7 in apply_lambda (fun=XIL(0x1e30c63), args=XIL(0x1df9d43), count=...) at eval.c:3157
#192 0x00000000006e22c4 in eval_sub (form=XIL(0x1df9d33)) at eval.c:2615
#193 0x00000000006db691 in Fprogn (body=XIL(0)) at eval.c:432
#194 0x00000000006e458c in funcall_lambda (fun=XIL(0x1df9dd3), nargs=1, arg_vector=0x0) at eval.c:3287
#195 0x00000000006e3de7 in apply_lambda (fun=XIL(0x1df9de3), args=XIL(0x1df9f53), count=...) at eval.c:3157
#196 0x00000000006e22c4 in eval_sub (form=XIL(0x1df9f43)) at eval.c:2615
#197 0x00000000006db691 in Fprogn (body=XIL(0x1dfa8e3)) at eval.c:432
#198 0x00000000006e458c in funcall_lambda (fun=XIL(0x1dfb803), nargs=0, arg_vector=0x0) at eval.c:3287
#199 0x00000000006e33c9 in funcall_general (fun=XIL(0x1dfb813), numargs=0, args=0x7fffe39ff468) at eval.c:2984
#200 0x0000000000743657 in exec_byte_code (fun=XIL(0x1ef7315), args_template=0, nargs=0, args=0x7fffffffc2b0) at bytecode.c:817
#201 0x00000000006e3c55 in fetch_and_exec_byte_code (fun=XIL(0x1ef7315), args_template=0, nargs=0, args=0x7fffffffc2b0) at eval.c:3135
#202 0x00000000006e40b0 in funcall_lambda (fun=XIL(0x1ef7315), nargs=0, arg_vector=0x7fffffffc2b0) at eval.c:3207
#203 0x00000000006e32a6 in funcall_general (fun=XIL(0x1ef7315), numargs=0, args=0x7fffffffc2b0) at eval.c:2972
#204 0x00000000006e35a2 in Ffuncall (nargs=1, args=0x7fffffffc2a8) at eval.c:3022
#205 0x00000000006da241 in call0 (fn=XIL(0x1ef7315)) at /home/jp/emacs/master/src/lisp.h:3300
#206 0x00000000006de701 in Fhandler_bind_1 (nargs=3, args=0x7fffe39ff418) at eval.c:1403
#207 0x00000000006e3af2 in funcall_subr (subr=0xe76040 <Shandler_bind_1>, numargs=3, args=0x7fffe39ff418) at eval.c:3113
#208 0x000000000074362e in exec_byte_code (fun=XIL(0x7ffff1463445), args_template=513, nargs=2, args=0x7fffe39ff410) at bytecode.c:815
#209 0x00000000006e3c55 in fetch_and_exec_byte_code (fun=XIL(0x146096d), args_template=257, nargs=1, args=0x7fffffffc940) at eval.c:3135
#210 0x00000000006e40b0 in funcall_lambda (fun=XIL(0x146096d), nargs=1, arg_vector=0x7fffffffc940) at eval.c:3207
#211 0x00000000006e3de7 in apply_lambda (fun=XIL(0x146096d), args=XIL(0x1e15063), count=...) at eval.c:3157
#212 0x00000000006e1f4d in eval_sub (form=XIL(0x1e15033)) at eval.c:2572
#213 0x00000000006e13a0 in Feval (form=XIL(0x1e15033), lexical=XIL(0x30)) at eval.c:2389
#214 0x00000000006e38c9 in funcall_subr (subr=0xe76180 <Seval>, numargs=2, args=0x7fffe39ff1c0) at eval.c:3092
#215 0x000000000074362e in exec_byte_code (fun=XIL(0x7ffff147ecc5), args_template=769, nargs=3, args=0x7fffe39ff6b0) at bytecode.c:815
#216 0x00000000006e3c55 in fetch_and_exec_byte_code (fun=XIL(0x7ffff1778f0d), args_template=0, nargs=0, args=0x7fffffffd150) at eval.c:3135
#217 0x00000000006e40b0 in funcall_lambda (fun=XIL(0x7ffff1778f0d), nargs=0, arg_vector=0x7fffffffd150) at eval.c:3207
#218 0x00000000006e3de7 in apply_lambda (fun=XIL(0x7ffff1778f0d), args=XIL(0), count=...) at eval.c:3157
#219 0x00000000006e1f4d in eval_sub (form=XIL(0x7ffff1bf227b)) at eval.c:2572
#220 0x00000000006e13a0 in Feval (form=XIL(0x7ffff1bf227b), lexical=XIL(0x30)) at eval.c:2389
#221 0x00000000005f9767 in top_level_2 () at keyboard.c:1173
#222 0x00000000006def9e in internal_condition_case (bfun=0x5f9700 <top_level_2>, handlers=XIL(0x90), hfun=0x5f8f8e <cmd_error>) at eval.c:1537
#223 0x00000000005f97c2 in top_level_1 (ignore=XIL(0)) at keyboard.c:1185
#224 0x00000000006de06d in internal_catch (tag=XIL(0x107d0), func=0x5f9780 <top_level_1>, arg=XIL(0)) at eval.c:1217
#225 0x00000000005f9648 in command_loop () at keyboard.c:1134
#226 0x00000000005f8a67 in recursive_edit_1 () at keyboard.c:744
#227 0x00000000005f8c7a in Frecursive_edit () at keyboard.c:827
#228 0x00000000005f46e9 in main (argc=8, argv=0x7fffffffd748) at emacs.c:2624

Lisp Backtrace:
"Automatic GC" (0x0)
"nconc" (0xffff4620)
"setq" (0xffff47c0)
"unwind-protect" (0xffff4a20)
"if" (0xffff4b90)
"let" (0xffff4da0)
"let" (0xffff4fb0)
"let*" (0xffff51a0)
"let" (0xffff53b0)
"cond" (0xffff5550)
"let" (0xffff5770)
"while" (0xffff58e0)
"let" (0xffff5af0)
0x20674d0 Lisp type 3
"funcall" (0xffff5cc0)
"let" (0xffff5fb0)
"cond" (0xffff6150)
"let" (0xffff6370)
"while" (0xffff64e0)
"let" (0xffff66f0)
0x20674d0 Lisp type 3
"funcall" (0xffff68c0)
"let" (0xffff6bb0)
"cond" (0xffff6d50)
"let" (0xffff6f70)
"while" (0xffff70e0)
"let" (0xffff72f0)
0x20674d0 Lisp type 3
"funcall" (0xffff74c0)
"progn" (0xffff7700)
"let" (0xffff7920)
"let*" (0xffff7b10)
"progn" (0xffff7c70)
"let" (0xffff7e80)
"while" (0xffff8040)
"let" (0xffff8250)
"progn" (0xffff83b0)
"if" (0xffff8520)
"let*" (0xffff8710)
"while" (0xffff88d0)
"catch" (0xffff8ab0)
"setq" (0xffff8c50)
"progn" (0xffff8db0)
"let" (0xffff8fd0)
"let" (0xffff91e0)
"cond" (0xffff9380)
"let" (0xffff95a0)
"while" (0xffff9710)
"let" (0xffff9920)
0x20674d0 Lisp type 3
"funcall" (0xffff9af0)
"if" (0xffff9d40)
"if" (0xffff9ee0)
"let*" (0xffffa0d0)
"erc-tests-common-snapshot-compare" (0xffffa200)
"let" (0xffffa580)
"erc-fill-tests--compare" (0xffffa6b0)
0x1dedf00 Lisp type 3
"funcall" (0xffffa9c0)
"unwind-protect" (0xffffabf0)
"save-current-buffer" (0xffffad80)
"save-current-buffer" (0xffffaf10)
"progn" (0xffffb070)
"unwind-protect" (0xffffb1d0)
"let*" (0xffffb3c0)
"let" (0xffffb620)
"erc-fill-tests--wrap-populate" (0xffffb750)
"erc-fill-wrap-tests--merge-action" (0xffffb9c0)
0x1dfb810 Lisp type 3
0x1ef7310 PVEC_COMPILED
"handler-bind-1" (0xe39ff418)
"ert--run-test-internal" (0xe39ff3a0)
"ert-run-test" (0xe39ff330)
"ert-run-or-rerun-test" (0xe39ff2c8)
"ert-run-tests" (0xe39ff240)
"ert" (0xffffc940)
"eval" (0xe39ff1c0)
"command-line-1" (0xe39ff0b8)
"command-line" (0xe39ff040)
"normal-top-level" (0xffffd150)
gdb$ quit

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-18  8:52   ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-01-20 20:18     ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-21  5:08       ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-20 20:18 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 68557

Hi Eli, Emacs developers,
* Gregor Zattler <grfz@gmx.de> [2024-01-18; 09:52 +01]:
> * Eli Zaretskii <eliz@gnu.org> [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 <mattiase@acm.org>
Date:   Sat Nov 4 16:34:09 2023 +0100

    Leaner hash table dumping and thawing

    Only dump the actual data, and the test encoded as an enum.  This
    simplifies dumping, makes dump files smaller and saves space at run
    time.
    
    * src/lisp.h (hash_table_std_test_t): New enum.
    (struct Lisp_Hash_Table): Add frozen_test member, consuming no extra space.
    * src/fns.c (hashfn_user_defined): Now static.
    (hash_table_test_from_std): New.
    (hash_table_rehash): Rename to...
    (hash_table_thaw): ...this and rewrite.
    * src/pdumper.c (hash_table_contents): Only include actual data, not
    unused space.
    (hash_table_std_test): New.
    (hash_table_freeze): Set frozen_test from test.
    (dump_hash_table): Dump frozen_test, not the whole test struct.
    Don't bother other dumping fields that can be derived.
 
 src/fns.c     | 53 ++++++++++++++++++++++++++++++-------------------
 src/lisp.h    | 12 ++++++++++--
 src/pdumper.c | 63 +++++++++++++++++++++++++----------------------------------

Don't know if it's really related, though.

Regards, Gregor





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-20 20:18     ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-01-21  5:08       ` Eli Zaretskii
  2024-01-21  8:52         ` Mattias Engdegård
  2024-01-21  9:14         ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2024-01-21  5:08 UTC (permalink / raw)
  To: Gregor Zattler, Mattias Engdegård; +Cc: 68557

> From: Gregor Zattler <grfz@gmx.de>
> Cc: 68557@debbugs.gnu.org
> Date: Sat, 20 Jan 2024 21:18:05 +0100
> 
> Hi Eli, Emacs developers,
> * Gregor Zattler <grfz@gmx.de> [2024-01-18; 09:52 +01]:
> > * Eli Zaretskii <eliz@gnu.org> [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 <mattiase@acm.org>
> 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?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-21  5:08       ` Eli Zaretskii
@ 2024-01-21  8:52         ` Mattias Engdegård
  2024-01-21  9:14         ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 9+ messages in thread
From: Mattias Engdegård @ 2024-01-21  8:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 68557, Gregor Zattler

21 jan. 2024 kl. 06.08 skrev Eli Zaretskii <eliz@gnu.org>:

>> In case that helps, I bisected this issue and got the
>> following result:
>> 
>> d3cefd3e98354929d96c9396e5920e8a123784dc is the first bad commit

This is a known bad commit (mea culpa), but that problem was fixed in the one that followed.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-21  5:08       ` Eli Zaretskii
  2024-01-21  8:52         ` Mattias Engdegård
@ 2024-01-21  9:14         ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-21 10:14           ` Eli Zaretskii
  1 sibling, 1 reply; 9+ messages in thread
From: Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-21  9:14 UTC (permalink / raw)
  To: Eli Zaretskii, Mattias Engdegård; +Cc: 68557

Hi Eli, Emacs developers,
* Eli Zaretskii <eliz@gnu.org> [2024-01-21; 07:08 +02]:
>> From: Gregor Zattler <grfz@gmx.de>
>> Cc: 68557@debbugs.gnu.org
>> Date: Sat, 20 Jan 2024 21:18:05 +0100
>> 

[...]
>> 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 <mattiase@acm.org>
>> 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?

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.

Regards, Gregor





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1"
  2024-01-21  9:14         ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-01-21 10:14           ` Eli Zaretskii
  0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2024-01-21 10:14 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: mattiase, 68557-done

> From: Gregor Zattler <grfz@gmx.de>
> Cc: 68557@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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-21 10:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17 23:59 bug#68557: 30.0.50; "--enable-checking=yes,glyphs" leads to "alloc.c:3446: Emacs fatal error: assertion failed: h->index_size > 1" Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-18  6:13 ` Eli Zaretskii
2024-01-18  8:52   ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-20 20:18     ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-21  5:08       ` Eli Zaretskii
2024-01-21  8:52         ` Mattias Engdegård
2024-01-21  9:14         ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-21 10:14           ` Eli Zaretskii
2024-01-18 14:49 ` J.P.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).