New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a lot of threads results in SIGABRT #4506
Comments
From @hoelzroIf I do something like this: for ^1000 { 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. |
From @hoelzroOn 2015-09-03 06:42:59, rob@hoelz.ro wrote:
My mistake; that example doesn't work! This one should: for ^1000 { Thread.start(-> {}).join; } |
From @jnthnOn Fri Sep 04 08:06:36 2015, rob@hoelz.ro wrote:
Fixed, and added S17-lowlevel/thread-start-join-stress.t to try and ensure we don't regress on this. Tested the fix on Windows and Linux. |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125977 (status was 'resolved')
Searchable as RT125977$
The text was updated successfully, but these errors were encountered: