DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
720 stars 254 forks source link

Submissions end with segfault causing Judgehost to terminate #160

Closed ongun-kanat closed 9 years ago

ongun-kanat commented 9 years ago

I've installed DOMJudge on my Ubuntu 14.04 server and created a contest. It's all working but when a user sends a program that causes segfault judgehost stops with error message below. I've tried with/without cgroups and with/without chroot.

[Mar 04 16:55:50] judgedaemon[6160]: Judge started on dom1 [DOMjudge/4.0.4]
[Mar 04 16:55:50] judgedaemon[6160]: Found unfinished judging j4 in my name; given back
[Mar 04 16:55:50] judgedaemon[6160]: Judging submission s4 (t1/p1/c), id j5...
[Mar 04 16:55:50] judgedaemon[6160]: Working directory: /opt/domjudge/judgehost/judgings/dom1/c1-s4-j5
[Mar 04 16:55:51] testcase_run.sh[6218]: error: found processes still running as 'domjudge-run', check manually:
 6264 apport
[Mar 04 16:55:51] judgedaemon[6160]: error: Unknown exitcode from testcase_run.sh for s4, testcase 1: 127
meisterT commented 9 years ago

This is a known problem. Disable or uninstall apport (a daemon that sends crash dialogs to Ubuntu).