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-8855] Runtime crash when Mirror attempts to access type metadata #51361

Open
swift-ci opened this issue Sep 26, 2018 · 3 comments
Open

[SR-8855] Runtime crash when Mirror attempts to access type metadata #51361

swift-ci opened this issue Sep 26, 2018 · 3 comments

Comments

@swift-ci
Copy link
Collaborator

@swift-ci swift-ci commented Sep 26, 2018

Previous ID SR-8855
Radar rdar://problem/44797569
Original Reporter xardas (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 10.0 (10A255), macOS 10.13.6, Swift 4.2

Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, 4.2Regression, Runtime
Assignee None
Priority Medium

md5: 691b9dcf74ebd3cd90c21b42c5c53192

Issue Description:

There is EXC_BAD_ACCESS crash during attempt to access Mirror's child when mirror reflects generic with type constraints resolved to another generic type.

Crash is always reproducible on Xcode 10 but non-reproducible on Xcode 9.

Stacktrace and sample project is attached.

@belkadan
Copy link
Contributor

@belkadan belkadan commented Sep 26, 2018

@swift-ci create

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Jan 14, 2019

Comment by Roman Ermolov (JIRA)

@belkadan it seems that the bug is fixed (checked it on Xcode 10.1 10B61).

@belkadan
Copy link
Contributor

@belkadan belkadan commented Jan 14, 2019

Thanks! @mikeash, @slavapestov, do you know what would have fixed it?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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