Skip to content

UBSan runtime error: load/store of misaligned address #3459

@BaldDemian

Description

@BaldDemian

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Fory: latest
OS: Ubuntu 24.04.3 LTS x86_64
GCC: 13.3.0

Component(s)

C++

Minimal reproduce step

Apply changes in this PR and run bazel test --cache_test_results=no --config=x86_64 --config=ubsan $(bazel query //...)

What did you expect to see?

No UB should be detected by UBSan

What did you see instead?

Several misaligned address load/store errors. See this log file for more details: https://github.com/user-attachments/files/25822916/ubsan_report.txt

Anything Else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions