[swift-corelibs-dev] Encountering "Constant strings cannot be deallocated"

Brandon Williams mbw234 at gmail.com
Thu Nov 16 16:45:12 CST 2017

Ah, sorry for now providing more info!

So the docker file that I am using to run the tests can be see here:

On Thu, Nov 16, 2017 at 5:43 PM Philippe Hausler <phausler at apple.com> wrote:

> 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
> The test that does it is here:
> 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
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20171116/f8ad7317/attachment.html>

More information about the swift-corelibs-dev mailing list