Sodium

Sodium

44M Downloads

Weird crash in multiplayer

Taiyou06 opened this issue Β· 31 comments

commented

Version information

mc1.18-0.4.0-alpha5+build.9

Reproduction Steps

1.Join a 1.18 server
2.Load a lot of chunks at once
2.1 or just wait few minutes

Crash Report file

crash-2021-12-02_18.29.27-client.txt

Additional information

No response

commented

it's only happen with plugin "fartherviewdistance" wich is faking the server's render distance. completely natural in vanilla

commented
commented

I've experienced the same issue too

commented

TambΓ©m acontece a mesma coisa na 1.16.5

commented

i have the same issue.

commented

I am having the same "Tried to mark light data as ready" issue too

commented

Same issue, please fix in the next version

commented

I can reproduce this easily by going back and forth between two end gateways rapidly. Happens in singleplayer as well.

commented

Does this issue still occur with version 0.4.1 for Minecraft 1.18.2?

commented

Does this issue still occur with version 0.4.1 for Minecraft 1.18.2?

For me it still does.

commented

Still happening with me as well.

commented

Any solution for this problem ?
Its very annoying
😐

commented

The bug occurs in single player.
I can not accurately determine the sequence of actions leading to the crash.
It seems to have something to do with the teleportation of the player at the time of the light update in the chunks.

commented

The bug occurs in single player. I can not accurately determine the sequence of actions leading to the crash. It seems to have something to do with the teleportation of the player at the time of the light update in the chunks.

Oh... for me it happen also in multiplayer

commented

yeah...I have playing with friends with a 1.18.1 dungeon pve map, it's always crash my game while I dead. It indeed will teleport player after death. So I guess the problem is really related to teleporting. :/
I'm also using iris with shader pack.

so do we have any workaround here?

commented

Still having this issue in 1.19, please fix

commented

Alright, I'll say what I said on my own issue here.

I changed the code that throws the illegal state exception into a print and so far, it hasn't caused issues. So until an actual fix is pushed by someone who knows how sodium works, this might be useful to some people.

Here is a repository where I uploaded the code. I don't know the structure of sodium or the proper way I should have done this, checkout the master branch if you want to compile it yourself.
Here is the diff
Here is a repository where the binary is hosted; here is the jar you can use.

I hope this is acceptable - I understand that you don't want people posting binaries of forks in the issue tracker or something; on the other hand, please fix an apparently 6-month-old crash bug with an issue title and description that say nothing about the crash itself.

commented

thats just works... like charm... thx

commented

I tried to make a mod using mixin and modified the code to refresh the light source
Replace the original crashing code with console output
This problem seems to be fixed on my computer.
Here is the modrinth link for the mod

commented

I can consistently reproduce this crash using a create contraption that moves me at extremely high speeds (literally a stick with a seat attached to one end and a mechanical bearing spinning it from the other). No matter what options i change it always happens

commented

It happened to me when I set up 2 command blocks with buttons on them which teleport a player facing the button to the other command block. Holding right-click which means pushing the buttons constantly crashed the game with the same error

commented

Still not fixed as in 1.19.2

commented

Updating from 0.4.2 to 0.4.4 resolved this for me

commented

This shouldn't happen any longer in recent versions of Sodium...

commented
commented

@iKARY19 you've just got an old version of Indium that was not compatible with Fabric API 0.89 and above. You need to update Indium. You'll also need to update Sodium and any other dependent mods such as Sodium Extra and Iris

commented

thanks i will try

commented

@Poopooracoocoo its doesent work its not compatible to other my mods

commented

can u send me the versions on the mods ? i will try

commented

This is not a support forum, and your issue has nothing to do with what's described above. Use the Discord server if you want help from the community.