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-8276] Garbage witness table causes runtime crash while testing conditional conformance on i386 / iphonesimulator #50807

Open
mortenbekditlevsen mannequin opened this issue Jul 17, 2018 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@mortenbekditlevsen
Copy link
Mannequin

mortenbekditlevsen mannequin commented Jul 17, 2018

Previous ID SR-8276
Radar rdar://problem/43146799
Original Reporter @mortenbekditlevsen
Type Bug
Environment

The failing target is the i386 / iphonesimulator target.

x86_64 and the x86_64 / iphonesimulator both work fine.

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

md5: 3ffcfc8f8583985200166f0561c0ef93

Issue Description:

The PR #16238 triggers a runtime error when the swift CI runs on the i386 / iphonesimulator target.

As can be seen from the investigation on the PR thread, the crash appears to have to do with a witness table containing garbage data.

On a higher level, this witness table relates to the conditional conformance of a 'marker' protocol - and the crash occurs when an `is` check is made for conformance to the marker protocol.

@aschwaighofer
Copy link
Member

@swift-ci create

@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
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant