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 #1167 #1225

Merged
merged 6 commits into from
Jul 21, 2021
Merged

Fixes #1167 #1225

merged 6 commits into from
Jul 21, 2021

Conversation

yav
Copy link
Member

@yav yav commented Jun 29, 2021

This requires newer version simple-smt, which supports calling back into
the program when the solver exits

@yav yav requested review from brianhuffman and robdockins June 29, 2021 22:23
Copy link
Contributor

@robdockins robdockins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a reasonable solution to me, although I haven't tested that it works.

We should probably remove the other handler, though.

@robdockins
Copy link
Contributor

@yav, any objections if I rebase this and get it merged?

@yav
Copy link
Member Author

yav commented Jul 21, 2021

@robdockins nope, go for it, I was waiting for the CI to get sorted out, but I don't think the failures are important.

yav and others added 6 commits July 21, 2021 10:54
This requires newer version simple-smt, which supports calling back into
the program when the solver exits
This should avoid a potential (rare) race condition where the callback
for a dead solver runs after a new solver has already been started,
which would result in a "lost" solver process just hanging around
@robdockins robdockins merged commit 51b7c6d into master Jul 21, 2021
robdockins added a commit to GaloisInc/saw-script that referenced this pull request Jul 23, 2021
Update simple-smt version and enable `-threaded` runtime.
This tracks the changes from GaloisInc/cryptol#1225

The threaded runtime is necessary to keep `waitForProcess`
from stalling all threads in simple-smt.
robdockins added a commit to GaloisInc/saw-script that referenced this pull request Jul 28, 2021
Update simple-smt version and enable `-threaded` runtime.
This tracks the changes from GaloisInc/cryptol#1225

The threaded runtime is necessary to keep `waitForProcess`
from stalling all threads in simple-smt.
robdockins added a commit to GaloisInc/saw-script that referenced this pull request Jul 29, 2021
Update simple-smt version and enable `-threaded` runtime.
This tracks the changes from GaloisInc/cryptol#1225

The threaded runtime is necessary to keep `waitForProcess`
from stalling all threads in simple-smt.
@RyanGlScott RyanGlScott deleted the T1167 branch March 22, 2024 14:48
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