#Misaligned pointer error with Tokio and Nightly

5 messages · Page 1 of 1 (latest)

real flint
#

I'm encountering a strange runtime error when testing my code, here's a backtrace:

thread 'accounts::tests::test_comment_on_match_profile_match' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.30.0/src/runtime/task/core.rs:269:21:
212.1 misaligned pointer dereference: address must be a multiple of 0x80 but is 0x237a20703c0

The stack trace is just a bunch of junk from Tokio and std::thread going back up to the first invocation of the test function, and I have no unsafe in my code anywhere. Is there currently a problem with Tokio I should know about?

vivid lark
#

If you aren’t working with raw pointers or anything, you should probably make a bug report on the Tokio GitHub.

dapper ledge
#

GitHub issue search is a good place to start for "is this a known bug?"

real flint
#

Wasn't able to find this somehow, thanks!