VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Java crashes on MacOS when lots of entities spawn

Open Ezekielman opened this issue 7 months ago • 4 comments

Whenever I try to spawn a lot of entities (tnt world, sand world, creepers, etc), the game crashes. I've tried all possible java versions, changing how much memory is allocated, and more. But I don't think that's the issue, since it always says "A fatal error has been detected by the Java Runtime Environment". I don't know what to do, or if it can be fixed, but it only happens with vulkanmod.

And yes, I tried it on it's own as well, with no other mods, and it was the same issue.

Link to log: mclogs

https://github.com/xCollateral/VulkanMod/assets/121585005/1b59366d-ab95-4e34-91af-7037b0cfd066

Ezekielman avatar Jan 16 '24 21:01 Ezekielman

If it's an issue not related to the mod, that's fine. But I want to know, since I know basically nothing when it comes to crashes apart from the standard error codes 1, 0, and 255.

Ezekielman avatar Jan 16 '24 21:01 Ezekielman

this look like a jvm crash, it can't be fix by the mod (i think). try update your java version to the latest 17.x possible.

cylian914 avatar Jan 28 '24 10:01 cylian914

Ok, I'll see if there are any versions newer than 17.0.5 or 19.0.2. This might not be the issue, but I should try x86 java if I haven't already, just to make sure that ARM isn't the issue.

Ezekielman avatar Jan 28 '24 13:01 Ezekielman

I've tried nearly every java version that works (17.0.1, 17.0.2, 17.0.3, 17.0.5, 17.0.10, 19.0.1, 19.0.2), and it has still been crashing. I've tried both ARM and x86 java, so I guess it just doesn't work on mac (unless something else is going on).

It might have something to do with rendering, since sometimes I could do the tnt world or the sand world for several minutes as long as I wasn't looking at any entities.

Ezekielman avatar Jan 31 '24 12:01 Ezekielman