|
|
| Previous ID |
SR-14417 |
| Radar |
rdar://problem/75956839 |
| Original Reporter |
C. (JIRA User) |
| Type |
Bug |
Attachment: Download
Environment
Swift_MVP.zip
Additional Detail from JIRA
|
|
| Votes |
1 |
| Component/s |
Compiler |
| Labels |
Bug, CompilerCrash |
| Assignee |
@rjmccall |
| Priority |
Medium |
md5: b0be6cb984bdccfe0c9f20ab213ae338
Issue Description:
If a class property is declared in OC and modified in Swift, the Swift compiler will crash with "Segmentation fault: 11" when building the project.
If the crash doesn't occur, remembering to clean build folder and rebuild the project.
And I've built the Swift project and reproduced the crash, which is caused by verifying an abnormal SILInstruction .The crash screenshot is attached
Xcode version : 12.4 (12D4e)
MacOS version :10.15.5 (19F101)
Tthe demo project is attached.

Attachment: Download
Environment
Swift_MVP.zip
Additional Detail from JIRA
md5: b0be6cb984bdccfe0c9f20ab213ae338
Issue Description:
If a class property is declared in OC and modified in Swift, the Swift compiler will crash with "Segmentation fault: 11" when building the project.
If the crash doesn't occur, remembering to clean build folder and rebuild the project.
And I've built the Swift project and reproduced the crash, which is caused by verifying an abnormal SILInstruction .The crash screenshot is attached
Xcode version : 12.4 (12D4e)
MacOS version :10.15.5 (19F101)
Tthe demo project is attached.