GNU bug report logs - #41465
28.0.50 (but also earlier versions); etags asserion error (with too many files?)

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Fri, 22 May 2020 19:33:01 UTC

Severity: normal

Found in version 28.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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41465: closed (28.0.50 (but also earlier versions); etags
 asserion error (with too many files?))
Date: Sun, 24 May 2020 15:05:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 24 May 2020 18:04:42 +0300
with message-id <835zclxtkl.fsf <at> gnu.org>
and subject line Re: bug#41465: 28.0.50 (but also earlier versions); etags asserion error (with too many files?)
has caused the debbugs.gnu.org bug report #41465,
regarding 28.0.50 (but also earlier versions); etags asserion error (with too many files?)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41465: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41465
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Gregor Zattler <telegraph <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50 (but also earlier versions); etags asserion error (with too
 many files?)
Date: Fri, 22 May 2020 21:31:57 +0200
Dear emacs developers,

I get an assertion error when executing the following line
(from a cron job of mine):

grfz <at> no:~/src$ find ~/src -type f -print0 | egrep -zZ '(\.el|\.c|\.h)(\.gz)?$' | xargs -0r etags
etags: etags.c:1987: pfnote: Assertion `name == NULL || name[0] != '\0'' failed.
xargs: etags: terminated by signal 6
125 (master *) grfz <at> no:~/src$

This happens with etags from debian buster, as with etags
build from emacs-27 branch of emacs git repo, as with etags build
from feature/native-comp branch.


Under ~/src there is also the linux kernel git repo.  There
is no assertion error if I filter it out:

$ find . -type f -print0 | egrep -vzZ linux | egrep -zZ '(\.el|\.c|\.h)(\.gz)?$' | xargs -0r etags
0 (master *) grfz <at> no:~/src$

There is also no assertion error if I filter for .el files
only:

125 (master *) grfz <at> no:~/src$ find ~/src -type f -print0 | egrep -zZ '(\.el)(\.gz)?$' | xargs -0r etags
0 (master *) grfz <at> no:~/src$


Therefore I assume this somehow is related to the number of files.


Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 41465-done <at> debbugs.gnu.org, telegraph <at> gmx.net
Subject: Re: bug#41465: 28.0.50 (but also earlier versions);
 etags asserion error (with too many files?)
Date: Sun, 24 May 2020 18:04:42 +0300
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Sun, 24 May 2020 04:43:25 +0300
> 
> > For me this assertion error is not a big problem since I now
> > exclude the linux src tree from the tags creation because of
> > emacs performance reasons.
> 
> Thanks you for that addition.
> 
> Indeed, when I configure Emacs with
> 
>    CFLAGS='-g -O2' --enable-checking
> 
> etags does abort with assertion errors you described.

Thanks, I applied the trivial band-aid to fix this on the emacs-27
branch.


This bug report was last modified 4 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.