Jump to content
  • 0

Question

Posted

Title: Main Thread stops responding.

Version: 1_0_3

OS: Ubuntu 13.10

Java Version: Java 1.7

Description of Problem:

It shows up upon restarts, and makes the server unjoinable for about 5 minutes.

The tekkit version is 1.1.10.

Error Messages:

The main thread failed to respond after 10 seconds

Error Log:


2013-11-19 00:01:08 [WARNING] [server] The main thread failed to respond after 10 seconds

2013-11-19 00:01:08 [WARNING] [server] What follows is the stack trace of the main thread

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.world.World.func_72796_p(World.java:3024)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72796_p(WorldServer.java:198)

2013-11-19 00:01:08 [WARNING] [server]    at buildcraft.silicon.TileLaser.findTable(TileLaser.java:160)

2013-11-19 00:01:08 [WARNING] [server]    at buildcraft.silicon.TileLaser.func_70316_g(TileLaser.java:74)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.world.World.func_72939_s(World.java:2368)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:838)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614)

2013-11-19 00:01:08 [WARNING] [server]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

2013-11-19 00:01:19 [iNFO] Read timed out

2013-11-19 00:01:20 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-19 00:01:20 [WARNING] [server]    at net.minecraft.world.World.func_72939_s(World.java:2368)

2013-11-19 00:02:32 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-19 00:02:32 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

5 answers to this question

Recommended Posts

  • 0
Posted

the server just starts late, it takes about 5 minutes, sometimes 10, to start.

Oh. Well, buildcraft is the obvious suspect, seeing as it's the only mod I see mentioned in this log.

This line;

at buildcraft.silicon.TileLaser.findTable(TileLaser.java:160)

makes me guess that for some reason all of the lasers in your world are brute-force-style searching through your worlds for tables to connect to when you start. Are any of the lasers/laser tables doing anything funky?

If it would be okay to do so, you could try deleting them all either from within minecraft starts or with an external tool.

Does the rest of the log look exactly like this? If not, could you post more?

  • 0
Posted

I can't remove all the lasers in the world, players would definitely not be happy.

Don't pay attention to the internal server error, that doesn't usually happen.

Rest of the log:

2013-11-20 06:00:53 [iNFO] Registered command cofh with permission node cofh.command.CommandHandler

2013-11-20 06:00:53 [iNFO] Registered command ssinvite with permission node micdoodle8.mods.galacticraft.core.command.GCCoreCommandSpaceStationAddOwner

2013-11-20 06:00:53 [iNFO] Registered command ssuninvite with permission node micdoodle8.mods.galacticraft.core.command.GCCoreCommandSpaceStationRemoveOwner

2013-11-20 06:00:53 [iNFO] Registered command buildcraft with permission node buildcraft.core.CommandBuildCraft

2013-11-20 06:00:53 [iNFO] Registered command modflag with permission node universalelectricity.prefab.flag.CommandFlag

2013-11-20 06:00:53 [iNFO] Registered command chunkloaders with permission node codechicken.chunkloader.CommandChunkLoaders

2013-11-20 06:00:53 [iNFO] Registered command ccdebug with permission node codechicken.chunkloader.CommandDebugInfo

2013-11-20 06:00:53 [iNFO] Registered command ee3 with permission node com.pahimar.ee3.command.CommandEE

2013-11-20 06:00:53 [iNFO] Registered command logisticspipes with permission node logisticspipes.commands.LogisticsPipesCommand

2013-11-20 06:00:53 [iNFO] Registered command tpx with permission node com.xcompwiz.mystcraft.command.CommandTPX

2013-11-20 06:00:53 [iNFO] Registered command myst-create with permission node com.xcompwiz.mystcraft.command.CommandCreateDim

2013-11-20 06:00:53 [iNFO] Registered command myst-agebook with permission node com.xcompwiz.mystcraft.command.CommandCreateAgebook

2013-11-20 06:00:53 [iNFO] Registered command myst-toggleworldinstability with permission node com.xcompwiz.mystcraft.command.CommandToggleWorldInstability

2013-11-20 06:00:53 [iNFO] Registered command toggledownfall with permission node com.xcompwiz.mystcraft.command.CommandToggleDownfall

