<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="">Hi Brandon,<div class=""><br class=""></div><div class="">This is probably a bug in the CoreFoundation C sources part of swift-corelibs-foundation. Unlike Darwin platforms, we can’t make the CFSTR(“”) macro produce a CFStringRef that cannot be overreleased. Probably there is a constant string returned from CF function, then the Swift runtime assumes it can release it, and bam we wind up with an overrelease.</div><div class=""><br class=""></div><div class="">We’ll have to track down which function is getting called, which probably just requires stepping through that test case with a debugger…</div><div class=""><br class=""></div><div class="">- Tony<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 29, 2017, at 1:34 PM, Brandon Williams via swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hello all!</div><div class=""><br class=""></div><div class="">We’ve been encountering this runtime error quite a bit recently, and we have no idea why. We’ve filed a bug and there’s one other on JIRA related to this, but both without any comments:</div><div class=""><br class=""></div><a href="https://bugs.swift.org/browse/SR-6422" class="">https://bugs.swift.org/browse/SR-6422</a><br class=""><div class=""><a href="https://bugs.swift.org/browse/SR-6398" class="">https://bugs.swift.org/browse/SR-6398</a><br class=""></div><div class=""><br class=""></div><div class="">We’re curious if others are aware of this and or has more info? Is it a red herring for some other problem?</div><div class=""><br class=""></div><div class="">Any info would be helpful!</div></div>
_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></blockquote></div><br class=""></div></body></html>