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

Brandon Williams mbw234 at gmail.com
Thu Nov 16 16:46:05 CST 2017


Oops, sorry, hit send too early!

The docker file Im using can be seen here:

https://github.com/pointfreeco/swift-web/blob/bb-travis/Dockerfile

Which is this template:

https://github.com/swiftdocker/docker-swift/blob/5c83628d4696bca62aec3136a4ee9b854e8d548e/4.0/Dockerfile

So not using any of the betas...

On Thu, Nov 16, 2017 at 5:45 PM Brandon Williams <mbw234 at gmail.com> wrote:

> 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/d97eff6f/attachment.html>


More information about the swift-corelibs-dev mailing list