Artifacts

Artifacts

75M Downloads

ConcurrentModificationException Crash

CaoTrongThang opened this issue ยท 1 comments

commented

Bug description

I've been getting this crash for months, I see that your mod uses Architecture as a dependency, can you take a look at the crash?. If you're using normal HashMap, I hope you can try using ConcurrentHashMap for no ConcurrentModificationException Crash

Here's the log: https://gist.github.com/CaoTrongThang/20b4e15113f87227ae1fcf4dd0868ff1

Steps to reproduce

It happens very randomly

RAR-Compat

  • I verified I do not have RAR-Compat installed

Minecraft version

1.20.1

Mod loader

Fabric

Mod loader version

0.16.10

Accessory mod

Trinkets

Accessory mod version

3.7.2

Additional Details

No response

commented

Thanks for the report. Your crash log indicates that this ConcurrentModificationException crash happens when Architectury iterates over listeners of the ClientGuiEvent.RENDER_POST event. The only way this could happen is when a listener of this event adds or removes another listener (or itself) to this same event. Artifacts does not use the RENDER_POST event, neither does it dynamically add or remove listeners from/to events after the game has already loaded, so I don't see how this crash could possibly be caused by Artifacts.

Since you're dealing with a ConcurrentModificationException, you might want to look into this project: https://github.com/Viola-Siemens/CME-Suck-My-Duck. It requires a fair amount technical knowledge, but if you can get it working it should point you in the right direction.