You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen this in Docker, a VM and physical machine. At one point it wasn't reproducing in docker, but now it seems to. Not sure what configuration difference there may be.
Additional Detail from JIRA
Votes
0
Component/s
Foundation
Labels
Bug
Assignee
None
Priority
Medium
md5: 261f81f07add698ef88fb90c3b278a2c
Issue Description:
When running SourceKit-LSP's tests on Ubuntu 16.04, I get a strange error:
Test Suite 'CodingTests' started at 2018-11-13 23:58:32.174
Test Case 'CodingTests.testValueCoding' started at 2018-11-13 23:58:32.174
couldn't create pthread key for stdlib TLS: Resource temporarily unavailable
Aborted (core dumped)
I can reproduce the issue by running all the tests together like this:
It looks like we're calling `pthread_key_create` more than `PTHREAD_KEYS_MAX=1024` times. Of that, CoreFoundation makes 1033 calls that look like this:
Attachment: Download
Environment
Ubuntu 16.04, 18.04
I have seen this in Docker, a VM and physical machine. At one point it wasn't reproducing in docker, but now it seems to. Not sure what configuration difference there may be.
Additional Detail from JIRA
md5: 261f81f07add698ef88fb90c3b278a2c
Issue Description:
When running SourceKit-LSP's tests on Ubuntu 16.04, I get a strange error:
I can reproduce the issue by running all the tests together like this:
But if I run each test separately they all pass:
The text was updated successfully, but these errors were encountered: