Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

主循环崩溃 #144

Closed StarchierOrb closed 4 years ago

StarchierOrb commented 4 years ago

服务器隔一段时间之后会无征兆崩溃 崩溃报告:https://paste.ubuntu.com/p/DzHQ9NkSXG/

Luohuayu commented 4 years ago

请提供debug.log

StarchierOrb commented 4 years ago

截取了蹦服前几分钟的debug.log,没有异常报错

https://paste.ubuntu.com/p/xtH2pPQMgM/

Luohuayu commented 4 years ago

完整log里有没有Try to asynchronously等内容

StarchierOrb commented 4 years ago

有,玩家打开天境mod的饰品背包会出现,然后整个日志除了插件常规报错,还有ic2的护甲报错 https://paste.ubuntu.com/p/7vVHvTZzqn/

StarchierOrb commented 4 years ago

换成多线程版后也会出现相同类型的报错,但不会崩溃 https://paste.ubuntu.com/p/2623Dsj96S/

Luohuayu commented 4 years ago

https://github.com/Luohuayu/CatServer/commit/d427cbd005064aa53b11474cb8eb4da18ceec428

Luohuayu commented 4 years ago

尝试更新到最新releases

StarchierOrb commented 4 years ago

更新后家具mod的电脑方块无法正常使用了,玩家使用电脑方块会直接掉线,并且物品会被全部吞掉, 报错应该是异步给物品被拦截了 报错:https://paste.ubuntu.com/p/QwbZD688br/

Luohuayu commented 4 years ago

家具MOD异步操作造成的服务端崩溃, 请向MOD作者反馈