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

Adding thread lock to APICustomEMCMapper.customEMCforMod #2365

Open
YukkuriC opened this issue Sep 26, 2024 · 0 comments
Open

Adding thread lock to APICustomEMCMapper.customEMCforMod #2365

YukkuriC opened this issue Sep 26, 2024 · 0 comments

Comments

@YukkuriC
Copy link

Tickets that do not conform to this template will be closed without comment

Exact ProjectE version (do not say "latest", "latest on Curse", or similar):
1.20.1-PE1.0.1

Exact Forge version:
47.3.10

Link to crash log (please use a paste site, do not attach the .txt or paste the log inline):
https://paste.ubuntu.com/p/Dmm4Mjr969/

Steps to reproduce:

  1. adding PE with some addons that add EMCs, mine were:
  2. enter game

What I expected to happen:
get to main menu

What happened instead:
occasionally, during FMLCommonSetupEvent, multiple mods access to APICustomEMCMapper.registerCustomEMC at the same time, then they load fail with java.util.ConcurrentModificationException

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

No branches or pull requests

1 participant