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

Crashes when teleporting immediately after landing in water #53

Open
theglassworks opened this issue Jan 26, 2024 · 2 comments
Open

Crashes when teleporting immediately after landing in water #53

theglassworks opened this issue Jan 26, 2024 · 2 comments
Labels
bug Something isn't working crash Causes the game to crash performance Laggy or poorly performant feature

Comments

@theglassworks
Copy link

theglassworks commented Jan 26, 2024

Describe the bug
When landing in water and teleporting while the wake effects are still active, the game hangs and crashes shortly afterwards. The crash report pins the cause on a "java.lang.OutOfMemoryError: Java heap space" error.

Expected behavior
The game should not crash while teleporting in water with an active wake effect.

To Reproduce
Land in water and teleport quickly afterwards before the wake effect fades out.

Hardware and OS
GeForce GTX 1660, Windows 10.

Versions

  • Minecraft 1.20.4
  • Fabric 0.15.6
  • Wakes 0.2.3
  • Fabric API 0.95.1+1.20.4

Additional information
This bug was encountered in multiplayer on a Purpur server using the /back function of the EssentialsX plugin

@theglassworks theglassworks added the bug Something isn't working label Jan 26, 2024
@Goby56 Goby56 added performance Laggy or poorly performant feature crash Causes the game to crash labels Aug 19, 2024
@rattones
Copy link

crash-2024-12-20_19.32.17-server.txt

A friend (Elfo Lives on twitch) get this error while creating a modpack to play at his lives.

Any pet cause game crash when teleporting over ice/snow/dirt ...

@Goby56
Copy link
Owner

Goby56 commented Feb 1, 2025

I know I'm kind of late to the party but I've implemented a fix for one of the crashes present in this issue.

The crash you sent @rattones is in fact not the same as the one @theglassworks got. The crash your friend got has been patched in 0.4.0, see #101.

When landing in water and teleporting while the wake effects are still active, the game hangs and crashes shortly afterwards. >The crash report pins the cause on a "java.lang.OutOfMemoryError: Java heap space" error.

As for the OutOfMemoryError I have no clue why it happens as I've not been able to reproduce it. If you could provide the whole crash log I might be able to figure something out.

I have, however, fixed a memory related issue (#89) a while ago. Maybe it could have been related to this. If you could try out the latest version and see if anything has changed, that would be awesome. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Causes the game to crash performance Laggy or poorly performant feature
Projects
None yet
Development

No branches or pull requests

3 participants