Skip to content

[SR-13901] Xcode 12 Swift toolchain regression - Combine - Abort trap: 6 #56299

@swift-ci

Description

@swift-ci
Previous ID SR-13901
Radar rdar://problem/71849530
Original Reporter apouche (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 12.2 regression. Worked fine with Xcode 11.7.

The crash seem to specifically occur when using Combine framework and @Published variables

Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 1c6a399af4a9b20d6703c45b3464f284

Issue Description:

In the attached sample project there's a regression between the swift toolchain from Xcode 11.7 and Xcode 12.2. The compiler seg faults during compilation if SWIFT_COMPILATION_MODE is set to Incremental

Step to reproduce:

  1. Unzip attached project

  2. Open JF.xcworkspace

  3. Compile JF Target

  4. Notice how the compiler seg fault while compiling EnterInviteCodeViewController class

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions