mandy4321 / hustoj

Automatically exported from code.google.com/p/hustoj
0 stars 0 forks source link

java runtime error! #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
java runtime error!
environment:
   ubuntu 10.10
   openjdk 1.6.0_18
debug:
   Judging solution 3349
<<1done!>>
<<=sid=3349===clientid=0==>>

time: 3 mem: 266
pid=2656 judging /home/judge/data/1000/data2.in
[ERROR] A Not allowed system call: runid:3349 callid:221

status=9
Unknown signal 0
WTERMSIG=9
Killed
result: 10
mv: 目标 “/home/judge/run0/log/” 不是目录
mv: 目标 “/home/judge/run0/log/” 不是目录

Original issue reported on code.google.com by xiaos...@gmail.com on 29 Oct 2010 at 6:21

GoogleCodeExporter commented 8 years ago
和 issue 18 一样。

Original comment by xiaos...@gmail.com on 29 Oct 2010 at 11:51

GoogleCodeExporter commented 8 years ago
try to remove the -Xmx256M in judge_client.cc:624
sudo pkill judged
and run core/make.sh with root 
And 
sudo judged /home/judge debug
Rejudge again

Original comment by newsc...@gmail.com on 29 Oct 2010 at 1:40

GoogleCodeExporter commented 8 years ago
or just try add a new line in judge.conf
OJ_JAVA_XMX=-Xmx512M
Do not forget to add an empty new line at end of the file ,that is request for 
unix text file

Original comment by newsc...@gmail.com on 29 Oct 2010 at 2:07

GoogleCodeExporter commented 8 years ago
remove the -Xmx256M:会出现  Could not create the Java virtual machine.
OJ_JAVA_XMX=-Xmx512M:和原来的错误一样。

Original comment by xiaos...@gmail.com on 29 Oct 2010 at 11:38

GoogleCodeExporter commented 8 years ago
try r488

Original comment by newsc...@gmail.com on 31 Oct 2010 at 9:16

GoogleCodeExporter commented 8 years ago
still runtime error!

Original comment by xiaos...@gmail.com on 31 Oct 2010 at 11:25

GoogleCodeExporter commented 8 years ago
内存的问题?issue 18和我的内存都是2G!

Original comment by xiaos...@gmail.com on 31 Oct 2010 at 11:37

GoogleCodeExporter commented 8 years ago
确实是内存太大的问题 :P
因为我没有那么大内存,所以无法再现这个问题,调试只能��
�猜。

刚又改了,r489
注意 judge.conf中去掉OJ_JAVA_XMX
并且修改

OJ_JAVA_TIME_BONUS=20
OJ_JAVA_MEMORY_BONUS=512

编译后要复制judged到/usr/bin下,或使用core/make.sh

Original comment by newsc...@gmail.com on 1 Nov 2010 at 12:01

GoogleCodeExporter commented 8 years ago
runtime error

Original comment by xiaos...@gmail.com on 1 Nov 2010 at 1:02

GoogleCodeExporter commented 8 years ago
what in client.log

Original comment by newsc...@gmail.com on 1 Nov 2010 at 2:28

GoogleCodeExporter commented 8 years ago
fixed on r490

Original comment by newsc...@gmail.com on 1 Nov 2010 at 5:57