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

fixes #23827; Cyclic proc calls causes infinite memory usage in VM #23830

Draft
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

ringabout
Copy link
Member

@ringabout ringabout commented Jul 12, 2024

fixes #23827

The test case given in tests/vm/tcyclic.nim is actually a pre-existing issue. It causes interpretation requires too many iterations in VM in 1.6.x as well

@ringabout ringabout changed the title fixes 23827; Cyclic proc calls causes infinite memory usage in VM fixes #23827; Cyclic proc calls causes infinite memory usage in VM Jul 12, 2024
@ringabout ringabout marked this pull request as draft July 12, 2024 22:32
@ringabout
Copy link
Member Author

I'm trying to find a better solution like a check for forward decls in the vmgen

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.

Cyclic proc calls causes infinite memory usage
1 participant