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-9830] swift crash in swift::Mangle::SpecializationMangler::finalize() #52247

Closed
layoutSubviews opened this issue Jan 31, 2019 · 4 comments
Closed
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 regression swift 5.0

Comments

@layoutSubviews
Copy link

Previous ID SR-9830
Radar None
Original Reporter @layoutSubviews
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

macOS 10.14.3, Xcode 10.2 beta 1 (10P82s)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 5.0Regression, CompilerCrash
Assignee None
Priority Medium

md5: 8a602a3b185d6637dde326b5431c6605

Issue Description:

I'm testing support of my current project with the Swift 5 toolchain, and `swift` is crashing while demangling a specific symbol:

```
Can't demangle: So11UITableViewC_13RxDataSources0c5Tableb15SectionedReloadD6SourceCy14Differentiator22AnimatableSectionModelVySi15LatitudeToolbox011CollapsableL0V12FlattenedRowOy0nM011LegalHeaderOAN0s11InformationR0O_GSiAF16IdentifiableTypeACyHCg_GAuF0lmW0yHCg_G0C5Swift10ObservableCySayAUGGTg5
```

@belkadan
Copy link
Contributor

belkadan commented Feb 1, 2019

@slavapestov, @DougGregor, I think one of you fixed this on master?

@DougGregor
Copy link
Member

@belkadan, I think you fixed this in #21478 but it's not in beta 1.

@belkadan
Copy link
Contributor

belkadan commented Feb 1, 2019

Oh, ha. Renaud, can you try with a downloadable toolchain from https://swift.org/download ? (I'm not sure which Xcode beta this fix is in.)

@layoutSubviews
Copy link
Author

Confirmed fixed in Xcode 10.2 beta 2.

@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 regression swift 5.0
Projects
None yet
Development

No branches or pull requests

4 participants