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
With rust 1.78 we now get panics on what I assume has to do with how we copy data from c message structs.
thread 'msg_types::tests::test_float_sequence' panicked at library/core/src/panicking.rs:156:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap
As a temporary fix you can downgrate to rust 1.77.
But we should investigate the root cause of the problem.
The text was updated successfully, but these errors were encountered:
One of the checks now performed is that from_raw_parts no longer accepts a null ptr to the data (before the empty slice was returned). from_raw_parts is used a lot in the r2r code base. There may be up more of these issues that I didn't find yet.
With rust 1.78 we now get panics on what I assume has to do with how we copy data from c message structs.
As a temporary fix you can downgrate to rust 1.77.
But we should investigate the root cause of the problem.
The text was updated successfully, but these errors were encountered: