Skip to content

test_cmsg_nxthdr fails due to alignment checks for pointer dereferences #3181

@JohnTitor

Description

@JohnTitor

Example run: https://cirrus-ci.com/task/5904059698249728?logs=test#L85:

running 5 tests
test t::test_cmsg_data ... ok
test t::test_cmsg_firsthdr ... ok
test t::test_cmsg_len ... ok
test t::test_cmsg_space ... ok
test t::test_cmsg_nxthdr ... FAILED
failures:
---- t::test_cmsg_nxthdr stdout ----
thread 't::test_cmsg_nxthdr' panicked at 'misaligned pointer dereference: address must be a multiple of 0x4 but is 0x1b6966ed4d1', libc-test/test/cmsg.rs:74:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It's caused by rust-lang/rust#98112

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions