cctt / hustoj

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

C/C++ syscall 89 in unreleased Ubuntu 14.04 LTS x64 #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Ubuntu 14.04 LTS (64bit) ;-) 
1. 安装 Ubuntu 14.04 LTS (64bit)
2. Submit a C/C++ code
2. 提交 C/C++ 程序(#include <stdio.h> 然后只有 scanf 和 
printf,就是最普通的那个 A+B =_=
3. Get Runtime Error:[ERROR] A Not allowed system call: runid:8674 called:89
3. 然后就 RE 了,call 号是 89,虽然我也不知道它 readdir 
干嘛,但是它就是调用了。

What is the expected output? What do you see instead?
Accepted ;-), but get Runtime Error:[ERROR] A Not allowed system call: 
runid:8674 called:89

What version of the product are you using? On what operating system?
Ubuntu 14.04 LTS (64bit), gcc (Ubuntu 4.8.2-17ubuntu1) 4.8.2, HUSTOJ core 
lastest svn(最后的 svn 版本)
Ubuntu 14.04 LTS 32bit not tested. Errors may occur =w= (32 
位没有测试,不过估计可能也会有问题)

Please provide any additional information below.
add 89 with HOJ_MAX_LIMIT in okcalls.h and problem solved.
然后我在 okcalls.h 里加了个 89 和 HOJ_MAX_LIMIT 就可以了。

Original issue reported on code.google.com by dotk...@gmail.com on 28 Mar 2014 at 7:08

GoogleCodeExporter commented 9 years ago
Ubuntu 14.04 LTS (32bit)里也出现了这个问题,callid是85
按照楼上的方法已经解决问题,非常感谢

Original comment by jsks...@gmail.com on 29 Apr 2014 at 12:45

GoogleCodeExporter commented 9 years ago
I'll handle this one.

Original comment by newsc...@gmail.com on 6 May 2014 at 5:04

GoogleCodeExporter commented 9 years ago
14.04 goto github for latest update

Original comment by newsc...@gmail.com on 17 Jun 2014 at 3:38