GTNewHorizons / GT-New-Horizons-Modpack

New Modpack with Gregtech, Thaumcraft and Witchery
https://www.gtnewhorizons.com/
Other
949 stars 296 forks source link

Crash on entering server or infinite loading on 83%/PC freeze #14665

Open alex-schlecht opened 11 months ago

alex-schlecht commented 11 months ago

Your GTNH Discord Username

coldnesspwn

Your Pack Version

2.4.0

Your Server

private server

Java Version

Java 8

Type of Server

None

Your Actions

Trying to load game or enter server When loading freeze at 83%, it says starting sound engine hs_err_pid3100.log

Crash Report

fml-client-latest.log

Final Checklist

alex-schlecht commented 11 months ago

OS win11, ApplicationFrameHost_NmoCdm5IqK

alex-schlecht commented 11 months ago

How "freeze loading" part looks like in console `[11:45:48] [Client thread/INFO] [STDOUT]: [pcl.opensecurity.client.sounds.AlarmResource:generateSoundsJSON:81]: {"StargateAtlantisTheme":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\StargateAtlantisTheme","stream":false}]},"klaxon2":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\klaxon2","stream":false}]},"alarm-SGA":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\alarm-SGA","stream":false}]},"alarm-SG1evac":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\alarm-SG1evac","stream":false}]},"klaxon1":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\klaxon1","stream":false}]},"alarm-SGAoffworld":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\alarm-SGAoffworld","stream":false}]},"alarm-SG1":{"category":"master","sounds":[{"name":"\mods\OpenSecurity\sounds\alarms\alarm-SG1","stream":false}]}} [11:45:48] [Client thread/INFO] [betterloadingscreen]: BLS Splash loading thread closing java.lang.Throwable at alexiil.mods.load.MinecraftDisplayer.close(MinecraftDisplayer.java:1509) [MinecraftDisplayer.class:?] at alexiil.mods.load.MinecraftDisplayerWrapper.close(MinecraftDisplayerWrapper.java:35) [MinecraftDisplayerWrapper.class:?] at alexiil.mods.load.ProgressDisplayer.close(ProgressDisplayer.java:225) [ProgressDisplayer.class:?] at cpw.mods.fml.client.SplashProgress.finish(SplashProgress.java) [SplashProgress.class:?] at net.minecraft.client.Minecraft.displayInitErrorScreen(Minecraft.java:5248) [bao.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:5099) [bao.class:?] at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_381] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_381] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_381] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_381] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_381] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_381] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_381] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_381] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] [11:45:48] [Client thread/INFO] [betterloadingscreen]: Turned Forge splash screen on in splash.properties [11:46:27] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: ERROR MESSAGE: [11:46:27] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem did not load after 30 seconds.

[11:46:27] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [11:46:28] [Thread-27/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Switching to No Sound

[11:46:28] [Sound Library Loader/INFO]: Sound engine started`

chochem commented 11 months ago

there is a problem with your jvm.dll. So you probably want to reinstall java or try a different one. (of course it could also be a RAM issue, but lets hope not)

alex-schlecht commented 11 months ago

there is a problem with your jvm.dll. So you probably want to reinstall java or try a different one. (of course it could also be a RAM issue, but lets hope not)

well, ive tryed multiple java versions

ilia-21 commented 9 months ago

I have the same problem. Tried several versions of java, same result. Yesterday it was loading fine, I'll try reinstalling and update the comment if that fixes it Update: After I reinstalled I copied config and options.txt into the new folder and it still hung at 83%. However after a clean reinstall again I was able to get into the game. The problem could be in the configs or settings, investigating further Update2: The problem was in the config folder, replacing it with the folder from the clean installation solved the problem

Kiefy commented 2 months ago

I'm having this exact issue now in 2024. Like others, tried multiple JVM's from 8 to 22.

Sound worked the first time I ran the game, then never again.

boubou19 commented 2 months ago

check your audio card drivers, sometimes it's just this.

Kiefy commented 2 months ago

I notice the sound works in vanilla, just not GTNH.

Repairing config from a zip package worked once.

In my case, it has never crashed. It always freezes at 83% when initialising sound. CPU usage drops to 0%.

[Default Sound Device Checker/ERROR] [ArchaicFix]: An exception occured while checking sound device status java.lang.UnsatisfiedLinkError: org.lwjgl.openal.ALC10.nalcIsExtensionPresent(JJ)Z at org.lwjgl.openal.ALC10.nalcIsExtensionPresent(Native Method) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.lwjgl.openal.ALC10.alcIsExtensionPresent(ALC10.java:399) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.embeddedt.archaicfix.helpers.SoundDeviceThread.isDisconnected(SoundDeviceThread.java:29) ~[SoundDeviceThread.class:?] at org.embeddedt.archaicfix.helpers.SoundDeviceThread.run(SoundDeviceThread.java:47) [SoundDeviceThread.class:?]

I did try disabling ArchaicFix, and installing OpenAL, but it made no difference.

This may be pertinent: [Thread-25/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.IllegalStateException: Only one OpenAL context may be instantiated at any one time.

Kiefy commented 2 months ago

I think I discovered that this freeze is an odd side effect of disabling Ender Zoo.