SquidDev-CC / CCTweaks

Random additions to ComputerCraft (somewhat deprecated, use CC-Tweaked if you're on Minecraft 1.12).
MIT License
12 stars 2 forks source link

Server crash #114

Closed inklit closed 7 years ago

inklit commented 7 years ago

This seems to be the last crash that I've seen in the logs since the previous crash in #108 was fixed.

I don't really know the cause of this one either, but hopefully it can be fixed.

---- Minecraft Crash Report ----

WARNING: coremods are present:
  TransformerLoader (OpenComputers-MC1.8.9-1.5.22.6.jar)
  SpongeCoremod (spongeforge-1.8.9-1890-4.2.0-BETA-1744.jar)
  TweaksLoadingPlugin (CCTweaks-1.8.9-1.0.1-patched-02.jar)
Contact their authors BEFORE contacting forge

// Hey, that tickles! Hehehe!

Time: 9/26/16 2:32 PM
Description: Watching Server

java.lang.Error
    at org.squiddev.cctweaks.core.network.controller.ControllerValidator.validate(ControllerValidator.java:67)
    at org.squiddev.cctweaks.core.network.controller.NetworkController.formConnection(NetworkController.java:187)
    at org.squiddev.cctweaks.core.network.cable.SingleModemCable.connect(SingleModemCable.java:20)
    at dan200.computercraft.shared.peripheral.modem.TileCable$3.run(TileCable_Patch.java:146)
    at org.squiddev.cctweaks.core.McEvents.onServerTick(McEvents.java:121)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_14_McEvents_onServerTick_ServerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:112)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:83)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:266)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:594)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
    at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
    at org.squiddev.cctweaks.core.network.controller.ControllerValidator.validate(ControllerValidator.java:67)
    at org.squiddev.cctweaks.core.network.controller.NetworkController.formConnection(NetworkController.java:187)
    at org.squiddev.cctweaks.core.network.cable.SingleModemCable.connect(SingleModemCable.java:20)
    at dan200.computercraft.shared.peripheral.modem.TileCable$3.run(TileCable_Patch.java:146)
    at org.squiddev.cctweaks.core.McEvents.onServerTick(McEvents.java:121)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_14_McEvents_onServerTick_ServerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:112)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:83)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:266)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:594)

-- Thread Dump --
//omitted

