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
Labels
access control Feature → modifiers: Access control and access levels bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. regression runtime The Swift Runtime standard library Area: Standard library umbrella swift 4.2

Comments

@swift-ci
Copy link
Collaborator

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

@swift-ci create

@swift-ci
Copy link
Collaborator Author

Comment by Roman Ermolov (JIRA)

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

@belkadan
Copy link
Contributor

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
@AnthonyLatsis AnthonyLatsis added regression swift 4.2 access control Feature → modifiers: Access control and access levels and removed 4.2 regression labels Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
access control Feature → modifiers: Access control and access levels bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. regression runtime The Swift Runtime standard library Area: Standard library umbrella swift 4.2
Projects
None yet
Development

No branches or pull requests

3 participants