Skip to content

Explicitly load unaligned data in test #875

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

Merged

Conversation

d-ronnqvist
Copy link
Contributor

@d-ronnqvist d-ronnqvist commented Apr 2, 2024

Bug/issue #, if applicable: rdar://125770540

Summary

This fixes the Linux CI crashing due to unaligned read from buffer in a LMDB test. For example:
https://ci.swift.org/job/pr-swift-docc-linux/1243/

Dependencies

None

Testing

Verify that the Linux CI passes.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added Updated tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary Not applicable

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist marked this pull request as ready for review April 2, 2024 09:35
@d-ronnqvist d-ronnqvist merged commit 2196c3d into swiftlang:main Apr 2, 2024
@d-ronnqvist d-ronnqvist deleted the unaligned-buffer-load-in-test branch April 2, 2024 12:13
d-ronnqvist added a commit to d-ronnqvist/swift-docc that referenced this pull request Apr 2, 2024
d-ronnqvist added a commit that referenced this pull request Apr 2, 2024
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.

2 participants