Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minecraft freezes when 'saving world' on 1.20.4 vanilla offline mode #5374

Open
1 task done
gear54rus opened this issue Mar 25, 2024 · 10 comments
Open
1 task done

Minecraft freezes when 'saving world' on 1.20.4 vanilla offline mode #5374

gear54rus opened this issue Mar 25, 2024 · 10 comments
Labels
bug minecraft Issue with Minecraft or mods needs-repro

Comments

@gear54rus
Copy link

gear54rus commented Mar 25, 2024

Operating System

Linux

Description of bug

Expected:

  • World is saved, user is sent back to main menu

Actual:

  • Stuck on 'saving world' screen. Process has to be killed.

Additional info:

Logs.

Does not happen when using normal online launch with the same profile.

Related? #3620 Facing the same on fabric but created a new instance without any kind of mods to be sure.

java --version output:

openjdk 21.0.2 2024-01-16 LTS
OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode, sharing)

Platform: Linux Ubuntu 22.04.4 LTS kernel 6.5.0-26-generic

Steps to reproduce

  1. Create a new clean 1.20.4 vanilla instance
  2. Launch Offline while changing name (ex. TestName).
  3. Create a new world with default settings and join it.
  4. Wait for everything to be loaded, mine 1 dirt block.
  5. Press 'Esc' -> 'Save and quit to title'.

Suspected cause

No response

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.
@gear54rus gear54rus added the bug label Mar 25, 2024
@gear54rus
Copy link
Author

gear54rus commented Mar 25, 2024

I saw the discussion on that last issue suggesting that this is purely a game bug. However, I should add that there are definitely launchers out there that don't have this problem (namely TLauncher) so it might be deeper than that.

On the matter of TLauncher I noticed it runs the game with --userType mojang whereas MultiMC does with --userType msa. It might be related or it might not be :) As I haven't found a way to alter these launch params for MMC.

@gear54rus gear54rus changed the title Minecraft freezes when 'saving world' on 1.20.4 vanilla Minecraft freezes when 'saving world' on 1.20.4 vanilla offline mode Mar 25, 2024
@Wolf68k
Copy link

Wolf68k commented Mar 27, 2024

Try using Java 17, since that's what is officially supported.

@The-Only-E
Copy link

I know one possible cause. Not having enough disk space on the drive the Minecraft install is in. Because there is no space on the disk, it can't save and gets stuck.

@Moltresrider
Copy link

This issue is also present with 1.20.6 but I am NOT in offline mode. I am launching Minecraft the normal way and I have waited 30 minutes for my world to save. Just like OP, it is a cloned instance.

@Wolf68k
Copy link

Wolf68k commented Jun 13, 2024

This issue is also present with 1.20.6 but I am NOT in offline mode. I am launching Minecraft the normal way and I have waited 30 minutes for my world to save. Just like OP, it is a cloned instance.

Since there is a difference and we need to see the log, it might be a good idea to create your own thread (if you haven't already).

@gear54rus
Copy link
Author

gear54rus commented Jun 13, 2024

Try using Java 17, since that's what is officially supported.

to answer this, there is no change in behavior with java 17

image

@gear54rus
Copy link
Author

I know one possible cause. Not having enough disk space on the drive the Minecraft install is in. Because there is no space on the disk, it can't save and gets stuck.

definitely not the case

/dev/mapper/nvme0n1p6_crypt  260G  224G   24G  91% /

@phit phit added the minecraft Issue with Minecraft or mods label Jun 13, 2024
@gear54rus
Copy link
Author

gear54rus commented Jun 13, 2024

strace -f -p 112462  > ./Downloads/strace.txt 2>&1

right before pressing 'save world':

strace.txt

It's definitely doing something (although how the hell did we get to region -20,0 in a world that was just created is anyone's guess):

statx(AT_FDCWD, "/home/gear/.local/share/multimc/instances/1.20.4/.minecraft/saves/New World/region/c.-20.0.mcc", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x71ee1107df10) = -1 ENOENT (No such file or directory)

@Wolf68k
Copy link

Wolf68k commented Jun 13, 2024

Is the Intel graphics the best you have?

@gear54rus
Copy link
Author

Is the Intel graphics the best you have?

No there's also a 1650ti in this XPS 15 9500 laptop but switching to it doesn't help

Screenshot from 2024-06-14 00-31-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug minecraft Issue with Minecraft or mods needs-repro
Projects
None yet
Development

No branches or pull requests

5 participants