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

Test coroutines in loop for stack overflow #276

Conversation

jbaldwin
Copy link
Owner

@jbaldwin jbaldwin commented Aug 2, 2024

It appears gcc doesn't cleanup the coroutine frames until the parent function goes out of scope, so iterating by a very large number can cause seg faults/stack overflows.

Closes: #273

It appears gcc doesn't cleanup the coroutine frames until the parent
function goes out of scope, so iterating by a very large number can
cause seg faults/stack overflows.

Closes: #273
@jbaldwin jbaldwin self-assigned this Aug 2, 2024
@jbaldwin jbaldwin closed this Sep 12, 2024
@jbaldwin jbaldwin deleted the issue-273-stack-frames-not-cleared-after-coawait-recursion branch September 12, 2024 00:22
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.

Stack Frames Not Cleared After co_await
1 participant