Project-LemonLime / Project_LemonLime

为了 OI 比赛而生的基于 Lemon + LemonPlus 的轻量评测系统 | 三大桌面系统支持
GNU General Public License v3.0
565 stars 60 forks source link

[BUG]一个文件名的隐患 #183

Closed tofucurd closed 1 year ago

tofucurd commented 1 year ago

Describe the bug 描述一下这个 Bug 在今天的测试中,一个题目名字叫watcher,于是便出现了奇奇怪怪的错误,详见#182,但是一旦将题目名字改为其他的,就好了。

To Reproduce 如何复现 新建一道题叫做watcher,即可MLE/程序无法执行

Expected behavior 期望获得的结果 正常测评

Screenshots 有截图吗?#182

Environment: 环境:

Additional context 其他信息 有可能是内部有程序叫watcher,望改成一个不那么常见的名字。

tofucurd commented 1 year ago
截屏2022-09-14 11 48 11

似乎并没有改变

tofucurd commented 1 year ago
截屏2022-09-14 12 04 51

现在其他的也不行了

tofucurd commented 1 year ago

有一个零时的办法(?),如果将原先的judgingthread.cpp 中那几个"watcher"改为"一串乱码",似乎可以解决问题

CoelacanthusHex commented 1 year ago

目前怀疑与 macOS 上的行为有关,但无 mac,无法调试

tofucurd commented 1 year ago

完成,是缺少Owner的权限

截屏2022-09-14 15 30 22
tofucurd commented 1 year ago

应该可以更改到lemon里了

CoelacanthusHex commented 1 year ago

fixed on master