Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Upstream bug in wasmer limits us to rust 1.67 #521

Closed
kevaundray opened this issue Sep 3, 2023 · 3 comments · Fixed by noir-lang/noir#3387
Closed

Upstream bug in wasmer limits us to rust 1.67 #521

kevaundray opened this issue Sep 3, 2023 · 3 comments · Fixed by noir-lang/noir#3387
Labels
bug Something isn't working

Comments

@kevaundray
Copy link
Contributor

kevaundray commented Sep 3, 2023

Bug

Running the blackbox function solver in newer versions of rust (1.69+) will give an error such as:

thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x8 but is 0x558d586c8774',

This is due to a bug in wasmer, the tracking issue is noted here

Reproduce

You can reproduce by creating a fresh binary project, importing acvm 0.24.1 and running the following code:

fn main() {
    println!("Hello, world!");
    #[allow(deprecated)]
    let _blackbox_solver = acvm::blackbox_solver::BarretenbergSolver::new();
}

Environment

  • Rust 1.72

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@kevaundray kevaundray added the bug Something isn't working label Sep 3, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Sep 3, 2023
@kevaundray
Copy link
Contributor Author

Similar to circom-compat, we can add a note in the readme until that issue is resolved. See here

@kevaundray
Copy link
Contributor Author

I tried to reproduce it on #520 but perhaps something is getting cached during testing -- would like to investigate why that is passing

@TomAFrench
Copy link
Member

If I run the nargo built from noir-lang/noir#3353 then I don't run into this issue. @kevaundray can you test and confirm if you still experience this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants