[swift-users] Swift 4 thread sanitizer more sensitive?
jon at jonshier.com
Sun Jul 2 18:53:28 CDT 2017
Investigating this now more thoroughly and it appears my initial concern was wrong, as it’s detected the threading issues in Swift 3.2 mode as well. I’m not sure whether this was an Xcode 9b1 issue, a product of switching the Swift version back and forth while make Alamofire compatible with Swift 3.2 and 4 or what, but the issue does appear now in both 3.2 and 4. I’m tracking the issue in https://github.com/Alamofire/Alamofire/issues/2189 <https://github.com/Alamofire/Alamofire/issues/2189> but it seems to be a legit issue. Thanks!
> On Jun 26, 2017, at 1:54 PM, Joe Groff <jgroff at apple.com> wrote:
>> On Jun 26, 2017, at 10:33 AM, Joe Groff via swift-users <swift-users at swift.org> wrote:
>>> On Jun 25, 2017, at 3:56 PM, Jon Shier via swift-users <swift-users at swift.org> wrote:
>>> Running Alamofire through the thread sanitizer and the thread sanitizer finds issues in Swift 4 mode but not Swift 3.2. Does Swift 4 add additional threading instrumentation that you don’t get under other versions? Or is there some other runtime difference that explains it?
>> Would you be able to file bugs for specific issues so we can investigate whether the behavior changes are intentional?
> cc'ing Anna, Devin, and Kuba who worked on improving TSan support for Swift.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users