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
This is due to the fixed-size stack variable in the pretty_print_port function here.
Increasing the size of this array postpones the problem - although it increases the maximum size of the created list before segfaulting, it doesn't really solve the problem. I'm working on direct net readback through interop in Rust - that would fix the problem until the readback function in Rust overflows 😛
For now I think we could increase this array, since 256 really is quite short
Just commenting here so I can refer back to it, this pretty_print_port will break even further with my planned extended numerics changes (will be using ERA as a pointer), so I'll fix this then.
Reproducing the behavior
Running this program with
hvm run-c
causes a segmentation fault after printing the resultsIf we change the number on
@main
to be smaller than 32 this doesn't happenSystem Settings
Additional context
No response
The text was updated successfully, but these errors were encountered: