LiquidBounce icon indicating copy to clipboard operation
LiquidBounce copied to clipboard

[BUG] Linux UnsatisfiedLinkError cannot allocate memory in static TLS block

Open quacklingo opened this issue 1 year ago • 6 comments

LiquidBounce Branch

Nextgen

LiquidBounce Build/Version

Build version 0.31.0

Operating System

Linux

Minecraft Version

1.21.4

Describe the bug

The game launched and got almost to the main menu and immediatly crashed, with some explanation saying that it somewhat couldnt allocate memory. Once it happened it opened a window saying "LiquidBounce Nextgen has encountered an error!

Try restarting the client. Please report this issue to the developers on GitHub if the error keeps occurring.

Include the following information:

OS: Linux (amd64) Java: 21.0.7 Client version: 0.31.0 (git-7ca0c75) Error: /var/home/max100300/.local/share/liquidlauncher/gameDir/nextgen/LiquidBounce/mcef/libraries/dcf6dd61b5c9c5e6723ffba28b562d208ee9b754/linux_amd64/libcef.so: /var/home/max100300/.local/share/liquidlauncher/gameDir/nextgen/LiquidBounce/mcef/libraries/dcf6dd61b5c9c5e6723ffba28b562d208ee9b754/linux_amd64/libcef.so: cannot allocate memory in static TLS block (java.lang.UnsatisfiedLinkError) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries.open(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) ... and 31 more Additional message: Client resource reloader

Also include you game log, which can be found at: /home/max100300/.local/share/liquidlauncher/gameDir/nextgen/logs/latest.log

Open new GitHub issue?"

Steps to reproduce

Run the version build v0.31.0 Then launch the game and make sure your memory is set to 4096mb (4GB) It should load up to the last bit and then put the error on the screen.

Client Log

[11:46:49] [main/INFO]: Loading Minecraft 1.21.4 with Fabric Loader 0.16.14
[11:46:49] [ForkJoinPool-1-worker-14/WARN]: Mod org_cloudburstmc_netty_netty-transport-raknet uses the version 1.0.0.CR3-SNAPSHOT which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'CR3'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[11:46:49] [ForkJoinPool-1-worker-14/WARN]: Mod com_github_oryxel_cubeconverter uses the version 916cadb12a which isn't compatible with Loader's extended semantic version format (Could not parse version number component '916cadb12a'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[11:46:50] [main/INFO]: Loading 139 mods:
	- fabric-api 0.119.3+1.21.4
	   |-- fabric-api-base 0.4.54+b47eab6b04
	   |-- fabric-api-lookup-api-v1 1.6.86+b1caf1e904
	   |-- fabric-biome-api-v1 15.0.6+b1c29d8e04
	   |-- fabric-block-api-v1 1.0.31+7feeb73304
	   |-- fabric-block-view-api-v2 1.0.20+9c49cc8c04
	   |-- fabric-blockrenderlayer-v1 2.0.8+7feeb73304
	   |-- fabric-client-tags-api-v1 1.1.29+20ea1e2304
	   |-- fabric-command-api-v1 1.2.62+f71b366f04
	   |-- fabric-command-api-v2 2.2.41+e496eb1504
	   |-- fabric-commands-v0 0.2.79+df3654b304
	   |-- fabric-content-registries-v0 9.1.19+25d1a67604
	   |-- fabric-convention-tags-v1 2.1.20+7f945d5b04
	   |-- fabric-convention-tags-v2 2.14.1+aebda09404
	   |-- fabric-crash-report-info-v1 0.3.6+7feeb73304
	   |-- fabric-data-attachment-api-v1 1.6.2+e99da0f704
	   |-- fabric-data-generation-api-v1 22.3.1+0f4e5f5504
	   |-- fabric-dimensions-v1 4.0.10+7feeb73304
	   |-- fabric-entity-events-v1 2.0.15+62245bef04
	   |-- fabric-events-interaction-v0 4.0.4+a4eebcf004
	   |-- fabric-game-rule-api-v1 1.0.63+7d48d43904
	   |-- fabric-item-api-v1 11.3.0+ee91fa1f04
	   |-- fabric-item-group-api-v1 4.2.2+fcb9601404
	   |-- fabric-key-binding-api-v1 1.0.57+7d48d43904
	   |-- fabric-keybindings-v0 0.2.55+df3654b304
	   |-- fabric-lifecycle-events-v1 2.5.4+bf2a60eb04
	   |-- fabric-loot-api-v2 3.0.38+3f89f5a504
	   |-- fabric-loot-api-v3 1.0.26+203e6b2304
	   |-- fabric-message-api-v1 6.0.26+238a33c004
	   |-- fabric-model-loading-api-v1 4.3.0+ae23723504
	   |-- fabric-networking-api-v1 4.4.0+db5e668204
	   |-- fabric-object-builder-api-v1 18.0.14+38b0d59804
	   |-- fabric-particles-v1 4.0.14+7feeb73304
	   |-- fabric-recipe-api-v1 8.1.1+640e77ae04
	   |-- fabric-registry-sync-v0 6.1.11+4a9c1ece04
	   |-- fabric-renderer-api-v1 5.0.3+50f0feb204
	   |-- fabric-renderer-indigo 2.0.3+50f0feb204
	   |-- fabric-rendering-data-attachment-v1 0.3.58+73761d2e04
	   |-- fabric-rendering-fluids-v1 3.1.19+7feeb73304
	   |-- fabric-rendering-v1 10.2.1+0d31b09f04
	   |-- fabric-resource-conditions-api-v1 5.0.13+203e6b2304
	   |-- fabric-resource-loader-v0 3.1.1+360374ac04
	   |-- fabric-screen-api-v1 2.0.38+7feeb73304
	   |-- fabric-screen-handler-api-v1 1.3.118+7feeb73304
	   |-- fabric-sound-api-v1 1.0.32+7feeb73304
	   |-- fabric-tag-api-v1 1.0.7+7d48d43904
	   |-- fabric-transfer-api-v1 5.4.9+efa825c904
	   \-- fabric-transitive-access-wideners-v1 6.3.2+56e78b9b04
	- fabric-language-kotlin 1.13.1+kotlin.2.1.10
	   |-- org_jetbrains_kotlin_kotlin-reflect 2.1.10
	   |-- org_jetbrains_kotlin_kotlin-stdlib 2.1.10
	   |-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 2.1.10
	   |-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 2.1.10
	   |-- org_jetbrains_kotlinx_atomicfu-jvm 0.27.0
	   |-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.10.1
	   |-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.10.1
	   |-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.6.1
	   |-- org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm 0.6.0
	   |-- org_jetbrains_kotlinx_kotlinx-io-core-jvm 0.6.0
	   |-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.8.0
	   |-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.8.0
	   \-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.8.0
	- fabricloader 0.16.14
	   \-- mixinextras 0.4.1
	- iris 1.8.8+mc1.21.4
	   |-- io_github_douira_glsl-transformer 2.0.1
	   |-- org_anarres_jcpp 1.4.14
	   \-- org_antlr_antlr4-runtime 4.13.1
	- java 21
	- liquidbounce 0.31.0
	   |-- ai_djl_api 0.32.0
	   |-- ai_djl_pytorch_pytorch-engine 0.32.0
	   |-- com_github_ccbluex_discordipc 4.0.0
	   |-- com_github_ccbluex_mc-authlib 1.4.1
	   |-- com_kohlschutter_junixsocket_junixsocket-common 2.8.3
	   |-- com_kohlschutter_junixsocket_junixsocket-native-common 2.8.3
	   |-- com_squareup_okhttp3_okhttp-jvm 5.1.0
	   |-- com_squareup_okio_okio-jvm 3.15.0
	   |-- com_thealtening_api_api 4.1.0
	   |-- com_vdurmont_semver4j 3.1.0
	   |-- io_netty_netty-codec-socks 4.1.97
	   |-- io_netty_netty-handler-proxy 4.1.97
	   |-- mcef 3.1.0-1.21.4
	   |-- net_ccbluex_netty-httpserver 2.2.1
	   |-- net_fabricmc_tiny-mappings-parser 0.3.0+build.17
	   |-- org_ahocorasick_ahocorasick 0.6.3
	   |-- org_apache_tika_tika-core 2.9.2
	   |-- org_graalvm_js_js-language 24.2.1
	   |-- org_graalvm_polyglot_polyglot 24.2.1
	   |-- org_graalvm_regex_regex 24.2.1
	   |-- org_graalvm_sdk_collections 24.2.1
	   |-- org_graalvm_sdk_jniutils 24.2.1
	   |-- org_graalvm_sdk_nativeimage 24.2.1
	   |-- org_graalvm_sdk_word 24.2.1
	   |-- org_graalvm_shadowed_icu4j 24.2.1
	   |-- org_graalvm_shadowed_json 24.2.1
	   |-- org_graalvm_shadowed_xz 24.2.1
	   |-- org_graalvm_tools_chromeinspector-tool 24.2.1
	   |-- org_graalvm_tools_coverage-tool 24.2.1
	   |-- org_graalvm_tools_dap-tool 24.2.1
	   |-- org_graalvm_tools_insight-heap-tool 24.2.1
	   |-- org_graalvm_tools_insight-tool 24.2.1
	   |-- org_graalvm_tools_lsp-tool 24.2.1
	   |-- org_graalvm_tools_lsp_api 24.2.1
	   |-- org_graalvm_tools_profiler-tool 24.2.1
	   |-- org_graalvm_truffle_truffle-api 24.2.1
	   |-- org_graalvm_truffle_truffle-compiler 24.2.1
	   \-- org_graalvm_truffle_truffle-runtime 24.2.1
	- minecraft 1.21.4
	- nochatreports 1.21.4-v2.11.0
	- reeses-sodium-options 1.8.3+mc1.21.4
	- sodium 0.6.10+mc1.21.4
	- sodium-extra 0.6.1+mc1.21.4
	- viafabricplus 4.0.5-BACKPORT
	   |-- com_github_oryxel_cubeconverter 916cadb12a
	   |-- com_google_code_findbugs_jsr305 3.0.2
	   |-- com_vdurmont_semver4j 3.1.0
	   |-- com_viaversion_viaaprilfools-common 4.0.2-20250426.140810-22
	   |-- com_viaversion_viabackwards-common 5.3.3-20250426.185209-1
	   |-- com_viaversion_vialoader 4.0.3-20250426.141011-6
	   |-- com_viaversion_viaversion-common 5.3.3-20250426.143637-8
	   |-- de_florianmichael_classic4j 2.1.1-SNAPSHOT
	   |-- io_jsonwebtoken_jjwt-api 0.12.6
	   |-- io_jsonwebtoken_jjwt-gson 0.12.6
	   |-- io_jsonwebtoken_jjwt-impl 0.12.6
	   |-- io_netty_netty-codec-http 4.2.0
	   |-- net_jodah_expiringmap 0.5.10
	   |-- net_lenni0451_commons_httpclient 1.6.0
	   |-- net_lenni0451_mcstructs-bedrock_forms 2.0.0
	   |-- net_lenni0451_mcstructs-bedrock_text 2.0.0
	   |-- net_lenni0451_reflect 1.4.0
	   |-- net_raphimc_minecraftauth 4.1.1
	   |-- net_raphimc_viabedrock 0.0.16-20250404.165607-5
	   |-- net_raphimc_vialegacy 3.0.10-20250426.140714-8
	   |-- org_cloudburstmc_netty_netty-transport-raknet 1.0.0.CR3-SNAPSHOT
	   |-- org_lz4_lz4-pure-java 1.8.0
	   |-- team_unnamed_mocha 3.0.1
	   |-- viafabricplus-api 4.0.5-BACKPORT
	   |-- viafabricplus-api-legacy 4.0.5-BACKPORT
	   \-- viafabricplus-visuals 4.0.5-BACKPORT
[11:46:50] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/var/home/max100300/.local/share/liquidlauncher/libraries/net/fabricmc/sponge-mixin/0.15.5+mixin.0.8.7/sponge-mixin-0.15.5+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[11:46:50] [main/INFO]: Compatibility level set to JAVA_21
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris-fabric.refmap.json' for mixins.iris.fabric.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for iris-batched-entity-rendering.mixins.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.fantastic.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.vertexformat.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.bettermipmaps.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.compat.sodium.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.fixes.maxfpscrash.json could not be read. If this is a development environment you can ignore this message
[11:46:50] [main/INFO]: Loaded configuration file for Sodium: 43 options available, 1 override(s) found
[11:46:50] [main/INFO]: Loaded configuration file for Sodium Extra: 34 options available, 0 override(s) found
[11:46:51] [main/WARN]: Force-disabling mixin 'features.render.world.sky.FogRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[11:46:51] [main/WARN]: Force-disabling mixin 'features.render.world.sky.ClientLevelMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[11:46:51] [main/WARN]: Force-disabling mixin 'features.render.world.sky.LevelRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[11:46:51] [main/WARN]: Error loading class: net/caffeinemc/mods/lithium/common/entity/movement/ChunkAwareBlockCollisionSweeper (java.lang.ClassNotFoundException: net/caffeinemc/mods/lithium/common/entity/movement/ChunkAwareBlockCollisionSweeper)
[11:46:52] [main/INFO]: Searching for graphics cards...
[11:46:52] [main/INFO]: Found graphics adapter: LinuxPciAdapterInfo[vendor=AMD, name=Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X], pciVendorId=0x1002, pciDeviceId=0x6798]
[11:46:52] [main/INFO]: Found graphics adapter: LinuxPciAdapterInfo[vendor=AMD, name=Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X], pciVendorId=0x1002, pciDeviceId=0x6798]
[11:46:52] [main/WARN]: Sodium has applied one or more workarounds to prevent crashes or other issues on your system: [NO_ERROR_CONTEXT_UNSUPPORTED]
[11:46:52] [main/WARN]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver.
[11:46:52] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[11:46:53] [Datafixer Bootstrap/INFO]: 243 Datafixer optimizations took 397 milliseconds
[11:47:00] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[11:47:00] [Render thread/INFO]: Setting user: max100300
[11:47:00] [Via-Mappingloader-0/INFO]: Loading block connection mappings ...
[11:47:00] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[11:47:01] [Via-Mappingloader-0/INFO]: Using FastUtil Long2ObjectOpenHashMap for block connections
[11:47:01] [Render thread/INFO]: Item Groups: [ Heads, Exploits, Containers ]
[11:47:01] [ForkJoinPool.commonPool-worker-1/INFO]: Loading translations...
[11:47:01] [ForkJoinPool.commonPool-worker-1/INFO]: Registering protocols...
[11:47:01] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[11:47:01] [ForkJoinPool.commonPool-worker-2/WARN]: [Iris Update Check] This version doesn't have an update index, skipping.
[11:47:01] [Render thread/INFO]: OpenGL Vendor: AMD
[11:47:01] [Render thread/INFO]: OpenGL Renderer: AMD Radeon R9 200 / HD 7900 Series (radeonsi, tahiti, ACO, DRM 3.63, 6.15.6-105.bazzite.fc42.x86_64)
[11:47:01] [Render thread/INFO]: OpenGL Version: 4.6 (Core Profile) Mesa 25.1.6
[11:47:02] [Render thread/INFO]: Debug functionality is disabled.
[11:47:02] [Render thread/INFO]: OpenGL 4.5 detected, enabling DSA.
[11:47:02] [Render thread/INFO]: Shaders are disabled because enableShaders is set to false in iris.properties
[11:47:02] [ForkJoinPool.commonPool-worker-1/INFO]: Started resource pack HTTP server on http://127.0.0.1:32949/
[11:47:02] [Render thread/INFO]: Hardware information:
[11:47:02] [Render thread/INFO]: CPU: 16x Intel(R) Xeon(R) CPU E5-1680 v2 @ 3.00GHz
[11:47:02] [Render thread/INFO]: GPU: AMD Radeon R9 200 / HD 7900 Series (radeonsi, tahiti, ACO, DRM 3.63, 6.15.6-105.bazzite.fc42.x86_64) (Supports OpenGL 4.6 (Core Profile) Mesa 25.1.6)
[11:47:02] [Render thread/INFO]: OS: Linux (6.15.6-105.bazzite.fc42.x86_64)
[11:47:02] [ForkJoinPool.commonPool-worker-1/INFO]: ViaVersion detected lowest supported version by the proxy: c0.0.15a-1 (0)
[11:47:02] [ForkJoinPool.commonPool-worker-1/INFO]: Highest supported version by the proxy: 1.21.5 (770)
[11:47:02] [ForkJoinPool.commonPool-worker-1/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[11:47:03] [Render thread/INFO]: Launching LiquidBounce v0.31.0 by CCBlueX
[11:47:03] [Render thread/INFO]: Client Version: 0.31.0 (git-7ca0c75)
[11:47:03] [Render thread/INFO]: Client Branch: nextgen
[11:47:03] [Render thread/INFO]: Operating System: Linux (6.15.6-105.bazzite.fc42.x86_64)
[11:47:03] [Render thread/INFO]: Java Version: 21.0.7
[11:47:03] [Render thread/INFO]: Screen Resolution: 854x480
[11:47:03] [Render thread/INFO]: Refresh Rate: 144 Hz
[11:47:03] [Render thread/INFO]: Successfully extracted default theme
[11:47:03] [Render thread/INFO]: Loaded background image for theme default
[11:47:03] [Render thread/INFO]: Reloading ResourceManager: vanilla, file/VanillaTweaks_r229762_MC1.21.x.zip, file/cubic-sun-moon-v1.8.1a.zip, fabric, com_viaversion_viaaprilfools-common, com_viaversion_viabackwards-common, com_viaversion_viaversion-common, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-language-kotlin, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-tag-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, iris, net_raphimc_viabedrock, net_raphimc_vialegacy, nochatreports, reeses-sodium-options, sodium, sodium-extra, viafabricplus, viafabricplus-visuals
[11:47:03] [Worker-Main-5/INFO]: Found unifont_all_no_pua-16.0.01.hex, loading
[11:47:03] [Worker-Main-15/INFO]: Found unifont_jp_patch-16.0.01.hex, loading
[11:47:04] [Via Async Scheduler 0/INFO]: Finished mapping loading, shutting down loader executor.
[11:47:05] [Render thread/INFO]: OpenAL initialized on device Built-in Audio Analog Stereo
[11:47:05] [Render thread/INFO]: Sound engine started
[11:47:05] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/blocks.png-atlas
[11:47:05] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/signs.png-atlas
[11:47:05] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/banner_patterns.png-atlas
[11:47:05] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/shield_patterns.png-atlas
[11:47:05] [Render thread/INFO]: Created: 2048x1024x0 minecraft:textures/atlas/armor_trims.png-atlas
[11:47:05] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/chest.png-atlas
[11:47:05] [Render thread/INFO]: Created: 128x64x0 minecraft:textures/atlas/decorated_pot.png-atlas
[11:47:05] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/shulker_boxes.png-atlas
[11:47:05] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/beds.png-atlas
[11:47:05] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[11:47:05] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[11:47:05] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[11:47:05] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[11:47:05] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[11:47:05] [Render thread/INFO]: Initial session saved: max100300 (58bb8a14-008d-389f-906a-35cba023fed0)
[11:47:05] [Render thread/INFO]: Probing environment...
[11:47:05] [Render thread/INFO]: Intermediary environment detected.
[11:47:06] [Render thread/INFO]: [ScriptAPI] Engine Version: Development Build, Supported languages: [ js ]
[11:47:06] [Render thread/INFO]: Loaded language en_us
[11:47:07] [Render thread/INFO]: Initializing API...
[11:47:07] [Render thread/INFO]: API Session Token: nZLVnL9UY3Qom9Jl
[11:47:07] [Render thread/INFO]: Using API URL from system property: https://api.liquidbounce.net
[11:47:07] [DefaultDispatcher-worker-5/INFO]: Successfully loaded Discord IPC configuration [443472046031110144].
[11:47:08] [DefaultDispatcher-worker-1/INFO]: Successfully loaded 956 heads from HeadDB
[11:47:08] [Render thread/INFO]: Default port 15000 available.
[11:47:08] [Render thread/INFO]: JCEF Commit: dcf6dd61b5c9c5e6723ffba28b562d208ee9b754
[11:47:08] [Render thread/INFO]: Operating system: LINUX
[11:47:08] [Render thread/INFO]: Architecture: amd64
[11:47:08] [Render thread/INFO]: OS version: 6.15.6-105.bazzite.fc42.x86_64
[11:47:08] [netty-websocket/INFO]: Starting Netty server...
[11:47:08] [epollEventLoopGroup-3-1/INFO]: [id: 0x0e35cb85] REGISTERED
[11:47:08] [epollEventLoopGroup-3-1/INFO]: [id: 0x0e35cb85] BIND: 0.0.0.0/0.0.0.0:15000
[11:47:08] [epollEventLoopGroup-3-1/INFO]: [id: 0x0e35cb85, L:/[0:0:0:0:0:0:0:0]:15000] ACTIVE
[11:47:08] [netty-websocket/INFO]: Netty server started on port 15000.
[11:47:11] [Render thread/INFO]: Checksum matches: true
[11:47:11] [Render thread/INFO]: Platform directory exists: true
[11:47:11] [Render thread/INFO]: Initializing browser...
[11:47:11] [Render thread/INFO]: Initializing CEF on linux_amd64...

end

Screenshots

Image

quacklingo avatar Jul 20 '25 15:07 quacklingo

Bug name was "Game launches and crashes because it cannot allocate memory"

quacklingo avatar Jul 20 '25 15:07 quacklingo

An UnsatisfiedLinkError means that the library it is trying to load from your system is not compatible. Unfortunately, I cannot help you with that.

Might be worth taking a look at:

  • https://forums.developer.nvidia.com/t/error-cannot-allocate-memory-in-static-tls-blocjetsonk/280430

Likely caused by the newer version of CEF that was updated with v0.31.0. It works just fine on EndeavourOS for me. Please update all your system libraries and check what library CEF tries to use.

1zun4 avatar Jul 20 '25 16:07 1zun4

Ah ok

quacklingo avatar Jul 20 '25 16:07 quacklingo

Worth note, i do have the library so i am gonna try to fix it

quacklingo avatar Jul 20 '25 16:07 quacklingo

Quick thing, i have saw a fix for this that came in my mail, but that is for fedora, will it work for arch? i will try

quacklingo avatar Aug 05 '25 17:08 quacklingo

Quick thing, i have saw a fix for this that came in my mail, but that is for fedora, will it work for arch? i will try

Yep, I deleted it since it didn't actually fix anything (I thought recompiling CEF would fix the issue, but the reason the issue was fixed is because I upgraded the CEF version, and I didn't specify that in my comment). Also, LiquidBounce works fine for me on Arch (on the same hardware), I only have that issue on Fedora

Anyways, here's updated instructions:

Workaround that involves recompiling JCEF with a more recent CEF version and running LiquidBounce with that build:

  1. Clone and setup depot_tools which provides python3 (the CMake configure fails with the Fedora-provided python3)
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
cd depot_tools
./update_depot_tools
cd ..
  1. Clone JCEF and build it with the latest build of CEF (this might not be the best way to do it since I'm manually patching a specific version of java-cef to work with CEF 138, but it does work)
git clone https://github.com/CCBlueX/java-cef
cd java-cef
git switch --detach dcf6dd6
git apply << 'EOF'
diff --git a/native/CefPostDataElement_N.cpp b/native/CefPostDataElement_N.cpp
index 63f4e69..414e7a5 100644
--- a/native/CefPostDataElement_N.cpp
+++ b/native/CefPostDataElement_N.cpp
@@ -99,7 +99,7 @@ Java_org_cef_network_CefPostDataElement_1N_N_1GetType(JNIEnv* env,
     JNI_CASE(env, "org/cef/network/CefPostDataElement$Type", PDE_TYPE_FILE,
              jtype);
     JNI_CASE(env, "org/cef/network/CefPostDataElement$Type",
-             PDF_TYPE_NUM_VALUES, jtype);
+             PDE_TYPE_NUM_VALUES, jtype);
   }
   return jtype;
 }
