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-14370] Crash when call RawRepresentable.rawValue.getter #56728

Closed
swift-ci opened this issue Mar 18, 2021 · 4 comments
Closed

[SR-14370] Crash when call RawRepresentable.rawValue.getter #56728

swift-ci opened this issue Mar 18, 2021 · 4 comments

Comments

@swift-ci
Copy link
Collaborator

@swift-ci swift-ci commented Mar 18, 2021

Previous ID SR-14370
Radar rdar://problem/75627184
Original Reporter Crazy凡 (JIRA User)
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Xcode: Version 12.4 (12D4e)

OS: macOS Big Sur 11.2.3(inter Core i7)

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

md5: 552516776ca906f00ab086af67ff5b8a

Issue Description:

Swift will crash when call RawRepresentable.rawValue.getter.
With follow configuration:

//:configuration = Debug

//:configuration = Release

//:completeSettings = some
BUILD_LIBRARY_FOR_DISTRIBUTION = YES
//:configuration = Debug
MACH_O_TYPE = staticlib

//:configuration = Release
MACH_O_TYPE = staticlib

//:completeSettings = some
MACH_O_TYPE
//:configuration = Release
SWIFT_OPTIMIZATION_LEVEL = -O

//:completeSettings = none
@typesanitizer
Copy link

@typesanitizer typesanitizer commented Mar 19, 2021

@swift-ci create

@tbkka
Copy link
Contributor

@tbkka tbkka commented Apr 1, 2021

Could you please try this with Xcode 12.5 Beta ? We believe it's already been fixed there.

@tbkka
Copy link
Contributor

@tbkka tbkka commented Apr 1, 2021

Believe solved sometime before Xcode 12.5 Beta.

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Apr 3, 2021

Comment by kongkaikai (JIRA)

Yes, this problem has been fixed in Xcode 12.5-beta3.

@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

3 participants