The root cause seems to be the program's stack was simply too small, and not an 
infinite loop in the type checker. On Linux the default stack size is 8192kb, 
but at least on my system, I needed to use a minimum of 11884kb.

On 03/22/2016 03:35 PM, Rafkind, Jon wrote:
FWIW when I compile the swift/llvm 2.2 codebase with RelWithDebInfo there is no 
crash, but in Debug mode there is a crash. I can live with this for now since I 
will release my tool in RelWithDebInfo anyway. If I have time I will try to 
find the root cause behind the crash with Debug.

On 03/22/2016 12:56 PM, Dmitri Gribenko wrote:

On Tue, Mar 22, 2016 at 12:17 PM, Rafkind, Jon via swift-dev
<swift-dev@swift.org><mailto:swift-dev@swift.org> wrote:


I have to support swift 2.2 for the time being because I have to support the 
current release of xcode. I will upgrade to swift 3 when it is released.


I understand your motivation, but I would still recommend trying to
update your code (on a branch) to Swift 3.  This way you will get a
preview of the changes, would be able to provide feedback, and maybe
even find issues with the changes that we are making before Swift 3 is
finalized in a release.  There is benefit for both your library and
the Swift community.

Dmitri



--

--
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to