adoptium / adoptium-support

For end-user problems reported with our binary distributions
Apache License 2.0
46 stars 15 forks source link

Game Crashes #984

Closed KiyoMarks closed 10 months ago

KiyoMarks commented 10 months ago

Please provide a brief summary of the bug

I was creating a Fabric server, with a few mods like Origin and Ect. But when i try to start the server, it crashes. I look at the Log but it doesn't show anything that helpful as what is wrong.

Did you test with the latest update version?

No, the mods I am using are for 1.20.2.

Please provide steps to reproduce where possible

No response

Expected Results

The server to start working like normal, as I've done this before and it worked fine.

Actual Results

The server crashes every time I try to start the server.

What Java Version are you using?

1.20.2

What is your operating system and platform?

No response

How did you install Java?

I've had It on my launcher but am using the cursedforge java minecraft to play with the mods.

Did it work before?

Yes

Did you test with other Java versions?

Not really

Relevant log output

[INFO] [io.dogboy.serializationisbad.core.SerializationIsBad]: Initializing SerializationIsBad, implementation type: agent
I> Using policy access restrictor file:/other/jolokia/policy.xml
Jolokia: Agent started with URL http://172.20.0.40:9899/jolokia/
[ERROR] [io.dogboy.serializationisbad.core.SerializationIsBad]: Failed to load remote config file
java.net.UnknownHostException: raw.githubusercontent.com
    at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572)
    at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
    at java.base/java.net.Socket.connect(Socket.java:633)
    at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
    at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
    at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)
    at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)
    at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
    at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
    at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
    at io.dogboy.serializationisbad.core.SerializationIsBad.readRemoteConfig(SerializationIsBad.java:134)
    at io.dogboy.serializationisbad.core.SerializationIsBad.readConfig(SerializationIsBad.java:112)
    at io.dogboy.serializationisbad.core.SerializationIsBad.<init>(SerializationIsBad.java:63)
    at io.dogboy.serializationisbad.core.SerializationIsBad.init(SerializationIsBad.java:45)
    at io.dogboy.serializationisbad.agent.SerializationIsBadAgent.premain(SerializationIsBadAgent.java:16)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
    at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)
[INFO] [io.dogboy.serializationisbad.core.SerializationIsBad]: Using local config file as a fallback
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
    at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)
Caused by: java.lang.RuntimeException: You are currently using SerializationIsBad without any patch modules configured. The mod on its own doesn't do anything so please install a config file patching the vulnerabilities
    at io.dogboy.serializationisbad.core.SerializationIsBad.<init>(SerializationIsBad.java:65)
    at io.dogboy.serializationisbad.core.SerializationIsBad.init(SerializationIsBad.java:45)
    at io.dogboy.serializationisbad.agent.SerializationIsBadAgent.premain(SerializationIsBadAgent.java:16)
    ... 6 more
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message Outstanding error when calling method in invokeJavaAgentMainMethod at src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 619
*** java.lang.instrument ASSERTION FAILED ***: "success" with message invokeJavaAgentMainMethod failed at src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 459
*** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x8b14ee]  jni_FatalError+0xbe
V  [libjvm.so+0xa2d932]  JvmtiExport::post_vm_initialized()+0x132
V  [libjvm.so+0xe64c4c]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x95c
V  [libjvm.so+0x8bfab2]  JNI_CreateJavaVM+0x52
C  [libjli.so+0x9c6f]  JavaMain+0x8f
C  [libjli.so+0xdf69]  ThreadJavaMain+0x9
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4caa820898, pid=1, tid=7
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.9+9 (17.0.9+9) (build 17.0.9+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (17.0.9+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x28898]  abort+0x178
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /server/core.1)
#
# An error report file with more information is saved as:
# /server/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#
github-actions[bot] commented 10 months ago

Thank you for the report! It looks like you are reporting that the game Minecraft crashed for you. Please try the following:

If none of the above helped, and you are still experiencing the crash with the official launcher and without any mods installed, please submit this issue over at the Mojang bug tracker. Please search for existing reports first; in case you do not find any, create a new report and let us know about the issue number here (e.g. MC-123456). The Mojang team will take the first look. If an OpenJDK bug is identified, the Mojang team will contact our team to address the issue.