Stacktrace:
    at net.minecraft.server.dedicated.ServerHangWatchdog.run(ServerHangWatchdog.java:63)
    at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
    Minecraft Version: 1.8.9
    Operating System: Linux (amd64) version 2.6.32-46-pve
    Java Version: 1.8.0_91, Oracle Corporation
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1229227160 bytes (1172 MB) / 2386026496 bytes (2275 MB) up to 8563785728 bytes (8167 MB)
    JVM Flags: 4 total; -Xmx8192M -Xincgc -XX:ParallelGCThreads=3 -XX:MaxPermSize=128m
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.19 Powered by Forge 11.15.1.1902 22 mods loaded, 22 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA   FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1902-1.8.9-universal.jar) 
    UCHIJAAAA   Forge{11.15.1.1902} [Minecraft Forge] (forge-1.8.9-11.15.1.1902-1.8.9-universal.jar) 
    UCHIJAAAA   OpenComputers|Core{1.5.22.6} [OpenComputers (Core)] (minecraft.jar) 
    UCHIJAAAA   sponge{1.8.9-1890-4.2.0-BETA-1744} [SpongeForge] (spongeforge-1.8.9-1890-4.2.0-BETA-1744.jar) 
    UCHIJAAAA   <CCTweaks ASM>{1.0.1} [<CCTweaks ASM>] (minecraft.jar) 
    UCHIJAAAA   io.github.hsyyid.adminshop{1.8.1} [AdminShop] (AdminShop-1.8.9-1.8.1-universal.jar) 
    UCHIJAAAA   ComputerCraft{1.79} [ComputerCraft] (ComputerCraft1.79.jar) 
    UCHIJAAAA   CCTweaks{1.0.1} [CCTweaks] (CCTweaks-1.8.9-1.0.1-patched-02.jar) 
    UCHIJAAAA   chunkloaderz{1.0.3} [ChunkLoaderZ] (ChunkLoaderZ-1.8.9-1.0.3.jar) 
    UCHIJAAAA   Dynmap{2.3-15} [Dynmap] (Dynmap-2.3-forge-1.8.9.jar) 
    UCHIJAAAA   io.github.hsyyid.essentialcmds{@project.informativeVersion@} [EssentialCmds] (EssentialCmds-1.8.9-8.1.13-universal.jar) 
    UCHIJAAAA   griefprevention{2.0.0} [GriefPrevention] (griefprevention-1.8.9-2.0.0.70.jar) 
    UCHIJAAAA   IronChest{6.0.125.770} [Iron Chest] (ironchest-1.8.9-6.0.125.770.jar) 
    UCHIJAAAA   JEI{2.28.9.176} [Just Enough Items] (jei_1.8.9-2.28.9.176.jar) 
    UCHIJAAAA   io.github.hsyyid.kits{1.7.4} [Kits] (Kits-1.7.4.jar) 
    UCHIJAAAA   minimalperipherals{0.0} [MinimalPeripherals] (MinimalPeripherals-lite-1.8.9-1.1.jar) 
    UCHIJAAAA   MoreFurnaces{1.5.1} [More Furnaces] (MoreFurnaces-1.5.1-MC1.8.9.jar) 
    UCHIJAAAA   OpenComputers{1.5.22.6} [OpenComputers] (OpenComputers-MC1.8.9-1.5.22.6.jar) 
    UCHIJAAAA   ninja.leaping.permissionsex{2.0-SNAPSHOT} [PermissionsEx] (PermissionsEx-Sponge.jar) 
    UCHIJAAAA   totaleconomy{1.4.1} [Total Economy] (TotalEconomy-v1.4.1.jar) 
    UCHIJAAAA   worldedit{6.1.1} [WorldEdit] (worldedit-forge-mc1.8.9-6.1.1-dist.jar) 
    Loaded coremods (and transformers): 
TransformerLoader (OpenComputers-MC1.8.9-1.5.22.6.jar)
  li.cil.oc.common.asm.ClassTransformer
SpongeCoremod (spongeforge-1.8.9-1890-4.2.0-BETA-1744.jar)
  org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
TweaksLoadingPlugin (CCTweaks-1.8.9-1.0.1-patched-02.jar)
  org.squiddev.cctweaks.core.asm.ASMTransformer
    Profiler Position: N/A (disabled)
    Player Count: 4 / 50; [EntityPlayerMP['Lignum'/573, l='world', x=5366.24, y=67.00, z=2130.72], EntityPlayerMP['thecrimulo'/630, l='world', x=5925.30, y=78.00, z=2983.30], EntityPlayerMP['BTC'/895, l='world', x=6056.91, y=99.75, z=2685.99], EntityPlayerMP['086'/3790, l='world', x=5875.64, y=97.25, z=2837.29]]
    Is Modded: Definitely; Server brand changed to 'fml,forge,sponge'
    Type: Dedicated Server (map_server.txt)
SquidDev commented 7 years ago

Probably related to #111. Both have rather uninformative error messages (java.lang.Error) in nonsensical locations.

inklit commented 7 years ago

Possibly, they both appear about the same frequency in my logs.

SquidDev commented 7 years ago

Do you still have the thread dump? If so, could you post on pastebin? Thanks - this lets me check that they are blocking on the same point. I think I have an idea of the problem but want to check.

inklit commented 7 years ago

https://gist.github.com/inklit/98afa9917218c9d9b9daa0e28ccfa122 EDIT - Oops, this isnt the same one as the one posted above, but it is the same error.

https://gist.github.com/inklit/b85e414a1b5a2485a79dc921499f8ed6 Here is the same one as posted above.

SquidDev commented 7 years ago

Going to close as I think this is the same root cause as #111 and the controller validator is disabled now so this shouldn't occur anyway.