Skip to content

Conversation

@xymus
Copy link
Contributor

@xymus xymus commented Oct 16, 2025

Fix null dereference in deserialization logic for conformances. If deserializing the witness itself failed, don't try to get its actor isolation.

rdar://162158608

Fix null dereference in deserialization logic for conformances. If
deserializing the witness itself failed, don't try to
get its actor isolation.

rdar://162158608
@xymus xymus requested a review from bnbarham October 16, 2025 16:29
@xymus
Copy link
Contributor Author

xymus commented Oct 16, 2025

@swift-ci Please smoke test

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an easy test case you could add?

@xymus
Copy link
Contributor Author

xymus commented Oct 16, 2025

I don't have a test for this one as I worked backwards from the crashlog and it looked like a simple oversight in the actor isolation logic. If we already have a reproducer for failures at deserializing witnesses, adding an extra attribute may trigger this one.

@xymus
Copy link
Contributor Author

xymus commented Oct 16, 2025

@swift-ci Please smoke test Windows

1 similar comment
@xymus
Copy link
Contributor Author

xymus commented Oct 17, 2025

@swift-ci Please smoke test Windows

@xymus xymus merged commit afcbd35 into swiftlang:main Oct 20, 2025
3 checks passed
@xymus xymus deleted the deser-witness branch October 20, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants