Gaming32 / world-host

Host your singleplayer worlds without having to run a server or setup port forwarding! In the future, we also plan to support Bedrock Edition clients through the use of Geyser.
MIT License
61 stars 11 forks source link

free(): invalid pointer, Exit Code 6 #141

Open sonicer105 opened 4 days ago

sonicer105 commented 4 days ago
Prism Launcher version: 9.1 (official)

Launched instance in online mode

login.microsoftonline.com resolves to:
    [2603:1036:3000:60::10, 2603:1036:3000:60::11, 2603:1036:3000:60::e, 2603:1036:3000:60::1, 2603:1036:3000:60::20, 2603:1036:3000:60::6, 2603:1036:3000:60::5, 2603:1036:3000:60::2, 40.126.28.11, 20.190.135.17, 40.126.28.20, 20.190.135.3, 20.190.135.2, 40.126.28.14, 40.126.7.35, 20.190.135.6]

session.minecraft.net resolves to:
    [2620:1ec:bdf::70, 13.107.246.70]

textures.minecraft.net resolves to:
    [2620:1ec:bdf::70, 13.107.246.70]

api.mojang.com resolves to:
    [2620:1ec:bdf::70, 13.107.246.70]

Minecraft folder is:
/home/linuxpony/.local/share/PrismLauncher/instances/Fabric 1.21.3/.minecraft

Java path is:
/usr/lib/jvm/java-21-openjdk-amd64/bin/java

Java is version 21.0.4, using 64 (amd64) architecture, from Ubuntu.

AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600] (rev c1)

DeviceName: Realtek

Subsystem: Framework Computer Inc. Device 0007

Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c2)

Subsystem: Framework Computer Inc. Device 0005

Kernel driver in use: amdgpu

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2

Main Class:
  net.fabricmc.loader.impl.launch.knot.KnotClient

Native path:
  /home/linuxpony/.local/share/PrismLauncher/instances/Fabric 1.21.3/natives

Traits:
traits FirstThreadOnMacOS
traits feature:is_quick_play_multiplayer
traits feature:is_quick_play_singleplayer
traits XR:Initial

Libraries:
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype-natives-linux/3.3.3/lwjgl-freetype-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-linux/3.3.3/lwjgl-glfw-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw/3.3.3/lwjgl-glfw-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-linux/3.3.3/lwjgl-jemalloc-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc/3.3.3/lwjgl-jemalloc-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-linux/3.3.3/lwjgl-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-linux/3.3.3/lwjgl-openal-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-openal/3.3.3/lwjgl-openal-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-linux/3.3.3/lwjgl-opengl-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl/3.3.3/lwjgl-opengl-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-linux/3.3.3/lwjgl-stb-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-stb/3.3.3/lwjgl-stb-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-linux/3.3.3/lwjgl-tinyfd-natives-linux-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd/3.3.3/lwjgl-tinyfd-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl/3.3.3/lwjgl-3.3.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-annotations/2.13.4/jackson-annotations-2.13.4.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-core/2.13.4/jackson-core-2.13.4.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/fasterxml/jackson/core/jackson-databind/2.13.4.2/jackson-databind-2.13.4.2.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/ibm/icu/icu4j/73.2/icu4j-73.2.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/microsoft/azure/msal4j/1.15.0/msal4j-1.15.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/authlib/6.0.55/authlib-6.0.55.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/brigadier/1.3.10/brigadier-1.3.10.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/datafixerupper/8.0.16/datafixerupper-8.0.16.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/jtracy/1.0.29/jtracy-1.0.29.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/jtracy-natives-linux/1.0.29/jtracy-natives-linux-1.0.29.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/logging/1.4.9/logging-1.4.9.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/text2speech/1.17.9/text2speech-1.17.9.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/nimbusds/content-type/2.3/content-type-2.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/nimbusds/lang-tag/1.7/lang-tag-1.7.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/nimbusds/nimbus-jose-jwt/9.37.3/nimbus-jose-jwt-9.37.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/nimbusds/oauth2-oidc-sdk/11.9.1/oauth2-oidc-sdk-11.9.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/commons-io/commons-io/2.15.1/commons-io-2.15.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-buffer/4.1.97.Final/netty-buffer-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-codec/4.1.97.Final/netty-codec-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-common/4.1.97.Final/netty-common-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-handler/4.1.97.Final/netty-handler-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-resolver/4.1.97.Final/netty-resolver-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-transport-classes-epoll/4.1.97.Final/netty-transport-classes-epoll-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-transport-native-epoll/4.1.97.Final/netty-transport-native-epoll-4.1.97.Final-linux-aarch_64.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-transport-native-epoll/4.1.97.Final/netty-transport-native-epoll-4.1.97.Final-linux-x86_64.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-transport-native-unix-common/4.1.97.Final/netty-transport-native-unix-common-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/io/netty/netty-transport/4.1.97.Final/netty-transport-4.1.97.Final.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/it/unimi/dsi/fastutil/8.5.12/fastutil-8.5.12.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/java/dev/jna/jna-platform/5.14.0/jna-platform-5.14.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/java/dev/jna/jna/5.14.0/jna-5.14.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/minidev/accessors-smart/2.5.0/accessors-smart-2.5.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/minidev/json-smart/2.5.0/json-smart-2.5.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/commons/commons-compress/1.26.0/commons-compress-1.26.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/commons/commons-lang3/3.14.0/commons-lang3-3.14.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/logging/log4j/log4j-api/2.22.1/log4j-api-2.22.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/logging/log4j/log4j-core/2.22.1/log4j-core-2.22.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.22.1/log4j-slf4j2-impl-2.22.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/jcraft/jorbis/0.0.17/jorbis-0.0.17.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/joml/joml/1.10.5/joml-1.10.5.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/lz4/lz4-java/1.8.0/lz4-java-1.8.0.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/ow2/asm/asm/9.7.1/asm-9.7.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/fabricmc/intermediary/1.21.3/intermediary-1.21.3.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-analysis/9.7.1/asm-analysis-9.7.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-commons/9.7.1/asm-commons-9.7.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-tree/9.7.1/asm-tree-9.7.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-util/9.7.1/asm-util-9.7.1.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/net/fabricmc/fabric-loader/0.16.9/fabric-loader-0.16.9.jar
  /home/linuxpony/.local/share/PrismLauncher/libraries/com/mojang/minecraft/1.21.3/minecraft-1.21.3-client.jar

Native libraries:

Mods:
  [✔] fabric-api-0.109.0+1.21.3
  [✔] world-host-0.5.0+1.21.3-fabric

Params:
  --username  --version 1.21.3 --gameDir /home/linuxpony/.local/share/PrismLauncher/instances/Fabric 1.21.3/.minecraft --assetsDir /home/linuxpony/.local/share/PrismLauncher/assets --assetIndex 18 --uuid  --accessToken  --userType  --versionType release

Window size: 854 x 480

Launcher: standard

Java Arguments:
[-Xms16384m, -Xmx16384m, -Duser.language=en]

Minecraft process ID: 390825

[20:24:26] [main/INFO]: Loading Minecraft 1.21.3 with Fabric Loader 0.16.9
[20:24:26] [main/INFO]: Loading 55 mods:
    - fabric-api 0.109.0+1.21.3
       |-- fabric-api-base 0.4.50+119c825640
       |-- fabric-api-lookup-api-v1 1.6.81+fd37071f40
       |-- fabric-biome-api-v1 14.0.6+fd37071f40
       |-- fabric-block-api-v1 1.0.28+fd37071f40
       |-- fabric-block-view-api-v2 1.0.16+fd37071f40
       |-- fabric-blockrenderlayer-v1 2.0.4+fd37071f40
       |-- fabric-client-tags-api-v1 1.1.24+fd37071f40
       |-- fabric-command-api-v1 1.2.58+f71b366f40
       |-- fabric-command-api-v2 2.2.37+c9d82ab240
       |-- fabric-commands-v0 0.2.75+df3654b340
       |-- fabric-content-registries-v0 9.1.8+fd37071f40
       |-- fabric-convention-tags-v1 2.1.3+7f945d5b40
       |-- fabric-convention-tags-v2 2.9.3+84ebbb0e40
       |-- fabric-crash-report-info-v1 0.3.3+fd37071f40
       |-- fabric-data-attachment-api-v1 1.4.0+dbad41f140
       |-- fabric-data-generation-api-v1 21.0.17+fd37071f40
       |-- fabric-dimensions-v1 4.0.7+fd37071f40
       |-- fabric-entity-events-v1 2.0.8+825023f840
       |-- fabric-events-interaction-v0 2.0.12+c2c3ac4740
       |-- fabric-game-rule-api-v1 1.0.59+fd37071f40
       |-- fabric-item-api-v1 11.1.7+fd37071f40
       |-- fabric-item-group-api-v1 4.1.17+fd37071f40
       |-- fabric-key-binding-api-v1 1.0.53+fd37071f40
       |-- fabric-keybindings-v0 0.2.51+df3654b340
       |-- fabric-lifecycle-events-v1 2.5.1+6da5ef6940
       |-- fabric-loot-api-v2 3.0.26+3f89f5a540
       |-- fabric-loot-api-v3 1.0.14+fd37071f40
       |-- fabric-message-api-v1 6.0.21+fd37071f40
       |-- fabric-model-loading-api-v1 3.0.9+fd37071f40
       |-- fabric-networking-api-v1 4.3.5+fd37071f40
       |-- fabric-object-builder-api-v1 17.0.9+fd37071f40
       |-- fabric-particles-v1 4.0.10+fd37071f40
       |-- fabric-recipe-api-v1 7.0.4+fd37071f40
       |-- fabric-registry-sync-v0 5.2.2+fd37071f40
       |-- fabric-renderer-api-v1 4.0.5+fd37071f40
       |-- fabric-renderer-indigo 1.9.5+fd37071f40
       |-- fabric-rendering-data-attachment-v1 0.3.54+73761d2e40
       |-- fabric-rendering-fluids-v1 3.1.15+fd37071f40
       |-- fabric-rendering-v0 1.1.83+df3654b340
       |-- fabric-rendering-v1 8.0.7+fd37071f40
       |-- fabric-resource-conditions-api-v1 5.0.8+fd37071f40
       |-- fabric-resource-loader-v0 3.0.6+fd37071f40
       |-- fabric-screen-api-v1 2.0.34+fd37071f40
       |-- fabric-screen-handler-api-v1 1.3.100+fd37071f40
       |-- fabric-sound-api-v1 1.0.29+fd37071f40
       |-- fabric-transfer-api-v1 5.4.3+fd37071f40
       \-- fabric-transitive-access-wideners-v1 6.1.8+fd37071f40
    - fabricloader 0.16.9
       \-- mixinextras 0.4.1
    - java 21
    - minecraft 1.21.3
    - world-host 0.5.0+1.21.3-fabric
       |-- org_quiltmc_parsers_json 0.3.0
       \-- org_semver4j_semver4j 5.3.0
[20:24:26] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/home/linuxpony/.local/share/PrismLauncher/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[20:24:26] [main/INFO]: Compatibility level set to JAVA_21
[20:24:27] [main/WARN]: Error loading class: com/terraformersmc/modmenu/event/ModMenuEventHandler (java.lang.ClassNotFoundException: com/terraformersmc/modmenu/event/ModMenuEventHandler)
[20:24:27] [main/WARN]: @Mixin target com.terraformersmc.modmenu.event.ModMenuEventHandler was not found world-host.mixins.json:modmenu.MixinModMenuEventHandler from mod world-host
[20:24:27] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[20:24:28] [Datafixer Bootstrap/INFO]: 237 Datafixer optimizations took 191 milliseconds
[20:24:31] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[20:24:31] [Render thread/INFO]: Setting user: LinuxAvali
[20:24:32] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[20:24:32] [Render thread/INFO]: Using client-generated connection ID hale-contract-madthumbs
[20:24:32] [Render thread/INFO]: Old world-host-friends.json still exists. Consider removing it.
free(): invalid pointer
Process crashed with exitcode 6.
Gaming32 commented 4 days ago

This has nothing to do with World Host. It might be some driver bug or something.

sonicer105 commented 4 days ago

It only happens when this mod is included. Removing this mod fixes the issue

sonicer105 commented 4 days ago

It also works fine in 1.21.1

Gaming32 commented 4 days ago

If there's an hs_err_pid file in your instance dir, please DM it to me on Discord.

sonicer105 commented 4 days ago

no hs_err_pid was generated in the instance folder

flikrheist commented 2 days ago

im having this issue too in 1.21.1

flikrheist commented 2 days ago

worldhost 0.4.11 works though

Gaming32 commented 2 days ago

I'm guessing it's an issue with the file watcher.

flikrheist commented 2 days ago

can you fix it? I need to use it on my modpack called Redux: https://modrinth.com/modpack/redux

flikrheist commented 2 days ago

please update me when It's fixed

flikrheist commented 2 days ago

50% chance. I did what the log said and it caused even more problems & errors.

142

flikrheist commented 2 days ago

@Gaming32 | In the meantime just delete version 0.5.0 from Modrinth and make a new version of 0.4.x where it does not tell you to update to 0.5.0, so people do not accidentally updated to the bugged version while you make changes. I'd be happy to help you along the way, although I'm still learning Java at the moment. I understand everyone makes mistakes and cannot be perfect so please feel free to take your time.

Gaming32 commented 2 days ago

This bug appears to be an issue in the JDK, and it also appears to only happen in some distributions of Linux.

flikrheist commented 1 day ago

I play on a trash pc: https://www.raspberrypi.com/products/raspberry-pi-5/

Im upgrading soon to this: https://pcpartpicker.com/list/CNvJVF

flikrheist commented 1 day ago

does it affect debain?

(im playing on a fork)