<div dir="ltr">I haven’t been able to find a minimal test case, but at least the test case I linked to reproduces every time.<div><br></div><div>I’m not sure I’ll have time to search for a minimal case today, and I leave for vacation tomorrow :/ perhaps when I get back.</div><div><br></div><div>I did at least file the bug report: <a href="https://bugs.swift.org/browse/SR-6422">https://bugs.swift.org/browse/SR-6422</a></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 17, 2017 at 4:48 AM Alex Blewitt &lt;<a href="mailto:alblue@apple.com">alblue@apple.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Can you file a bug at <a href="http://bugs.swift.org" target="_blank">bugs.swift.org</a> with a minimal test case? It certainly sounds like a bug, and from the looks of the docker files, you&#39;re using the swift 4.0.2 release on Ubuntu 16.04.<div><br></div><div>If you can run the test under LLDB and put a breakpoint in that function, and get a backtrace (with &#39;bt&#39;) then it might be interesting to see where the deinit is being triggered, and give some kind of clue as to what is happening.</div><div><br></div><div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div>Alex</div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><br><div><br><blockquote type="cite"><div>On 16 Nov 2017, at 22:46, Brandon Williams via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="m_-7727182071060325539Apple-interchange-newline"><div><div dir="ltr">Oops, sorry, hit send too early!<div><br></div><div>The docker file Im using can be seen here:</div><div><br></div><div><a href="https://github.com/pointfreeco/swift-web/blob/bb-travis/Dockerfile" target="_blank">https://github.com/pointfreeco/swift-web/blob/bb-travis/Dockerfile</a><br></div><div><br></div><div>Which is this template:</div><div><br></div><div><a href="https://github.com/swiftdocker/docker-swift/blob/5c83628d4696bca62aec3136a4ee9b854e8d548e/4.0/Dockerfile" target="_blank">https://github.com/swiftdocker/docker-swift/blob/5c83628d4696bca62aec3136a4ee9b854e8d548e/4.0/Dockerfile</a><br></div><div><br></div><div>So not using any of the betas...</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 16, 2017 at 5:45 PM Brandon Williams &lt;<a href="mailto:mbw234@gmail.com" target="_blank">mbw234@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ah, sorry for now providing more info!<div><br></div><div>So the docker file that I am using to run the tests can be see here:</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 16, 2017 at 5:43 PM Philippe Hausler &lt;<a href="mailto:phausler@apple.com" target="_blank">phausler@apple.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">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.<div><div><br><blockquote type="cite"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div>On Nov 16, 2017, at 2:41 PM, Brandon Williams via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="m_-7727182071060325539m_-2150574504450685677m_1265875568198272696Apple-interchange-newline"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div><div dir="ltr"><div>Hello! I have a test case that when run on Linux somehow encounters the &quot;Constant strings cannot be deallocated” fatal error thrown in NSCFString.swift, as seen here:</div><div><br></div><div><a href="https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSCFString.swift#L118" target="_blank">https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSCFString.swift#L118</a><br></div><div><br></div><div>The test that does it is here:</div><div><br></div><a href="https://github.com/pointfreeco/swift-web/blob/5f19a0264be5d369ee0438da8599e3c478a6573b/Tests/ApplicativeRouterTests/SyntaxRouterTests.swift#L88-L93" target="_blank">https://github.com/pointfreeco/swift-web/blob/5f19a0264be5d369ee0438da8599e3c478a6573b/Tests/ApplicativeRouterTests/SyntaxRouterTests.swift#L88-L93</a><br><div><br></div><div>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.</div><div><br></div><div>Thanks for any help!</div></div></div></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div>
_______________________________________________<br>swift-corelibs-dev mailing list<br><a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br></div></blockquote></div></div></div></blockquote></div></blockquote></div>
_______________________________________________<br>swift-corelibs-dev mailing list<br><a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br></div></blockquote></div><br></div></div></blockquote></div>