diff --git a/native/jni_util.cpp b/native/jni_util.cpp
index 0134be5..fb3d5de 100644
--- a/native/jni_util.cpp
+++ b/native/jni_util.cpp
@@ -518,8 +518,6 @@ jobject NewJNIErrorCode(JNIEnv* env, cef_errorcode_t errorCode) {
                ERR_CERT_VALIDITY_TOO_LONG, jerrorCode);
       JNI_CASE(env, "org/cef/handler/CefLoadHandler$ErrorCode",
                ERR_CERTIFICATE_TRANSPARENCY_REQUIRED, jerrorCode);
-      JNI_CASE(env, "org/cef/handler/CefLoadHandler$ErrorCode",
-               ERR_CERT_SYMANTEC_LEGACY, jerrorCode);
       JNI_CASE(env, "org/cef/handler/CefLoadHandler$ErrorCode",
                ERR_CERT_KNOWN_INTERCEPTION_BLOCKED, jerrorCode);
       JNI_CASE(env, "org/cef/handler/CefLoadHandler$ErrorCode", ERR_CERT_END,
EOF

cmake -B jcef_build -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=../depot_tools/python-bin/python3 -DCEF_VERSION=138.0.34+ga94b31b+chromium-138.0.7204.184
cmake --build jcef_build -j16
cd ..
  1. Run liquidlauncher with the PROVIDED_JCEF_PATH environment variable pointing to your build of JCEF
PROVIDED_JCEF_PATH=$(pwd)/java-cef/jcef_build/native/Release liquidlauncher
Image

NyanCatForEver avatar Aug 05 '25 18:08 NyanCatForEver