2013-11-20 06:00:53 [iNFO] Registered command time with permission node com.xcompwiz.mystcraft.command.CommandTime

2013-11-20 06:00:53 [iNFO] Registered command myst-permissions with permission node com.xcompwiz.mystcraft.command.CommandMystPermissions

2013-11-20 06:00:53 [iNFO] Registered command myst-regenchunk with permission node com.xcompwiz.mystcraft.command.CommandRegenerateChunk

2013-11-20 06:00:53 [iNFO] Registered command profile with permission node me.nallar.tickprofiler.minecraft.commands.ProfileCommand

2013-11-20 06:00:53 [iNFO] Registered command dump with permission node me.nallar.tickprofiler.minecraft.commands.DumpCommand

2013-11-20 06:00:53 [iNFO] Registered command tps with permission node mods.immibis.core.commands.TPSCommand

2013-11-20 06:00:53 [iNFO] Registered command dimanc with permission node mods.immibis.chunkloader.DimensionalAnchors$1

2013-11-20 06:00:53 [iNFO] Loading NEI

2013-11-20 06:00:53 [iNFO] [server] Remember to visit our Website : http://www.minervasrealm.com

2013-11-20 06:00:53 [WARNING] Wrong location for EntityItem['item.item.dyePowder.black'/299, l='Alpha', x=1665.50, y=72.25, z=16912.18] in world 'Alpha'!

2013-11-20 06:00:53 [WARNING] Entity is at 1665.4999999999998,16912.175000007264 (chunk 104,1057) but was stored in chunk 104,1056

2013-11-20 06:00:54 [WARNING] Wrong location for EntityItem['item.tile.mushroom'/464, l='Alpha', x=15736.06, y=9.13, z=-27680.04] in world 'Alpha'!

2013-11-20 06:00:54 [WARNING] Entity is at 15736.059913796122,-27680.04025454712 (chunk 983,-1731) but was stored in chunk 983,-1730

2013-11-20 06:00:54 [iNFO] [mcMMO] You are using an outdated version of mcMMO!

2013-11-20 06:00:54 [iNFO] [mcMMO] There is a new version available on BukkitDev.

2013-11-20 06:00:54 [WARNING] [Towny] Task #50 for Towny v0.84.0.0 generated an exception

java.lang.NullPointerException

    at net.minecraft.world.chunk.Chunk.func_76592_a(Chunk.java:734)

    at net.minecraft.world.World.func_72832_d(World.java:764)

    at org.bukkit.craftbukkit.v1_5_R3.block.CraftBlock.setTypeIdAndData(CraftBlock.java:126)

    at com.palmergames.bukkit.towny.regen.PlotBlockData.restoreNextBlock(Unknown Source)

    at com.palmergames.bukkit.towny.tasks.RepeatingTimerTask.run(Unknown Source)

    at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)

    at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)

    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:777)

    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614)

    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

2013-11-20 06:00:54 [iNFO] [TownyChat] -******* TownyChat enabled *******-

2013-11-20 06:01:04 [WARNING] Wrong location for EntityItem['item.tile.stonebrick'/3089, l='Alpha', x=-1687.50, y=80.25, z=21007.80] in world 'Alpha'!

2013-11-20 06:01:04 [WARNING] Entity is at -1687.5,21007.79999998212 (chunk -106,1312) but was stored in chunk -106,1313

2013-11-20 06:01:12 [WARNING] [server] The main thread failed to respond after 10 seconds

2013-11-20 06:01:12 [WARNING] [server] What follows is the stack trace of the main thread

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72796_p(WorldServer.java:199)

2013-11-20 06:01:12 [WARNING] [server]    at buildcraft.silicon.TileLaser.findTable(TileLaser.java:160)

2013-11-20 06:01:12 [WARNING] [server]    at buildcraft.silicon.TileLaser.func_70316_g(TileLaser.java:74)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.world.World.func_72939_s(World.java:2368)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:838)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614)

2013-11-20 06:01:12 [WARNING] [server]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

2013-11-20 06:01:23 [iNFO] Read timed out

