Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-8790] Abort trap: 6 error compiling for release #51298

Closed
swift-ci opened this issue Sep 18, 2018 · 5 comments
Closed

[SR-8790] Abort trap: 6 error compiling for release #51298

swift-ci opened this issue Sep 18, 2018 · 5 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software optimized only Flag: An issue whose reproduction requires optimized compilation regression swift 4.2

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-8790
Radar rdar://problem/44563038
Original Reporter pepibumur (JIRA User)
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment
  • macOS: 10.13.6 (17G65)

  • Xcode: Version 10.0 (10A255)

  • Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)

  • Target: x86_64-apple-darwin17.7.0

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 4.2Regression, CompilerCrash, OptimizedOnly
Assignee @aschwaighofer
Priority Medium

md5: 6ac6a482f128315b104cb19373c9c8a0

Issue Description:

Before Swift 4.2 came out, I was able to compile this project for both, debug and release configurations.

After updating it to Swift 4.2, when I try to compile it for the release configuration, I get the following compilation error attached on this issue.

I tried specifying a different version of Swift in the manifest, but the same happens. It also happens when I compile the project using Xcode.

[GitHub issue](tuist/XcodeProj#304

@belkadan
Copy link
Contributor

@swift-ci create

@keith
Copy link
Collaborator

keith commented Sep 18, 2018

This is easily reproducible by cloning the repo with the issue, checking out 2b5ac0d99f295b54e894548441032a69b4fb311b (current master), following these instructions to generate the project https://github.com/tuist/xcodeproj#contribute and building for release

@swift-ci
Copy link
Collaborator Author

Comment by Pedro Piñera (JIRA)

I managed to get it compiling with [this change](tuist/XcodeProj@386575111ee5d4cae7877b651b695e0e1c4e2740)

@aschwaighofer
Copy link
Member

This should be fixed in the Xcode 10.1 beta 2. Can you try?

@aschwaighofer
Copy link
Member

Fixed by #19397

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software optimized only Flag: An issue whose reproduction requires optimized compilation regression swift 4.2
Projects
None yet
Development

No branches or pull requests

5 participants