3310201
error-logs没有报错
貌似是和服务器卡顿有关系
报错一部分.txt (142.27 KB, 下载次数: 16)

3310201
貌似和主线程卡死有关,但主线程卡死消息前一定有
[23:17:28] [Server thread/ERROR]: 0: HIGHEST
[23:17:28] [Server thread/ERROR]: 1: ASM: WayofTime.alchemicalWizardry.common.AlchemicalWizardryEventHooks@50ebaa96 onPlayerDamageEvent(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 2: NORMAL
[23:17:28] [Server thread/ERROR]: 3: ASM: WayofTime.alchemicalWizardry.common.AlchemicalWizardryEventHooks@50ebaa96 onEntityDamaged(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 4: ASM: vazkii.botania.common.item.relic.ItemOdinRing@6d82a614 onPlayerAttacked(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 5: ASM: tconstruct.tools.TinkerToolEvents@45bb8a82 onAttack(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 6: ASM: tconstruct.armor.TinkerArmorEvents@68555a9d perfectDodge(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 7: ASM: micdoodle8.mods.galacticraft.planets.mars.EventHandlerMars@65ed408f onLivingAttacked(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 8: ASM: thaumic.tinkerer.common.item.ItemBloodSword@1adb0756 onDamageTaken(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 9: ASM: com.gildedgames.util.player.common.PlayerEventHandler@3d763566 onLivingAttack(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 10: ASM: twilightforest.TFEventListener@60e342a4 livingAttack(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 11: ASM: fox.spiteful.avaritia.LudicrousEvents@3440e2ef onAttacked(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 12: ASM: mods.flammpfeil.slashblade.ability.UntouchableTime@fe081de onLivingAttackEvent(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 13: ASM: thaumic.tinkerer.common.potion.PotionEffectHandler@7c03dad3 onLivingHurt(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 14: ASM: taintedmagic.common.handler.TaintedMagicEventHandler@7d3e4737 entityAttacked(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 15: ASM: mods.flammpfeil.slashblade.stats.AchievementList@18bbdd6 livingAttackEvent(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
[23:17:28] [Server thread/ERROR]: 16: LOW
[23:17:28] [Server thread/ERROR]: 17: ASM: com.brandon3055.draconicevolution.common.handler.MinecraftForgeEventHandler@74ebe4fb onLivingAttack(Lnet/minecraftforge/event/entity/living/LivingAttackEvent;)V
这一些消息

ItIsEnderman
尝试更新或者删除DraconicEvolution以及星系Mod

3310201
ItIsEnderman 发表于 2020-5-21 10:01
尝试更新或者删除DraconicEvolution以及星系Mod

原理是?

ItIsEnderman
java.lang.StackOverflowError

可以说这个错误缘由基本都是逻辑关系混乱(长到离谱的递归、调用关系死循环),也有少量特例,比如1.7.10旧版本ProjectE自带中文的语言文件导致这个错误。

如果新版本对特定逻辑机制有所修改的话,可能可以绕开这种错误,但也是可能可以。试一下才知道。

反正draconicevolution和galacticraft都被晒尸出来了,那就先对着这两个下手。

3310201
ItIsEnderman 发表于 2020-5-21 10:24
可以说这个错误缘由基本都是逻辑关系混乱(长到离谱的递归、调用关系死循环),也有少量特例,比如1.7.1 ...

会不会有可能是内存问题?

ItIsEnderman
3310201 发表于 2020-5-21 10:27
会不会有可能是内存问题?

栈溢出本来就是一种内存溢出,这点我建议你了解一下什么是栈内存和堆内存,这个本来就是(广义)内存问题

而如果从狭义内存问题入手的话,这个绝大多数情况下不算狭义的内存问题,几乎都是我刚才提到的几种情形。
这年代还有谁一个劲往栈里面存一大堆变量

3310201
ItIsEnderman 发表于 2020-5-21 10:39
栈溢出本来就是一种内存溢出,这点我建议你了解一下什么是栈内存和堆内存,这个本来就是(广义)内存问题 ...

简单一点说,我加内存就ok了?

huzpsb
不,这是无底洞....这个报错是forge遇到了损坏的逻辑链产生的

ItIsEnderman
3310201 发表于 2020-5-21 10:40
简单一点说,我加内存就ok了?

不是添加-Xmx,而是重新设置-Xss,设置为比以前大。比如原本是-Xss512K,那就可以改为-Xss1024K.

单独增加栈空间不能解决调用死循环引起的栈内存溢出,请注意,这种死循环是无论你给多大的资源他都会给你填满。很多情况下是逻辑关系混乱,这点我建议先更新或者删除Mod。

下一页 最后一页