Skip to content

test_repr_deep from test_userdict triggers stack overflow protections for a debug build under WASI #111809

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

Closed
brettcannon opened this issue Nov 7, 2023 · 3 comments
Labels

Comments

@brettcannon
Copy link
Member

brettcannon commented Nov 7, 2023

Detected with WASI-SDK 20 and wasmtime 14.

Linked PRs

@brettcannon
Copy link
Member Author

FYI @sobolevn plans to tackle this.

@sobolevn
Copy link
Member

sobolevn commented Nov 8, 2023

@brettcannon indeed :)

What is interesting is that test_dict does not fail, does it?
It is basically the same test with a different type.

@brettcannon
Copy link
Member Author

What is interesting is that test_dict does not fail, does it?

It passes.

It is basically the same test with a different type.

But it's a different data structure. And there are different stack depths for C calls compared to Python calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants