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

sendmsg fails with EFAULT in sending unix domain socket file descriptors #320

Open
elfenpiff opened this issue Jul 25, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@elfenpiff
Copy link
Contributor

Required information

Operating system:
Linux ubuntu:22.04

Rust version:
rustc 1.80.0 (051478957 2024-07-21)

Cargo version:
cargo 1.80.0 (376290515 2024-07-16)

iceoryx2 version:
main branch

Observed result or behaviour:

Everything was build for target i686-unknown-linux-gnu

The tests (`:

  • unix_datagram_socket_sending_receiving_with_max_supported_fd_and_credentials_works (introduced with rust 1.71)
  • unix_datagram_socket_sending_receiving_with_single_fd_works (introduced with rust 1.80)

fail in the posix::sendmsg call since it emits an EFAULT. Those errors where introduced whenever a new rust version was introduced.

Expected result or behaviour:
What do you expect to happen?

Conditions where it occurred / Performed steps:

cargo nextest run -p iceoryx2-bb-posix --target i686-unknown-linux-gnu --test unix_datagram_socket_tests sending_receiving_with_single_fd_works
@elfenpiff elfenpiff added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant