-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Spurious failure "ESRCH: No such process" #207
Comments
Interesting... I'm going to add a new |
Here is a debug output I managed to reproduce, if that helps. The test code is as follows, with a dependency on #[test]
pub fn a() {
futures_executor::ThreadPool::new();
}
#[test]
pub fn b() {
futures_executor::ThreadPool::new();
} and the debug log is:
|
That potentially helps... For some reason 13767 is being killed off without me catching it. If I had to hazard a guess - ptrace is poorly designed in some areas and one of them is that That sounds somewhat feasible to me, I'll add some more debug printouts through the coming days and try some things out. Hopefully, this will lead to a solution |
The two issues seem related so grouping all work here. From what I've found there's some issues with bad jumps or addresses during the run which can cause these errors either consistently or inconsistently
@vberger could you see if this issue still persists with the latest version on the develop branch? |
I can still reproduce it, though it seems to occur more rarely (occurred once in around 30 runs). |
Added the minimal example from #207 and had the coverage test run it 10 times to deal with the more spurious nature of this test
I cannot seem to reproduce it any more. 🎉 I'll reopen if I ever see it again. |
Rarely, it happens that when running tarpaulin on a test suite, a test fails with the following error:
I didn't really find a way to consistently reproduce it, but it happens from time to time.
The text was updated successfully, but these errors were encountered: