fabric-loader icon indicating copy to clipboard operation
fabric-loader copied to clipboard

Loader throws FileSystemAlreadyExistsException with minecraft 1.12

Open DeadlyMC opened this issue 6 years ago • 5 comments

When trying to run fabric with 1.12 the game loads up until the loading screen but when i open a world it just freezes and i can see an exception in the console. In case of the server it just instantly crashes. I'm running fabric-loader 0.6.1+build.165 This is the crash-report (it generates this for both client and server) : https://pastebin.com/w6ztVvsC

I tried downgrading to a older version. Tested with 0.4.0+build.112 and it worked there. Seems like fabric-loader isn't cleaning up its file system usage properly

DeadlyMC avatar Sep 07 '19 14:09 DeadlyMC

@sfPlayer1 Does fabric loader treat Minecraft jar as a mod since your minecraft builtin mod change? If yes, I see that some FileSystems on mods are not closed after usage, which may have contributed to this issues.

liach avatar Sep 07 '19 14:09 liach

Yes, the builtin mods are being associated with the game jar. We already fixed a bug around the resources module not ignoring builtin mods, there may be more cases needing similar fixing.

Player3324 avatar Sep 07 '19 16:09 Player3324

I have successfully reproduced a similar crash of 18w43b (the oldest snapshot supported by Fabric) with a clean installation of loader 0.6.2+build.166. https://gist.github.com/6ef5018540b366949fef7018f1331fe9 The error emerges from resource pack container trying to determine the initial insertion position of the pack.

Meanwhile, a clean installation of loader 0.4.9+build.161 can totally launch fine.

liach avatar Sep 21 '19 18:09 liach

~~Couldn't reproduce on 0.10.8~~ Nevermind, it launched but I didn't open the world. I tested now and could still reproduce

creeper123123321 avatar Jan 05 '21 14:01 creeper123123321

Hmm, I think in 1.12 advancements or something alike creates a file system for the jar and expect none to exist beforehand. May that be the cause?

liach avatar Jan 08 '21 05:01 liach

It seems this may have been fixed, if not please open a new issue.

modmuss50 avatar Feb 05 '23 21:02 modmuss50