Hi Dmitry,
* Dmitry Gutov <dgutov@yandex.ru> [2020-05-24; 04:43]:
Thanks you for that addition.
Indeed, when I configure Emacs with
CFLAGS='-g -O2' --enable-checking
etags does abort with assertion errors you described.
arghs, my statement "also happens with the binary from
debian buster 10.4" was wrong. I tested with /usr/bin/etags
but forgot I that wrestled my emacs-27 build into the
alternatives system of debian.
I tested again with
0 (master *) grfz@no:~$ /usr/bin/etags.emacs ~/src/linux//include/net/mac80211.h
0 (master *) grfz@no:~$ /usr/bin/etags.emacs
~/src/linux/sound/soc/codecs/cs43130.c
and now there are no assertion errors with these files.