[swift-corelibs-dev] Encountering "Constant strings cannot be deallocated"
phausler at apple.com
Thu Nov 16 16:43:43 CST 2017
Is this with a recent build? Do you know what commit the swift-corelibs-foundation is from? That might help nail down what is going on here.
> On Nov 16, 2017, at 2:41 PM, Brandon Williams via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
> 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:
> https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSCFString.swift#L118 <https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSCFString.swift#L118>
> The test that does it is here:
> https://github.com/pointfreeco/swift-web/blob/5f19a0264be5d369ee0438da8599e3c478a6573b/Tests/ApplicativeRouterTests/SyntaxRouterTests.swift#L88-L93 <https://github.com/pointfreeco/swift-web/blob/5f19a0264be5d369ee0438da8599e3c478a6573b/Tests/ApplicativeRouterTests/SyntaxRouterTests.swift#L88-L93>
> Now there’s a lot to unravel here and I haven’t been able to quite isolate it, but I thought perhaps someone here might know how that could path could even be executed.
> Thanks for any help!
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-corelibs-dev