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

Increase stack size to 8MB #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Exxenoz
Copy link

@Exxenoz Exxenoz commented Jun 13, 2024

When I start the application on Windows with the --gpu flag, it crashes at line 48 in gpu_impl.rs with the following error message: thread 'main' has overflowed its stack.

The problem no longer occurs when the stack size is increased. It's strange that the default stack size (2MB ?) is exceeded at all. Unfortunately, I am not very good at debugging Rust applications and this fix is probably not very clean, but nevertheless, I wanted to share what I have in case others have the same problem.

Fixes the following error in gpu mode: thread 'main' has overflowed its stack
@qbbt
Copy link

qbbt commented Jun 15, 2024

This fixed issue for me after going down some other rabbit holes that didn't work 🪄🎩🐈‍⬛. Also, I think the crates.io latest version is sufficiently outdated that it is a silent killer to new users of the project. Although troubleshooting does force you to learn more about how everything works 🤯. & just would like to express to everyone for their help. It provides significant inspiration to dig deeper into the open-source world!

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