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

compete test process becomes Zombie when the program has infinite loop #135

Closed
hayashikun opened this issue Feb 22, 2021 · 2 comments · Fixed by #136
Closed

compete test process becomes Zombie when the program has infinite loop #135

hayashikun opened this issue Feb 22, 2021 · 2 comments · Fixed by #136
Labels
bug Something isn't working

Comments

@hayashikun
Copy link

  • 環境: macOS Big Sur
  • cargo-compete version 0.8.4

プログラムに無限ループ箇所がある状態で cargo compete test abcxxx-x としてテストすると Timelimit Exceeded になりますが、
その際に親プロセスだけがkillされてゾンビ子プロセスが残ります

Screen Shot 2021-02-22 at 14 49 43

軽くコードを見たところ、judge自体は snowchains でやっているようなのでそちらの問題なのかもしれませんが。
ひとまずこちらにIssueを投げます

よろしくお願いします🙇‍♂️

@qryxip
Copy link
Owner

qryxip commented Feb 23, 2021

原因がわかりました。tokio::process::Child::kill.awaitを付け忘れていました。報告ありがとうございます。

@qryxip
Copy link
Owner

qryxip commented Feb 23, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants