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

Try boogie with normal stack sizes #1917

Conversation

keyboardDrummer
Copy link
Member

Fixes #

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

keyboardDrummer added a commit to boogie-org/boogie that referenced this pull request Mar 23, 2022
…ack (#524)

### Changes
- Do not create threads with 16MB instead of the default 1 MB stack space.
- Stop using a TaskScheduler that always creates a new Thread to run a task.
- Remove a deadlock cause in `SMTLibProcess` that was caused by `TaskCompletionSource.SetResult` call inside a lock where the continuation could try to lock the same monitor.
- Stop synchronously blocking on Tasks inside an asynchronous context, which can cause deadlocks
- Wasn't needed: replace algorithms in Boogie that traverse Boogie programs using the call stack

### Testing
- Add a test that tries to trigger a stack overflow by using a Boogie program with deep nesting
- Dafny tests pass with this change: dafny-lang/dafny#1917
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.

1 participant