Skip to content

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
@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

2 participants