# New Ticket Created by  Rob Hoelz 
# Please include the string:  [perl #125977]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125977 >


If I do something like this:

    for ^1000 {
        Thread.start({}).join;
    }

MoarVM will raise a SIGABRT.  The reason is that MoarVM+libuv is allocating 
control pipes (or something like that), MVM_tc_destroy is never called for a 
thread's ThreadContext after it's joined, the process quickly runs out of file 
descriptors, and libuv calls abort() after getting a ENFILE.

Reply via email to