2013-11-20 06:01:24 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-20 06:01:24 [WARNING] [server]    at net.minecraft.world.World.func_72939_s(World.java:2368)

2013-11-20 06:02:39 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-20 06:02:39 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

2013-11-20 06:02:43 [iNFO] /127.0.0.1:41493 lost connection

2013-11-20 06:02:43 [iNFO] /79.143.116.5:55010 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:50985 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:50999 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:51017 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:51028 lost connection

2013-11-20 06:02:43 [iNFO] /173.85.6.240:61976 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:51062 lost connection

2013-11-20 06:02:43 [iNFO] /173.85.6.240:60089 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:51077 lost connection

2013-11-20 06:02:43 [iNFO] /67.234.134.199:55507 lost connection

2013-11-20 06:02:43 [iNFO] /79.143.116.5:55043 lost connection

2013-11-20 06:02:43 [iNFO] /67.234.134.199:55509 lost connection

2013-11-20 06:02:43 [iNFO] /86.46.183.54:51085 lost connection

2013-11-20 06:02:45 [iNFO] [FakePlayer] Initializing fake player for buildcraft/core/proxy/CoreProxy$1: [[buildCraft]]

2013-11-20 06:03:06 [iNFO] Royalogic[/173.85.6.240:60563] logged in with entity id 4524 at ([Alpha] -19314.633725575954, 83.0, 22799.468568974058)

2013-11-20 06:03:06 [iNFO] Welcome Back, Royalogic!

2013-11-20 06:03:06 [iNFO] Loading Player: Royalogic

2013-11-20 06:03:06 [iNFO] Sending serverside check to: Royalogic

2013-11-20 06:03:14 [iNFO] /86.46.183.54:51102 lost connection

2013-11-20 06:03:24 [iNFO] /86.46.183.54:51114 lost connection

2013-11-20 06:03:24 [iNFO] /86.46.183.54:51124 lost connection

2013-11-20 06:03:34 [iNFO] /86.46.183.54:51137 lost connection

2013-11-20 06:03:41 [iNFO] [WorldEdit] Using inbuilt NmsBlock for this version.

2013-11-20 06:03:51 [iNFO] Disconnecting Riccardo_Fagiolo [/79.143.116.5:55086]: Internal server error

2013-11-20 06:03:51 [WARNING] Failed to handle packet for Riccardo_Fagiolo [/79.143.116.5:55086]: java.lang.NullPointerException

java.lang.NullPointerException

    at net.minecraft.server.management.ServerConfigurationManager.attemptLogin(ServerConfigurationManager.java:436)

    at net.minecraft.network.NetLoginHandler.completeConnection(NetLoginHandler.java:205)

    at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:167)

    at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:120)

    at net.minecraft.network.NetLoginHandler.func_72529_d(NetLoginHandler.java:194)

    at net.minecraft.network.NetLoginHandler.func_72532_c(NetLoginHandler.java:81)

    at net.minecraft.server.ServerListenThread.func_71766_a(ServerListenThread.java:57)

    at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:29)

    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:865)

    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614)

    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

2013-11-20 06:04:09 [WARNING] [server] The main thread failed to respond after 10 seconds

2013-11-20 06:04:09 [WARNING] [server] What follows is the stack trace of the main thread

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72796_p(WorldServer.java:198)

2013-11-20 06:04:09 [WARNING] [server]    at appeng.api.TileRef.getTile(TileRef.java:32)

2013-11-20 06:04:09 [WARNING] [server]    at appeng.me.crafting.AssemblerCluster.destroy(AssemblerCluster.java:88)

2013-11-20 06:04:09 [WARNING] [server]    at appeng.me.tile.TileAssemblerMB.terminate(TileAssemblerMB.java:71)

2013-11-20 06:04:09 [WARNING] [server]    at appeng.common.base.AppEngTile.onChunkUnload(AppEngTile.java:376)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.world.World.func_72939_s(World.java:2413)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:838)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614)

2013-11-20 06:04:09 [WARNING] [server]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

2013-11-20 06:04:21 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-20 06:04:21 [WARNING] [server]    at appeng.me.tile.TileAssemblerMB.terminate(TileAssemblerMB.java:71)

2013-11-20 06:04:32 [iNFO] Riccardo_Fagiolo [/79.143.116.5:55119] lost connection

2013-11-20 06:04:32 [iNFO] /86.46.183.54:51147 lost connection

2013-11-20 06:04:32 [iNFO] /128.136.128.5:17746 lost connection

2013-11-20 06:04:32 [iNFO] /79.143.116.5:55128 lost connection

2013-11-20 06:04:32 [iNFO] /78.156.102.20:19542 lost connection

2013-11-20 06:04:32 [iNFO] /173.85.6.240:61698 lost connection

2013-11-20 06:04:32 [iNFO] /37.49.117.19:56533 lost connection

2013-11-20 06:04:32 [iNFO] Royalogic lost connection: disconnect.endOfStream

2013-11-20 06:04:32 [iNFO] §§[§§Builder§§]§§ Royalogic Has Left The Server.

2013-11-20 06:04:33 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-20 06:04:33 [WARNING] [server]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

2013-11-20 06:04:33 [iNFO] Unloading Player: Royalogic

2013-11-20 06:04:37 [iNFO] [AsyncWorldedit] World edit session not set to AsyncWorldedit. Fixing.

2013-11-20 06:04:37 [iNFO] Accepted EditSessionFactory of type org.primesoft.asyncworldedit.worldedit.AsyncEditSessionFactory from org.primesoft.asyncworldedit.worldedit

2013-11-20 06:04:53 [WARNING] [server] The main thread failed to respond after 10 seconds

2013-11-20 06:04:53 [WARNING] [server] What follows is the stack trace of the main thread

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72796_p(WorldServer.java:198)

2013-11-20 06:04:53 [WARNING] [server]    at appeng.api.TileRef.getTile(TileRef.java:32)

2013-11-20 06:04:53 [WARNING] [server]    at appeng.me.crafting.AssemblerCluster.destroy(AssemblerCluster.java:89)

2013-11-20 06:04:53 [WARNING] [server]    at appeng.me.tile.TileAssemblerMB.terminate(TileAssemblerMB.java:71)

2013-11-20 06:04:53 [WARNING] [server]    at appeng.common.base.AppEngTile.onChunkUnload(AppEngTile.java:376)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.world.World.func_72939_s(World.java:2413)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:838)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:732)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:614)

2013-11-20 06:04:53 [WARNING] [server]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

2013-11-20 06:05:05 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-20 06:05:05 [WARNING] [server]    at appeng.me.tile.TileAssemblerMB.terminate(TileAssemblerMB.java:71)

2013-11-20 06:05:33 [WARNING] [server] The main thread is still stuck, current loop line is:

2013-11-20 06:05:33 [WARNING] [server]    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:806)

2013-11-20 06:05:38 [iNFO] Lagnalok [/37.49.117.19:56535] lost connection

2013-11-20 06:05:38 [iNFO] /79.143.116.5:55178 lost connection

2013-11-20 06:05:38 [iNFO] /79.143.116.5:55187 lost connection

2013-11-20 06:05:38 [iNFO] /173.85.6.240:60035 lost connection

2013-11-20 06:05:38 [iNFO] /173.85.6.240:60097 lost connection

2013-11-20 06:05:38 [iNFO] /37.49.117.19:56538 lost connection

2013-11-20 06:05:38 [iNFO] /173.85.6.240:60231 lost connection

2013-11-20 06:05:38 [iNFO] /37.49.117.19:56539 lost connection

2013-11-20 06:05:49 [iNFO] /78.156.102.20:19999 lost connection

2013-11-20 06:05:54 [iNFO] /78.156.102.20:20044 lost connection

  • 0
Posted

Don't pay attention to the internal server error, that doesn't usually happen.

That... Should mean we should pay attention. It doesn't usually happen, and now things are breaking XD.

Anyhow, TheByteMaster is right about it dying trying to find table connections. But not because its brute forcing, I think. The log says its creating the buildcraft fake player, AFTER the entire thing dies... For lack of a better way to say it, the server is running its startup arse backwards. The only other error is towny failing, and I'm not sure if the two are connected.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...