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

[UBSAN] Common/Swap.h:121: member access within misaligned address #14003

Closed
glebm opened this issue Jan 29, 2021 · 1 comment · Fixed by #14008
Closed

[UBSAN] Common/Swap.h:121: member access within misaligned address #14003

glebm opened this issue Jan 29, 2021 · 1 comment · Fixed by #14008
Milestone

Comments

@glebm
Copy link
Contributor

glebm commented Jan 29, 2021

Happens on startup:

../Common/Swap.h:121:30: runtime error: member access within misaligned address 0x7f9928c7f742 for type 'struct swap_struct_t', which requires 4 byte alignment
0x7f9928c7f742: note: pointer points here
 00 00  c0 a4 a1 4d 99 7f 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  e0 6e 9f 4d 99 7f
              ^ 

At a690127

@glebm
Copy link
Contributor Author

glebm commented Jan 30, 2021

This turned out to be a symptom of #14002 (UBSAN_OPTIONS=print_stacktrace=1 is very handy!)

@unknownbrackets unknownbrackets added this to the v1.11.0 milestone Jan 30, 2021
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 a pull request may close this issue.

2 participants