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
Currently the test that sends a [u8; 4096] is gated to run only when not under loom. This causes invalid memory access under loom and I have no idea why.
The invalid memory access happens when the receiver.recv() method is called. The weird thing is that it happens before the method even runs:
...eprintln!("This is printed");
receiver.recv();}implReceiver{fn recv(){eprintln!("This is NOT printed");
So it's like if just calling the function is invalid memory access. Access to undefined memory is more exactly what it says.
Another weird thing is that this depends on the amount of code in the recv method and the size of the message. When writing this it's triggered when the message reach around 500 bytes. But if I start removing code from the recv method it starts working again.
The text was updated successfully, but these errors were encountered:
Currently the test that sends a
[u8; 4096]
is gated to run only when not under loom. This causes invalid memory access under loom and I have no idea why.The invalid memory access happens when the
receiver.recv()
method is called. The weird thing is that it happens before the method even runs:So it's like if just calling the function is invalid memory access. Access to undefined memory is more exactly what it says.
Another weird thing is that this depends on the amount of code in the
recv
method and the size of the message. When writing this it's triggered when the message reach around 500 bytes. But if I start removing code from the recv method it starts working again.The text was updated successfully, but these errors were encountered: