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

benchexec does not terminate when CTRL-c is pressed #874

Open
dbeyer opened this issue Nov 6, 2022 · 2 comments
Open

benchexec does not terminate when CTRL-c is pressed #874

dbeyer opened this issue Nov 6, 2022 · 2 comments

Comments

@dbeyer
Copy link
Member

dbeyer commented Nov 6, 2022

In the phase at the very beginning, when benchexec computes the the set of benchmark tasks, it does not react on CTRL-c.

@PhilippWendler
Copy link
Member

Is the problem that BenchExec does not react to Ctrl+C at all, or just that it reacts delayed, i.e., terminates after the initial phase is finished and actual benchmarking would start? I suspect it is the latter, because if we retrieve Ctrl+C we set an internal flag and that should be checked at latest when benchmarking starts.

So it would be a goal to reduce the delay somewhat, which would probably be possible by checking the mentioned flag at a few points during initialization.

@dbeyer
Copy link
Member Author

dbeyer commented Feb 3, 2023

Yes, exactly. For large benchmark sets, the initial phase can last several minutes, and sometimes one wants to terminate the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants