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

fix: stack size VM limits #961

Merged
merged 1 commit into from
Nov 11, 2024
Merged

fix: stack size VM limits #961

merged 1 commit into from
Nov 11, 2024

Conversation

miraclx
Copy link
Member

@miraclx miraclx commented Nov 11, 2024

#630 unintentionally swapped the values for max_storage_pages and max_stack_size.

Losing semantic information was a bad idea, and constructor functions for structs with all fields public are non-beneficial. Functions with many arguments, also a bad idea.

This seemingly subtle change led to a stack overflow on an intel machine, but not on M1 Pro for some reason, worth investigating later. As it's part of why it wasn't caught earlier.

@miraclx miraclx enabled auto-merge (squash) November 11, 2024 13:04
@miraclx miraclx merged commit 455a6d0 into master Nov 11, 2024
18 checks passed
@miraclx miraclx deleted the miraclx/fix-limits branch November 11, 2024 13:21
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

Successfully merging this pull request may close these issues.

2 participants