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?
to your account
Hello! I have a test case that when run on Linux somehow encounters the "Constant strings cannot be deallocated” fatal error thrown in NSCFString.swift, as seen here:
The test that does it is here:
Now there’s a lot to unravel here and I haven’t been able to find a minimal test case yet, but I thought I would at least file this for now and can update if I find the minimal test case.
I have also raised this issue not he corelibs-dev mailing list:
The text was updated successfully, but these errors were encountered:
Hello! After some investigation we were able to find that most of these crashes have something to do with `URLQueryItem`s. In fact, it seems that it has to do with duplicate keys in a query string, as demonstrated here:
You can see the failure on this Travis CI output:
At the bottom we have:
fatal error: Constant strings cannot be deallocated: file Foundation/NSCFString.swift, line 118
Sorry, something went wrong.
I think we've tracked this down. We'll fix with SR-6398.
No branches or pull requests