natsukagami/kjudge

Persistent crash on running submission

TrungNguyen1909 opened this issue · 1 comments

What version are you encountering the bug in?
kjudge 0.6.0 "Mitsuko Kongou"

Describe the bug
Submission causes the server to attempt to run but failed repeatedly across restarts.

To Reproduce
Steps to reproduce the behavior:
Using the provided database
kjudge.db.zip

Expected behavior
Judge successfully

Screenshots and Logs

2020/06/24 16:47:42 [WORKER] Submission 5 needs to run 2 tests before being scored.
2020/06/24 16:47:42 [WORKER] Running submission 5 on [test `01`, group `main`]
2020/06/24 16:47:42 [WORKER] Handling job failed: exit status 2
github.com/natsukagami/kjudge/worker/isolate.(*Sandbox).Run
	/kjudge/worker/isolate/sandbox.go:63
github.com/natsukagami/kjudge/worker.RunSingleCommand
	/kjudge/worker/run.go:122
github.com/natsukagami/kjudge/worker.Run
	/kjudge/worker/run.go:187
github.com/natsukagami/kjudge/worker.(*Queue).HandleJob
	/kjudge/worker/queue.go:75
github.com/natsukagami/kjudge/worker.(*Queue).Start
	/kjudge/worker/queue.go:37
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357
github.com/natsukagami/kjudge/worker.RunSingleCommand
	/kjudge/worker/run.go:124
github.com/natsukagami/kjudge/worker.Run
	/kjudge/worker/run.go:187
github.com/natsukagami/kjudge/worker.(*Queue).HandleJob
	/kjudge/worker/queue.go:75
github.com/natsukagami/kjudge/worker.(*Queue).Start
	/kjudge/worker/queue.go:37
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357

Desktop (please complete the following information):

  • OS: Docker on Mac
  • Browser: Chrome
  • Version: Docker on Mac ver 2.3.0.3(45519) stable

Additional context
Add any other context about the problem here.