Crash on World Load, but only with Fabric API

hey guys, i'm having an issue with DH 2.3.2-b-1.21.5 for fabric. it works on it's own, but as soon as i try to add the fabric api mod it crashes upon loading into a world. i have tried fabric-api-0.121.0+1.21.5 and fabric-api-0.119.9+1.21.5. no other mods are enabled. i have tried deleting the DistantHorizons.toml. crash log attached. anyone have an idea on why it would crash like this? thanks
20 Replies
Miki_P98
Miki_P985mo ago
/logs
YAGPDB.xyz
YAGPDB.xyz5mo ago
You should send your latest.log file to provide additional useful information. Logs are usually located in the .minecraft/logs directory. On Windows: %appdata%\.minecraft\logs On Linux: ~/.minecraft/logs On Mac: ~/Library/Application Support/minecraft/logs Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed. After uploading the file, click on Save and send the link.
Miki_P98
Miki_P985mo ago
What CPU do you have?
jack
jackOP5mo ago
Ryzen 7 3700X, 8 core GPU is a Vega 56 with the latest drivers 64gb ram, 48gb allocated to Minecraft
jack
jackOP5mo ago
Miki_P98
Miki_P985mo ago
Do you have the normal game logs?
jack
jackOP5mo ago
Yes sorry Took me a second to find the correct one, i've been playing since Thanks for getting back to me so quickly I missed your first message
Miki_P98
Miki_P985mo ago
Don't see anything out of the ordinary in the game logs, and I don't know what to look for in the ACCESS_VIOLATION log I don't think I will be able to help Does fabric API on its own work?
jack
jackOP5mo ago
Yes, and with other mods Could it have something to do with the missing texture references? Or the registry value, it says something like "PerfOS counters" ok thank you YAGPDB As I was saying, my GPU is also just flat out old I don't think it gets much support from AMD Do other people have issues with AMD GPU's?
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc0909dfb5, pid=32736, tid=3280

Java Threads: ( => current thread )
=>0x000001bb5a3719b0 JavaThread "Render thread" [_thread_in_native, id=3280, stack(0x0000008344400000,0x0000008344500000) (1024K)]
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc0909dfb5, pid=32736, tid=3280

Java Threads: ( => current thread )
=>0x000001bb5a3719b0 JavaThread "Render thread" [_thread_in_native, id=3280, stack(0x0000008344400000,0x0000008344500000) (1024K)]
tid matches the id of the "Render thread" making me think that the render thread tried to access a dangling pointer or smth thanks for looking into it anyway, cheers
Wdp
Wdp5mo ago
@jack the same issue in #game crashes when loading a world
jack
jackOP5mo ago
no, DH works by itself it's only when i try to add fabric-api that i crash upon world load definitely a different issue RAM is also definitely not the issue, i installed new RAM five days ago, 4000mhz 64gb DDR4 allocated 48gb to minecraft
Wdp
Wdp5mo ago
Oooo maybe try a bit less
jack
jackOP5mo ago
Oooo maybe try to help instead of making condescending comments Do you have any actually helpful suggestions other than the ones from the thread you referred to?
majo24
majo245mo ago
I don't think that was meant condescending, rather WDP was referring to the amount of ram you have allocated. 48GB is a very high amount of RAM for minecraft. Too much RAM can easily cause lag spikes and stutters, especially if you're using the default GC, so I recommend lowering that. 8GB should be more than enough
Wdp
Wdp5mo ago
Ye sry guys what I meant is in this msg I am sry for the inconvenience Yesterday I did not have a lot of time so I wrote a short msg to give you something you could try but I see you picked it up a different way, what I meant was is majo24’s msg
jack
jackOP5mo ago
thank you no worries, maybe there's a language barrier. from my perspective, i am frustrated because i have been "trying" to get this mod to work for two weeks now, and the mod looks so great on it's own but i can't use it because it breaks so often. i'll keep trying though Is there a better garbage collector to use for minecraft? I was unaware that could cause issues
majo24
majo245mo ago
Yes, ZGC set to Generational. Note, Generational exists only for Java 21+ and it can cause slightly lower fps. These JVM flags set the GC to generational ZGC -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational However, this is probably not related to the crashes you're experiencing
jack
jackOP5mo ago
Thanks I'll give that a shot gotcha
Wdp
Wdp5mo ago
Ye ok I am ok But did you try less ram? @jack if this with less ram is NOT the fix then you should ask help in the fabric discord or form @jack take a look in #Game crashing on world load regardless of other mods/shaders installed. (FABRIC) This person found a fix regarding ur issue

Did you find this page helpful?