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

Fix segfault in 1.77.0+ #113

Merged
merged 3 commits into from Apr 1, 2024
Merged

Fix segfault in 1.77.0+ #113

merged 3 commits into from Apr 1, 2024

Conversation

Jake-Shadle
Copy link
Collaborator

@Jake-Shadle Jake-Shadle commented Apr 1, 2024

This bug was filed on our library wrapping minidump-writer EmbarkStudios/crash-handling#84, but was an issue in this library. Basically, u128's layout was changed, causing the sse movaps instruction to segfault due to misalignment. This just changes the copy function to instead cast both blocks of memory to u8 slices to avoid alignment altogether, these are after all just blocks of raw bytes.

Resolves: EmbarkStudios/crash-handling#84

@Jake-Shadle Jake-Shadle merged commit 5af09e0 into main Apr 1, 2024
15 checks passed
@Jake-Shadle Jake-Shadle deleted the fix-segfault branch April 1, 2024 13:19
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.

Segfault in minidump_writer::linux::thread_list_stream::write when opt-level > 1
1 participant