kraftwerk28 / spigot-tg-bridge

Connect Telegram chats and Minecraft servers seamlessly
https://www.spigotmc.org/resources/telegram-bridge.75175/
GNU General Public License v3.0
39 stars 14 forks source link

Plugin crashes Minecraft on docker-minecraft-server 2021.6.0 #15

Open jaywink opened 3 years ago

jaywink commented 3 years ago

I realize this is a bit specific, but the docker-minecraft-server is a popular way to run a Minecraft server, and updating to the latest release 2021.6.0 crashes seemingly due to Spigot TG Bridge (afaict).

Rolling back to the previous release is fine again.

Thanks for the great plugin :)

[22:55:21] [Server thread/INFO]: [SpigotTGBridge] Enabling SpigotTGBridge v0.0.14
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7840c1001c, pid=58, tid=85
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.10+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0xe801c]
[error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007f7840ba9980]

# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /data/core.58)
#
# Can not save log file, dump to screen..
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7840c1001c, pid=58, tid=85
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.10+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0xe801c]
[error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007f7840ba9980]

# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /data/core.58)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -XX:+UseG1GC -Xms2G -Xmx2G -DIReallyKnowWhatIAmDoingISwear spigot_server-1.16.5.jar nogui

Host: 
[error occurred during error reporting (printing summary machine and OS info), id 0xb, SIGSEGV (0xb) at pc=0x00007f7840ba9980]

Time: Wed Mar  3 20:55:21 2021 Europe elapsed time: 18.218821 seconds (0d 0h 0m 18s)

---------------  T H R E A D  ---------------

Current thread (0x00007f78394ef000):  JavaThread "Server thread" [_thread_in_native, id=85, stack(0x00007f77e1912000,0x00007f77e1a13000)]

Stack: [0x00007f77e1912000,0x00007f77e1a13000],  sp=0x00007f77e1a0f600,  free space=1013k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0xe801c]
[error occurred during error reporting (printing native stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f7840ba9980]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.net.Inet4AddressImpl.lookupAllHostAddr(Ljava/lang/String;)[Ljava/net/InetAddress;+0 java.base@11.0.10
j  java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Ljava/lang/String;)[Ljava/net/InetAddress;+4 java.base@11.0.10
j  java.net.InetAddress.getAddressesFromNameService(Ljava/lang/String;Ljava/net/InetAddress;)[Ljava/net/InetAddress;+8 java.base@11.0.10
j  java.net.InetAddress$NameServiceAddresses.get()[Ljava/net/InetAddress;+40 java.base@11.0.10
j  java.net.InetAddress.getAllByName0(Ljava/lang/String;Ljava/net/InetAddress;ZZ)[Ljava/net/InetAddress;+207 java.base@11.0.10
j  java.net.InetAddress.getAllByName(Ljava/lang/String;Ljava/net/InetAddress;)[Ljava/net/InetAddress;+391 java.base@11.0.10
j  java.net.InetAddress.getAllByName(Ljava/lang/String;)[Ljava/net/InetAddress;+2 java.base@11.0.10
j  okhttp3.Dns$1.lookup(Ljava/lang/String;)Ljava/util/List;+15
j  okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(Ljava/net/Proxy;)V+208
j  okhttp3.internal.connection.RouteSelector.nextProxy()Ljava/net/Proxy;+81
j  okhttp3.internal.connection.RouteSelector.next()Lokhttp3/Route;+36
j  okhttp3.internal.connection.StreamAllocation.findConnection(IIIZ)Lokhttp3/internal/connection/RealConnection;+145
j  okhttp3.internal.connection.StreamAllocation.findHealthyConnection(IIIZZ)Lokhttp3/internal/connection/RealConnection;+6
j  okhttp3.internal.connection.StreamAllocation.newStream(Lokhttp3/OkHttpClient;Z)Lokhttp3/internal/http/HttpCodec;+32
j  okhttp3.internal.connection.ConnectInterceptor.intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;+43
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;+208
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;)Lokhttp3/Response;+14
j  okhttp3.internal.cache.CacheInterceptor.intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;+192
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;+208
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;)Lokhttp3/Response;+14
j  okhttp3.internal.http.BridgeInterceptor.intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;+238
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;+208
j  okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;+83
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;+208
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;)Lokhttp3/Response;+14
j  okhttp3.logging.HttpLoggingInterceptor.intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;+21
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;+208
j  okhttp3.internal.http.RealInterceptorChain.proceed(Lokhttp3/Request;)Lokhttp3/Response;+14
j  okhttp3.RealCall.getResponseWithInterceptorChain()Lokhttp3/Response;+154
j  okhttp3.RealCall.execute()Lokhttp3/Response;+52
j  retrofit2.OkHttpCall.execute()Lretrofit2/Response;+116
j  com.github.kotlintelegrambot.network.UtilsKt.call(Lretrofit2/Call;)Lkotlin/Pair;+12
j  com.github.kotlintelegrambot.Bot.getUpdates(J)Ljava/util/List;+40
j  org.kraftwerk28.spigot_tg_bridge.TgBotKt.skipUpdates(Lcom/github/kotlintelegrambot/Bot;J)V+8
j  org.kraftwerk28.spigot_tg_bridge.TgBotKt.skipUpdates$default(Lcom/github/kotlintelegrambot/Bot;JILjava/lang/Object;)V+10
j  org.kraftwerk28.spigot_tg_bridge.TgBot.skipUpdates()V+17
j  org.kraftwerk28.spigot_tg_bridge.TgBot.start(Lorg/kraftwerk28/spigot_tg_bridge/Plugin;Lorg/kraftwerk28/spigot_tg_bridge/Configuration;)V+36
j  org.kraftwerk28.spigot_tg_bridge.TgBot.<init>(Lorg/kraftwerk28/spigot_tg_bridge/Plugin;Lorg/kraftwerk28/spigot_tg_bridge/Configuration;)V+35
j  org.kraftwerk28.spigot_tg_bridge.Plugin.onEnable()V+97
j  org.bukkit.plugin.java.JavaPlugin.setEnabled(Z)V+21
j  org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(Lorg/bukkit/plugin/Plugin;)V+132
j  org.bukkit.plugin.SimplePluginManager.enablePlugin(Lorg/bukkit/plugin/Plugin;)V+47
j  org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(Lorg/bukkit/plugin/Plugin;)V+124
j  org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(Lorg/bukkit/plugin/PluginLoadOrder;)V+72
j  net.minecraft.server.v1_16_R3.DedicatedServer.init()Z+615
j  net.minecraft.server.v1_16_R3.MinecraftServer.w()V+1
j  net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(Ljava/util/concurrent/atomic/AtomicReference;)V+7
j  net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3247.run()V+4
j  java.lang.Thread.run()V+11 java.base@11.0.10
v  ~StubRoutines::call_stub