Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-25 Thread Jeff Kelley via swift-users
When I get into these situations, I never find myself using our DTS incidents, but that’s what they’re for. If you have any left, it’s always a good option to look into. Jeff Kelley slauncha...@gmail.com | @SlaunchaMan | jeffkelley.org

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-24 Thread Jon Shier via swift-users
If you haven’t tried it yet, perhaps commenting out the content of the Row file will prevent the crash and let the build fail with normal errors? Then you can comment in parts of the file and see where the crash is occurring. As to the overall stability of the compiler, stuff lik

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-24 Thread Evan Maloney via swift-users
I'm a bit depressed to report that our codebase still crashes the Swift compiler in the version of Xcode released today. And since we're not using ObjC generics, the issue isn't related to the radar below. Do I have any other option other than (1) spending who knows how long attempting to rewri

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Joe Groff via swift-users
We discovered a problem recently where we would miscompile when imported ObjC lightweight generic classes are extended to conform to Swift protocols. This is being tracked by Apple as rdar://problem/28873860 , for reference, and should be release noted in upcoming Xcode seeds. If you happen to

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Rien via swift-users
I had a similar problem with Xcode 7.2. The work around I found then was to remove all source files from the project in the “target membership” except for the main.swift file. Then compile again, which will (of course) fail with normal errors. Then I added the files back in, presto, no more segmen

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Evan Maloney via swift-users
This is definitely not my first time hitting Swift compiler crashes :) In the past, the stack traces have been helpful, pointing to what code the compiler was working on when it crashed. Unfortunately, this latest crash doesn't fall into that category: CompileSwift normal x86_64 /Users/emalone

Re: [swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Jon Shier via swift-users
With Swift 3 I’ve found these crashes to be indicative of an underlying source issue rather than something random in the compiler. When you get the crash, can you get the backtrace in the Xcode build log? Sometimes that has clues about what it was doing when it crashed. A lot of the time when th

[swift-users] Segmentation fault: 11 after updating codebase to Swift 3.0

2016-10-21 Thread Evan Maloney via swift-users
After a gargantuan effort updating our entire codebase to Swift 3.0, we are now being greeted with "Segmentation fault: 11" compiler crash whenever attempting to build. The issue seems to be related to generics, and sounds similar to this issue: http://stackoverflow.com/questions/39426