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

Game random freezes during startup #12262

Closed
1 of 3 tasks
paulzzh opened this issue Jan 13, 2023 · 5 comments · Fixed by GTNewHorizons/MrTJPCore#3
Closed
1 of 3 tasks

Game random freezes during startup #12262

paulzzh opened this issue Jan 13, 2023 · 5 comments · Fixed by GTNewHorizons/MrTJPCore#3
Labels
Crash Status: Triage Issue awaiting triage. Remove once this issue is processed

Comments

@paulzzh
Copy link

paulzzh commented Jan 13, 2023

Your GTNH Discord Username

Paulzzh#9036

Your Pack Version

2.2.7

Your Server

SP

Type of Server

Single Player

Your Actions

Just start the game.

4~766ZOIVL3O(Y1{FJ%XYY2

Even if I disconnect the network, It still won't throw an exception and continue loading.
Please do not block the main thread when checking for updates.
Many mods check for updates at startup and waste time. Could you remove these codes?

Crash Report

[arthas@11588]$ thread 1 "Client thread" Id=1 RUNNABLE (in native) at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.security.ssl.SSLSocketInputRecord.read(Unknown Source) at sun.security.ssl.SSLSocketInputRecord.readFully(Unknown Source) at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source) at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source) at sun.security.ssl.SSLTransport.decode(Unknown Source) at sun.security.ssl.SSLSocketImpl.decode(Unknown Source) at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at mrtjp.core.data.UpdateChecker$class.downloadVersions(UpdateChecker.scala:38) at mrtjp.projectred.core.PRUpdateChecker.downloadVersions(PRUpdateChecker.scala:5) at mrtjp.core.data.UpdateChecker$class.$init$(UpdateChecker.scala:31) at mrtjp.projectred.core.PRUpdateChecker.(PRUpdateChecker.scala:5) at mrtjp.projectred.core.CoreProxy_client.postinit(proxies.scala:51) at mrtjp.projectred.ProjectRedCore$.postInit(ProjectRedCore.scala:54) at mrtjp.projectred.ProjectRedCore.postInit(ProjectRedCore.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:742) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:5093) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the crash still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this crash consistently by following the exact steps I described above.
  • I have asked other people and they confirm they also crash by following the exact steps I described above.
@paulzzh paulzzh added Status: Triage Issue awaiting triage. Remove once this issue is processed Crash labels Jan 13, 2023
@boubou19
Copy link
Member

this class really must go away, yet another issue with it

@Glease
Copy link
Contributor

Glease commented Jan 13, 2023

there is nonupdate. I use it and it works very well. someone apparently very much hate it though, to the point of using asm to actively break this mod.

@paulzzh
Copy link
Author

paulzzh commented Jan 13, 2023

there is nonupdate. I use it and it works very well. someone apparently very much hate it though, to the point of using asm to actively break this mod.

I also used this mod three years ago.But it has a whitelist and prevent opencomputer from accessing the network.I need to maintain this white list and add domains.

@Glease
Copy link
Contributor

Glease commented Jan 13, 2023

From a security standpoint it's a pretty good idea to have an outbound whitelist.. though it's indeed a bit of an inconvenience to server owner and coder.

@paulzzh
Copy link
Author

paulzzh commented Jan 17, 2023

I'm in trouble again.
image
This time I got the list of mods trying to connect to the network at startup. pastebin
Maybe they're checking for updates or downloading capes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Status: Triage Issue awaiting triage. Remove once this issue is processed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants