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

nargo crashes while printing the SSA #6520

Closed
aakoshh opened this issue Nov 14, 2024 · 0 comments · Fixed by #6715
Closed

nargo crashes while printing the SSA #6520

aakoshh opened this issue Nov 14, 2024 · 0 comments · Fixed by #6715
Labels
bug Something isn't working

Comments

@aakoshh
Copy link
Contributor

aakoshh commented Nov 14, 2024

Aim

Tried to print the SSA of fold_2_to_17.

Expected Behavior

I expected all SSA passes to be printed all the way down to "After array set optimisation".

Bug

Nargo crashes while printing the SSA "After Unrolling"

~/Work/aztec/noir/test_programs/execution_success/fold_2_to_17 cargo run -p nargo_cli --  --program-dir . compile --show-ssa
...
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
fish: Job 1, 'cargo run -p nargo_cli --  --pr…' terminated by signal SIGABRT (Abort)

It won't print a stack trace with the RUST_BACKTRACE=1 option either.

To Reproduce

  1. cd test_programs/execution_success/fold_2_to_17
  2. cargo run -p nargo_cli -- --program-dir . compile --show-ssa

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

None

Blocker Context

No response

Nargo Version

nargo version = 0.38.0 noirc version = 0.38.0+efd763cb77b3709948ef54ae534cbc3f1a8de0e9 (git version hash: a42c643, is dirty: true)

NoirJS Version

No response

Proving Backend Tooling & Version

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@aakoshh aakoshh added the bug Something isn't working label Nov 14, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Nov 14, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant