<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks!<div class=""><br class=""></div><div class="">Alex<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Nov 2017, at 17:27, Brandon Williams <<a href="mailto:mbw234@gmail.com" class="">mbw234@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I haven’t been able to find a minimal test case, but at least the test case I linked to reproduces every time.<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">I did at least file the bug report: <a href="https://bugs.swift.org/browse/SR-6422" class="">https://bugs.swift.org/browse/SR-6422</a></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Nov 17, 2017 at 4:48 AM Alex Blewitt <<a href="mailto:alblue@apple.com" class="">alblue@apple.com</a>> wrote:<br class=""></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" class="">Can you file a bug at <a href="http://bugs.swift.org/" target="_blank" class="">bugs.swift.org</a> with a minimal test case? It certainly sounds like a bug, and from the looks of the docker files, you're using the swift 4.0.2 release on Ubuntu 16.04.<div class=""><br class=""></div><div class="">If you can run the test under LLDB and put a breakpoint in that function, and get a backtrace (with 'bt') 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 class=""><br class=""></div><div class=""></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">Alex</div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 16 Nov 2017, at 22:46, Brandon Williams via swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" target="_blank" class="">swift-corelibs-dev@swift.org</a>> wrote:</div><br class="m_-7727182071060325539Apple-interchange-newline"><div class=""><div dir="ltr" class="">Oops, sorry, hit send too early!<div class=""><br class=""></div><div class="">The docker file Im using can be seen here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/pointfreeco/swift-web/blob/bb-travis/Dockerfile" target="_blank" class="">https://github.com/pointfreeco/swift-web/blob/bb-travis/Dockerfile</a><br class=""></div><div class=""><br class=""></div><div class="">Which is this template:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/swiftdocker/docker-swift/blob/5c83628d4696bca62aec3136a4ee9b854e8d548e/4.0/Dockerfile" target="_blank" class="">https://github.com/swiftdocker/docker-swift/blob/5c83628d4696bca62aec3136a4ee9b854e8d548e/4.0/Dockerfile</a><br class=""></div><div class=""><br class=""></div><div class="">So not using any of the betas...</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Nov 16, 2017 at 5:45 PM Brandon Williams <<a href="mailto:mbw234@gmail.com" target="_blank" class="">mbw234@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Ah, sorry for now providing more info!<div class=""><br class=""></div><div class="">So the docker file that I am using to run the tests can be see here:</div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Nov 16, 2017 at 5:43 PM Philippe Hausler <<a href="mailto:phausler@apple.com" target="_blank" class="">phausler@apple.com</a>> wrote:<br class=""></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" class="">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 class=""><div class=""><br class=""><blockquote type="cite" class=""></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 16, 2017, at 2:41 PM, Brandon Williams via swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" target="_blank" class="">swift-corelibs-dev@swift.org</a>> 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" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">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:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSCFString.swift#L118" target="_blank" class="">https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSCFString.swift#L118</a><br class=""></div><div class=""><br class=""></div><div class="">The test that does it is here:</div><div class=""><br class=""></div><a href="https://github.com/pointfreeco/swift-web/blob/5f19a0264be5d369ee0438da8599e3c478a6573b/Tests/ApplicativeRouterTests/SyntaxRouterTests.swift#L88-L93" target="_blank" class="">https://github.com/pointfreeco/swift-web/blob/5f19a0264be5d369ee0438da8599e3c478a6573b/Tests/ApplicativeRouterTests/SyntaxRouterTests.swift#L88-L93</a><br class=""><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Thanks for any help!</div></div></div></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">
_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" target="_blank" class="">swift-corelibs-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br class=""></div></blockquote></div></div></div></blockquote></div></blockquote></div>
_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" target="_blank" class="">swift-corelibs-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>