Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net.minecraft.world.entity.projectile.AbstractArrow.m_5603_(AbstractArrow.java:422) + ServerHangWatchdog took 300.00+ seconds (should be max 0.05) #222

Open
mjevans opened this issue Aug 20, 2022 · 3 comments

Comments

@mjevans
Copy link

mjevans commented Aug 20, 2022

Modpack Version

E8 2.1.0

Describe your issue.

The server I've run experienced two lockups today alone that appear related to AbstractArrow. According to user reports, the most likely interaction was a user who'd baited Illagers into attacking each other with their crossbows.

Since this doesn't seem to be a vanilla issue (didn't see many any obvious results for 'AbstractArrow'), I further speculate that the mobs might sometimes spawn with modded enchantments.

There didn't appear to be anything noteworthy in the vanilla server console for other of these lockups.

Is there a way more data can be collected to better isolate this issue? The crash logs aren't terribly illustrative as the object dump of the stalled thread isn't included. Additionally one would think a timeout of 20x vanilla tick time should be added to such traveling entities rather than allowed to iterate forever.

Crash Report

https://gist.github.com/mjevans/9c78bb11ca188a067b76b44bb6f1fe61

Latest Log

No response

Have you modified the modpack?

Yes

User Modifications

Some of the development committed changes for ore generation (one type of ore) and such. One other crash may have been related to a world pregeneration mod that was added, which has since been disabled (but still installed); that is omitted from this bug report.

Did the issue happen in singleplayer or on a server?

Server

Discord Username

No response

@mjevans mjevans added the Bug label Aug 20, 2022
@NielsPilgaard
Copy link
Collaborator

Hmm, I wonder if this could be caused by the Piercing enchant from Quark 🤔

@mjevans
Copy link
Author

mjevans commented Aug 24, 2022

It might be https://www.curseforge.com/minecraft/mc-mods/parry

Slightly different but possibly related crash:

java.lang.Error: ServerHangWatchdog detected that a single server tick took 90.00 seconds (should be max 0.05)
    at java.lang.StrictMath.log(Native Method) ~[?:?] {}
    at java.util.Random.nextGaussian(Random.java:528) ~[?:?] {re:mixin}
    at net.minecraft.world.entity.projectile.Projectile.m_6686_(Projectile.java:114) ~[server-1.18.2-20220404.173914-srg.jar%23303!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
    at net.minecraft.world.entity.projectile.AbstractArrow.m_6686_(AbstractArrow.java:105) ~[server-1.18.2-20220404.173914-srg.jar%23303!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:quark.mixins.json:accessor.AccessorAbstractArrow,pl:mixin:A}
    at us.drullk.parry.ShieldParry.lambda$parryThisCasual$0(ShieldParry.java:62) ~[parry-2.3.jar%23216!/:2.3] {re:classloading}
    at us.drullk.parry.ShieldParry$$Lambda$44973/0x00000008057bbea0.accept(Unknown Source) ~[?:?] {}
    at us.drullk.parry.ShieldParry.parryProjectile(ShieldParry.java:45) ~[parry-2.3.jar%23216!/:2.3] {re:classloading}
    at us.drullk.parry.ShieldParry.dispatchShieldParry(ShieldParry.java:56) ~[parry-2.3.jar%23216!/:2.3] {re:classloading}
    at us.drullk.parry.ShieldParry.parryThisCasual(ShieldParry.java:61) ~[parry-2.3.jar%23216!/:2.3] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_260_ShieldParry_parryThisCasual_ProjectileImpactEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}
    at net.minecraftforge.eventbus.EventBus$$Lambda$4294/0x0000000801bd51b8.invoke(Unknown Source) ~[?:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
    at net.minecraftforge.event.ForgeEventFactory.onProjectileImpact(ForgeEventFactory.java:644) ~[forge-1.18.2-40.1.68-universal.jar%23308!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.world.entity.projectile.AbstractArrow.m_8119_(AbstractArrow.java:187) ~[server-1.18.2-20220404.173914-srg.jar%23303!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:quark.mixins.json:accessor.AccessorAbstractArrow,pl:mixin:A}

@NielsPilgaard
Copy link
Collaborator

Ah that might be! @Drullkus could you please assist us here? We have a crash possibly caused by Parry above :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants