emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41465: closed (28.0.50 (but also earlier versions); etags asserion e


From: GNU bug Tracking System
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

Your message dated Sun, 24 May 2020 18:04:42 +0300
with message-id <address@hidden>
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
address@hidden.)


-- 
41465: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41465
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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@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@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@no:~/src$

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

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


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


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




--- End Message ---
--- Begin Message --- 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 <address@hidden>
> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]