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

Weird crash in multiplayer

Open Taiyou06 opened this issue 2 years ago • 24 comments

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

Taiyou06 avatar Dec 02 '21 15:12 Taiyou06

i have the same issue.

JonathanTippy avatar Dec 03 '21 21:12 JonathanTippy

I've experienced the same issue too

TechnicallyCoded avatar Dec 06 '21 23:12 TechnicallyCoded

Também acontece a mesma coisa na 1.16.5

LuanSeverinodoSantos avatar Dec 07 '21 12:12 LuanSeverinodoSantos

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

Texbio avatar Dec 16 '21 16:12 Texbio

Same issue, please fix in the next version

Millsonhub avatar Jan 15 '22 13:01 Millsonhub

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

silversquirl avatar Feb 01 '22 17:02 silversquirl

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

candrawardana avatar Feb 25 '22 07:02 candrawardana

Same issue Crash report: https://crashy.net/WjYJQrDZB3E2QCus955w

cootshk avatar Feb 26 '22 19:02 cootshk

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

jellysquid3 avatar Mar 03 '22 18:03 jellysquid3

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

For me it still does.

Pectacular avatar Mar 07 '22 15:03 Pectacular

Still happening with me as well.

mfn003 avatar Mar 29 '22 18:03 mfn003

Any solution for this problem ? Its very annoying 😐

Rimapus avatar Apr 14 '22 18:04 Rimapus

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.

ZeroCaty avatar Apr 20 '22 04:04 ZeroCaty

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

Rimapus avatar Apr 20 '22 06:04 Rimapus

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?

LaysDragon avatar May 03 '22 05:05 LaysDragon

Still having this issue in 1.19, please fix

Tomasz4414 avatar Jun 23 '22 11:06 Tomasz4414

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.

magnus-ISU avatar Jun 24 '22 22:06 magnus-ISU

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

candrawardana avatar Jun 26 '22 20:06 candrawardana

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

wifi-left avatar Aug 11 '22 02:08 wifi-left

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

Altener avatar Aug 16 '22 09:08 Altener

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

nyaNezt avatar Aug 17 '22 00:08 nyaNezt

Still not fixed as in 1.19.2

Tom3k44 avatar Aug 25 '22 04:08 Tom3k44

Updating from 0.4.2 to 0.4.4 resolved this for me

xparadoxical avatar Sep 12 '22 01:09 xparadoxical

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

jellysquid3 avatar Jul 22 '23 02:07 jellysquid3