ParCool icon indicating copy to clipboard operation
ParCool copied to clipboard

Sporadic crash using parcool

Open TheFireSkorpion opened this issue 9 months ago • 4 comments

Summary The game crashes when the player performs a sneak action. The error occurs in CancelMarks.cancelSneak from the ParCool! mod. It seems like the function is trying to access an empty or invalid list, causing an IndexOutOfBoundsException.

Running Environment

  • 1.20.1
  • ParCool Version: parcool-1.20.1-3.3.1.1
  • Forge Version (optional):

Detail

Possible Conflicts: Other mods affecting player movement/animation: Emotecraft BetterCombat Fabric Entity Events

Crash Log Snippet: java.lang.IndexOutOfBoundsException: Index: 0, Size: -1 at java.util.LinkedList.checkPositionIndex(LinkedList.java:564) at java.util.LinkedList.listIterator(LinkedList.java:871) at java.util.AbstractList.listIterator(AbstractList.java:311) at java.util.Collection.removeIf(Collection.java:574) at com.alrex.parcool.common.action.CancelMarks.cancelSneak(CancelMarks.java:32)

Additional Data Such as Screenshots or Crash Reports (I am happy and fix the bug more easily if you send me these)

crash-2025-03-16_22.38.14-client.txt

it's happened to me twice in a row, using the forward key and jumping.

TheFireSkorpion avatar Mar 16 '25 21:03 TheFireSkorpion

Maybe emotecraft

alRex-U avatar Apr 05 '25 05:04 alRex-U

really wtf size : -1. Multi thread access?

alRex-U avatar Apr 05 '25 05:04 alRex-U

We have a mod that changes the size of the players (pehkui) and an emote mod (emotecraft)

Stiles52 avatar Apr 05 '25 06:04 Stiles52

It doesn't happen on all the players, I can't see a constant in all this

Stiles52 avatar Apr 05 '25 06:04 Stiles52

Please report if this issue occurs again

alRex-U avatar Jul 31 '25 09:07 alRex-U