You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A process with injected mirrord layer is able to bind a socket to the same port twice. Such attempt fails without mirrord with OS error EADDRINUSE). Minimal example:
use std::net::UdpSocket;fnmain(){let _socket_1 = UdpSocket::bind("0.0.0.0:5555").unwrap();let err = UdpSocket::bind("0.0.0.0:5555").unwrap_err();eprintln!("{:?}", err);}
This program fails when run with mirrord:
thread 'main' panicked at 'called `Result::unwrap_err()` on an `Ok` value: UdpSocket { addr: 0.0.0.0:5555, fd: 12 }', src/main.rs:5:47
Steps to Reproduce
Prepare a binary from the provided example.
Prepare a local cluster.
Deploy a py-serv app from the testing guide.
Run the binary with mirrord and the deployed app as a target.
ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=59fec39d65f671e16fbac571b1aa031829fba964, for GNU/Linux 3.2.0, with debug_info, not stripped
Local process version
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered:
Bug Description
A process with injected mirrord layer is able to bind a socket to the same port twice. Such attempt fails without mirrord with OS error
EADDRINUSE
). Minimal example:This program fails when run with mirrord:
Steps to Reproduce
py-serv
app from the testing guide.Backtrace
No response
Relevant Logs
No response
Your operating system and version
Linux 5.19.0-38-generic #39~22.04.1-Ubuntu x86_64
Local process
ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=59fec39d65f671e16fbac571b1aa031829fba964, for GNU/Linux 3.2.0, with debug_info, not stripped
Local process version
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: