Game Crashes: Mod Added Tree After Memory Optimization
Torchead opened this issue · 37 comments
Modpack Version
1.84
Describe your issue.
I run a server, and everything was going fine until my game randomly crashed when walking far from my base. The entire modpack would crash, and upon booting it back up the game would crash again before visually loading in chunks. I've tested different worlds, and it seems that if I go too far or just move too fast the modpack will crash completely and won't load properly anymore. The error logs all have one thing in common: Mod Added Tree After Memory Optimization. There isn't much information about this error, but it seems to be the cause of the issue. I have 32GB of ram, I don't think it's a memory issue.
Crash Report
No response
Latest Log
No response
Have you modified the modpack?
No
User Modifications
No response
Did the issue happen in singleplayer or on a server?
Both
Discord Username
No response
Sure thing, here it is fresh out of the oven:
latest.log
Still not generating a crash report, not sure why. I open the world, it begins loading, it gets as far as seeing the player perspective and then it loads the skybox and then it crashes.
Yes actually, what is that?
From all the info i was able to find about this issue when i had it, it is apparently a "Java Crash", not a minecraft crash. Sadly i have no solution for this issue and it seemingly disappeared after i changed my RAM's positions but i think this was not the source of the solution. I don't have any more input on this issue of urs, but this can be a start.
I downloaded the version you sent, got it to work but it still crashed, but it's ok. I think the issue is my AMD Graphics Card and no fault of your own, but that was obvious anyway. I've researched the different errors I've gotten and because of @ReiDaTecnologia I found the hs_err_pid, leading me to find that it's both a Java and an AMD issue. It says I'm missing a .dll file associated with AMD GPUs and called by Java. I'm no expert, but I'm sure learning a lot in this journey lol.
I can see from that Java crash that the Java 8 I linked isn't used, so perhaps the issue is in the CurseForge settings.
Whoa, big jump. I downloaded the .dll file into eclipses' library (where the other .dll files were) and ran the same E2E world that previously instantly crashed upon joining... and was able to swim around for 10 seconds before it crashed again! Something is happening!
There's unfortunately no crash in that latest.log, please check your crash-reports
folder and see if your crash report is in there.
There's unfortunately no crash in that latest.log, please check your
crash-reports
folder and see if your crash report is in there.
Sorry, here you go. This is from about 20 minutes ago.
crash-2023-01-02_14.10.22-client.txt
I haven't looked into this "crash report" folder but whenever I checked the logs after these crashes I thought the crashes were due to the "Mod Added Tree Entry After Memory Optimization" warn. It was mentioned here but almost nowhere else. Thank you for your help man.
To repeat the crash, all I had to do was join a world, set my gamemode to creative, and then as soon as I hit space twice to fly the client shut down. A crash report was not created this time, however.
That crash report suggest that you were looking at a block that was not coded correctly, for some reason. Are you sure you haven't added any mods? Cause I've never heard of this particular issue.
To repeat the crash, all I had to do was join a world, set my gamemode to creative, and then as soon as I hit space twice to fly the client shut down. A crash report was not created this time, however.
Sounds like flight was not allowed and you were kicked, could that be the case?
Last but not least, you're a few modpack versions behind, I recommend you update :)
Please supply your crash report :)
Here it is
latest.log
No, I haven't added any new mods this is a fresh instance on ATLauncher which downloaded it straight from Curseforge. What used to happen is that I would run a server for my friends and I, and after a couple of days of no issues it would crash immediately when I joined. They would have no issues, even when I had them log into my account they could join and move around. Then, when I rejoined from the new area I would usually be fine for a few minutes, but then it would eventually crash again. When the new update released in October it eventually would do the same thing.
Sounds like flight was not allowed and you were kicked
That shouldn't be the problem, it's a single-player server. Seems it was a "Java Exception Acess Violation" error but I haven't tried to fix it. I started a new world and haven't been able to make it crash... yet.
Where is the most stable place to run the modpack? I've tried through curseforge launcher but it used to crash there too.
I'm actually starting to think it might have something to do with my anti-virus... is that possible?
Sounds like you need to update to a more recent version of Java 8:
https://adoptium.net/temurin/archive/?version=8
If you're on Windows it should be this one: https://objects.githubusercontent.com/github-production-release-asset-2e65be/372924428/d9689506-4501-415c-9f57-dfed30f1c830?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230102%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230102T201657Z&X-Amz-Expires=300&X-Amz-Signature=81a3236d88044a753f96f1f1ee88faf6107863c2c56cbb50a9e6ee6533d74147&X-Amz-SignedHeaders=host&actor_id=21295394&key_id=0&repo_id=372924428&response-content-disposition=attachment%3B%20filename%3DOpenJDK8U-jre_x64_windows_hotspot_8u352b08.msi&response-content-type=application%2Foctet-stream
Eclipse Adoptium provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure. Supported platforms include Linux, macOS, Windows, ARM, Solaris, and AIX.
Thank you for the help, so far it's not crashing but I'll update this if anything changes.
Gotta reopen this, the game crashed while I was just swimming in early game looking for clay. There was no log uploaded to crash reports, but there is the latest.log.
Since my last comments I have downloaded Optifine and Xaeros minimap mod, I'll try disabling those and see if it helps.
Yeah, Sir @NielsPilgaard I'm getting the crash I was getting before where it is instantaneous upon joining the game. No crash report, the last thing the log says is Mod added a tree entry after memory optimization! Seems to be a problem with JEI.
Does the Tree thing not mean anything? I figured it was jacking up my memory or something. What signals a crash report to be made? Maybe I could tweak it, but so far the only one is that one I posted here before.
Not really, no.
As for what signals a crash report, no idea 😬
A latest log from one of those last crashes would be helpful.
Yep, but same deal it seems. Not sure how it's letting me live marginally longer than before, but it is crashing for the same reason.
No crash report, unfortunately.
Yeah I still don't know 😓 another debug.log would be my very last chance at this 😄
Just acting on a hunch here that might be very well unfounded, but in the Java crash report there are these lines, that I find very interesting.
J 52001 org.lwjgl.opengl.GL13.nglMultiTexCoord2f(IFFJ)V (0 bytes) @ 0x000002aae892e7d0 [0x000002aae892e780+0x50]
J 52023 C1 net.minecraft.client.renderer.OpenGlHelper.func_77475_a(IFF)V (37 bytes) @ 0x000002aae89846f4 [0x000002aae89841e0+0x514]
j teamroots.emberroot.entity.fairy.ModelFairy.func_78088_a(Lnet/minecraft/entity/Entity;FFFFFF)V+5
J 52895 C1 net.minecraft.client.renderer.entity.RenderLivingBase.func_77036_a(Lnet/minecraft/entity/EntityLivingBase;FFFFFF)V (92 bytes) @ 0x000002aae37e7f04 [0x000002aae37e7640+0x8c4]
J 52430 C1 net.minecraft.client.renderer.entity.RenderLivingBase.func_76986_a(Lnet/minecraft/entity/EntityLivingBase;DDDFF)V (683 bytes) @ 0x000002aae8abdab4 [0x000002aae8ab9ac0+0x3ff4]
J 52429 C1 net.minecraft.client.renderer.entity.RenderLiving.func_76986_a(Lnet/minecraft/entity/EntityLiving;DDDFF)V (36 bytes) @ 0x000002aae8a85f24 [0x000002aae8a85e40+0xe4]
j teamroots.emberroot.entity.fairy.RenderFairy.doRender(Lteamroots/emberroot/entity/fairy/EntityFairy;DDDFF)V+11
j teamroots.emberroot.entity.fairy.RenderFairy.func_76986_a(Lnet/minecraft/entity/Entity;DDDFF)V+14
It mentions the EmberRoot Zoo fairies, which have caused hard crashes in the past, specifically on AMD hardware (#2079). Maybe remove EmberRoot Zoo or remove spawning of them through the config.
Oh, good catch, that seems likely! In that case, this issue should be resolved in the next update.
In the meantime, changing this config should do the trick: 8a65747
@tuca1234567890 Well that definitely changed a good bit, everything was running smooth and it didn't crash at first. That was until I pushed my luck, made it full screen and tried to change the render distance to 15, but hey it was certainly an improvement. I think I just need a better GPU...
@Torchead I'm pretty sure I had the same exact issue - crash while exploring, world crashing again seconds after re-entering, amd gpu, fairy mentioned in the crashlog. If you just disabled the fairy spawning in the config then it's likely that some are still present in the world - hence the crashing. I'd suggest completely either removing the emberroots zoo mod - it's just a bunch of unintegrated mobs which drop vanilla loot or you could remove the mod, enter the world and then re-enable the mod (with the config fixed). These are the more simple solutions.
Alternatively you could try turning your render distance to minimum and flying away from the area where it crashed - not giving it time to render and then hoping it would despawn next time you reenter. Or you could modify the save to change the position of the player. Another option would be killing all entities with a command/some mod debug feature.
That being said you should really just try disabling the mod and reentering the world. I don't think you need a better GPU if everything else is running fine. The issue here is not the GPU not keeping up but some kind of incompatibility between Java + (some) AMD cards + Ember Zoo and the fact that the mod is no longer being updated.
Let me know if it works. As I said I'm pretty sure I've had the same exact issue and after getting rid of those entities the issue went away completely.
@SteaSteaStea Yeah man, that seemed to fix it for now. I can't get it to crash now, and while I assume some parts of it are still unstable its all good for now. Thank you all, I'll respond the next time something breaks!