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-13203] "Abort trap 6" with nested Coordinators #55643

Closed
swift-ci opened this issue Jul 11, 2020 · 3 comments
Closed

[SR-13203] "Abort trap 6" with nested Coordinators #55643

swift-ci opened this issue Jul 11, 2020 · 3 comments

Comments

@swift-ci
Copy link
Collaborator

@swift-ci swift-ci commented Jul 11, 2020

Previous ID SR-13203
Radar None
Original Reporter Jessy (JIRA User)
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CompilerCrash, OpaqueResultTypes
Assignee @theblixguy
Priority Medium

md5: 4b2f58b46255589020d15c0f36ce3411

Issue Description:

I'm getting an "Abort trap 6". I don't know how much of it is related specifically to the nested Coordinator aspect.

@theblixguy
Copy link
Collaborator

@theblixguy theblixguy commented Jul 20, 2020

Here's a much smaller reproducer:

protocol MyProtocol {}

func crash() -> some MyProtocol {
  class MyClass: MyProtocol {}
  return MyClass()
}

One workaround is to move your Coordinator class outside and rename it to something else. This will prevent the crash for now.

@theblixguy
Copy link
Collaborator

@theblixguy theblixguy commented Jul 21, 2020

I have a potential fix here: #33035

@theblixguy
Copy link
Collaborator

@theblixguy theblixguy commented Aug 5, 2020

Jessy (JIRA User) This is now fixed on master. Please verify using the next available trunk snapshot from swift.org and close the ticket. Thank you!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants