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

Pointer is not multiple of 8 in test #40

Closed
peter-scholtens opened this issue Apr 18, 2023 · 1 comment
Closed

Pointer is not multiple of 8 in test #40

peter-scholtens opened this issue Apr 18, 2023 · 1 comment

Comments

@peter-scholtens
Copy link
Contributor

When cloning the most recent commit 262f340 and running cargo test I see it fails with:

thread '<unnamed>' panicked at 'misaligned pointer dereference: address
must be a multiple of 0x8 but is 0x7f5f40010b05', src/bbloom.rs:122:22

Some background info which may be relevant

  • kernel: 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • compiler: rustc 1.71.0-nightly (7908a1d65 2023-04-17)
  • Linux Mint 21.1 Vera
@al8n
Copy link
Owner

al8n commented Apr 18, 2023

When cloning the most recent commit 262f340 and running cargo test I see it fails with:

thread '<unnamed>' panicked at 'misaligned pointer dereference: address
must be a multiple of 0x8 but is 0x7f5f40010b05', src/bbloom.rs:122:22

Some background info which may be relevant

  • kernel: 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • compiler: rustc 1.71.0-nightly (7908a1d65 2023-04-17)
  • Linux Mint 21.1 Vera

Thanks! I have fixed this bug in the latest commit. This is caused by different memory model in Go and Rust.

@al8n al8n closed this as completed Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants