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

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

bug#51110: closed (Native-comp leaks fds open on /dev/ptmx)


From: GNU bug Tracking System
Subject: bug#51110: closed (Native-comp leaks fds open on /dev/ptmx)
Date: Wed, 01 Dec 2021 02:29:02 +0000

Your message dated Tue, 30 Nov 2021 18:28:36 -0800
with message-id <98358.1638325716@tigger3.sg.gildea.net>
and subject line Re: bug#51110: Native-comp leaks fds open on /dev/ptmx
has caused the debbugs.gnu.org bug report #51110,
regarding Native-comp leaks fds open on /dev/ptmx
to be marked as done.

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


-- 
51110: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51110
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Native-comp leaks fds open on /dev/ptmx Date: Sat, 09 Oct 2021 08:45:25 -0700
Version: 28.0.60
Severity: important

Native-comp leaks fds open on /dev/ptmx if you change 'invocation-name'
and then run a function that loads libraries and causes some compilation.
Emacs seems to compile each file multiple times (16 or more), and it soon
runs out of file descriptors.

To reproduce:

Use a newly built (configure --with-native-compilation) Emacs that has
never (successfully) run MH-E before; if your eln-cache has already been
populated, you will need to delete the cache to repeat the failure:

rm -r ~/.emacs.d/eln-cache

The Emacs must be interactive, and you can reproduce quickly as follows:

src/emacs -Q --eval '(setq invocation-name "emacs-leaks")' --eval '(mh-version)'

In a few seconds the echo area will say: "Creating pipe: Too many open files"

What should appear in the echo area: "nmh 1.7.1 installed as MH variant"
or maybe: "No MH variant found on the system"



--- End Message ---
--- Begin Message --- Subject: Re: bug#51110: Native-comp leaks fds open on /dev/ptmx Date: Tue, 30 Nov 2021 18:28:36 -0800
Eli Zaretskii <eliz@gnu.org> wrote:

>   > From: Andrea Corallo <akrl@sdf.org>
>   > Cc: stepheng+emacs@gildea.com, 51110@debbugs.gnu.org
>   > Date: Tue, 30 Nov 2021 20:24:59 +0000
>   > 
>   > > I don't think there's anything we _can_ do here, and I tried to
>   > > explain why.
>   > 
>   > I agree, I don't think we really want support `invocation-name'
>   > modifications at runtime.
>   > 
>   > Shall we close this bug?
>   
>   I think so.  But before we do, I'd like to let Stephen a chance to
>   convince us otherwise.

I'm happy to see this bug closed, and I hereby do so.
Thank you for the discussion.


--- End Message ---

reply via email to

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